aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB3.0 without app server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB3.0 without app server" Watch "EJB3.0 without app server" New topic
Author

EJB3.0 without app server

Elihu Smails
Ranch Hand

Joined: Jan 12, 2005
Posts: 37
I want to develop an application that is a stand-alone system with a back end database. Can I still use EJB3.0 since I don't need something like JBoss or Sun AppServer?

Thanks
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

Elihu,
No. By definition, EJB is a part of J2EE. J2EE is a standard for applications that run on an app server. It provides services like security.

If you are writing a stand alone application, EJB 3.0 wouldn't work. What in EJB 3.0 are you trying to leverage. Comparable projects are out there for most if not all of the things EJB 3.0 provides. For example, you could use Spring or Hibernate for the database access.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Raghu Kodali
author
Greenhorn

Joined: Oct 05, 2006
Posts: 18
Elihu,
If you are just going to use the persistence part (Java Persistence API - JPA )of the EJB 3.0 specification, then you will be able tor run the JPA entities outside container as well.

The application can be run in a Java SE environment.

Raghu
Beginning EJB 3 Application Development
 
 
subject: EJB3.0 without app server