• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB Help

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic