How can EJB run a standalong JAVA progrqam?

I have a session EJB. Can I use the EJB to run a standalong JAVA program? How? Can anyone give me an example?ThanksKenny
[142 byte] By [sungana] at [2007-9-28 17:05:20]
# 1
Why would ya want to do that?
DanHinojosaa at 2007-7-12 14:27:30 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

Ans :

If i am not mistaken you want to invoke a EJB from a stand alone application

client can invoke EJB in 2 ways

1.Use RMI over IIOP for calling a EJB

2.or use EJB component interface to do that

use the 1 st one for u r problem

Srihari

Q:)

I have a session EJB. Can I use the EJB to run a standalong JAVA program? How? Can anyone give me an example?

Thanks

DEVINENIa at 2007-7-12 14:27:30 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
i used this on sun's j2ee RI. in sun RI, when you will go to deploy your ejbs with the help of deploytool, checked the checkbox "return client.jar file" and go through wizard.hope this will help youvivek s potdar
vivek_potdara at 2007-7-12 14:27:30 > top of Java-index,Other Topics,Patterns & OO Design...