This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Help me deploy my 1st EJB  RSS feed

 
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm busy reading EJB in Action 3.I followed the online instructions at manning.com/panda.I have install glassfish/java EE5 and have set my J2EE_HOME and JAVA_HOME enviromental variables.I also set the admin password in common.xml.I have used the asadmin command to start and stop the server.Now I got to the first example in the book but I dont know where to deploy the beans...I'm guessing it's somewhere in SUN/SDK/.Also when the classes are compiled,will I need to specify any specific files to include on the classpath??
 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that you have build the EJB JAR. You can use

Or you can use the Admin Console and deploy it from there.
 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh I didn't know they need to go in JAR.Maybe I'll download some tutorials...How are you finding Linux+???
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quite OK so far. Most of the stuff is pretty basic especially for a regular Linux user. The hardware portion is a bit too much to learn, though.
 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So can I create the ejb-jar using the regular jar -cf syntax?Also where do I deploy the jar to?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!