Forums Register Login

EJB Help

+Pie Number of slices to send: Send
Hi Friends,

I tried to run an ejb project... and followed the steps in the below blog
http://javaeenotes.blogspot.ca/2010/04/developing-ejb-30-in-eclipse.html

In the above link, it says you can export the project as .jar and deploy in autodeploy folder of Glassfish.
1) I started Glassfish and was not able to find autodeploy folder.
2) By putting in that folder, what actually happens...I mean what is the use of writing this application and exporting and putting into this folder....
After this, what do I need to do. Could you please help me with this?

Thank you
+Pie Number of slices to send: Send
 

pavithra murthy wrote:
In the above link, it says you can export the project as .jar and deploy in autodeploy folder of Glassfish.
1) I started Glassfish and was not able to find autodeploy folder.



If you have downloaded and installed Glassfish (let's say version 3.1.2.2) you will find the autodeploy directory in:

glassfish-3.1.2.2\glassfish3\glassfish\domains\domain1\autodeploy



pavithra murthy wrote:
2) By putting in that folder, what actually happens...I mean what is the use of writing this application and exporting and putting into this folder....
After this, what do I need to do. Could you please help me with this?
Thank you


You are deploying the EJB into the server so that you can use it by the remote client that is given in the optional step 9.
Note that you have to start the Glassfish server (glassfish-3.1.2.2\glassfish3\glassfish\bin\startserv.bat) in order for it to work

Regards,
Frits
Cob is sand, clay and sometimes straw. This tiny ad is made of cob:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 811 times.
Similar Threads
Why is eclipse deploying me ejb with my web project?
Using Glassfish instead of Axis2 in Eclipse
Unable to Access Stateles Session bean from Client
Help With Rest EJB
Missing remote Install from tomcat manager in unix
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:01:11.