This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

How to make a ejb-jar file?  RSS feed

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a newbie of EJB.
I am now reading a book called Mastering EJB. I am following the example in the chapter 3 of the book to generate a ejb-jar file.
I have created all the java files and a deployment descriptor, and put all of them in a folder. In the book, it says that "if you're using a development environment supporting EJB, the development environment may contain an automated way to generate the Ejb-jar file for you" by the command "jar cf HelloWorld.jar *". However, after I have run this command, only the HelloWorld.jar is created. How can I set my computer to be an environment supporting EJB? Thanks!
PS: I have set JBoss in my computer successfully and my platform is Windows ME.
Stephen
 
Bartender
Posts: 20099
101
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once you've created the EJB jar, you have to give a copy of it to JBoss. You'll have to read the JBoss manual to get the details - I don't remember them.
And, of course, you write a client app to test the EJB.
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I studied EJB basics I found Sun's J2EE Tutorial very usefull.
Don't know anything about JBoss, deployed everything with the (in the j2sdkee included) deploytool...
Erik Dark
 
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
put your jar file under the "deploy" directory within the jboss,it will deploy your ejb automatically!
 
What are your superhero powers? Go ahead and try them on this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!