Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Help

 
pavithra murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2384
92
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic