• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

EJB version and first program

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to EJB. While going through some post i've seen versions of EJB mentioned. How do i know what version I'll be using. Rather which one to use and how?

Also please help me type a simple starter program.

Thanks
 
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think your query is very generic without a specific answer. The current EJB version is 3.0.
I guess you may like to go briefly through the basic EJB tutorial for the basic groundwork.

EJB is a framework like servlets which is managed by an application server. As with any framework, it has its syntax, life cycle and terminology. But in very rudimentary terms, this framework is for writing the business logic of your enterprise application along with its database persistence mechanisms.
 
author & internet detective
Posts: 42027
916
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anah,
Welcome to CodeRanch!

What server are you planning to deploy to? This may limit your choice of EJB. All current servers support EJB 3.0.
 
Jeanne Boyarsky
author & internet detective
Posts: 42027
916
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anah Dordi wrote: Also please help me type a simple starter program.


What book or tutorial are you using? EJB isn't like Java where you compile and run at the command line.
 
Anah Dordi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks everybody for your replies. I am using Apache Tomcat 5.5 and NetBeans IDE 6.8 I've got some Sun microsystem books for EJB.
 
Jeanne Boyarsky
author & internet detective
Posts: 42027
916
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Note that Tomcat doesn't support EJB out of the box. You'll need the Open EJB plugin or the like.
 
Anah Dordi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok how about GlassFish?
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic