• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

EJB3.0 without app server

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author & internet detective
Posts: 39348
755
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
author
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!