File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session bean without EJB environment

 
jacob deiter
Ranch Hand
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to make(implement the idea ) stateful session bean and stateless session bean without EJB environment ,using POJO only.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't run EJBs without a container. You can get simmilar behaviour with a framework such as Spring.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jacob - If you know about object pooling strategies and understand the details of how to create a Java-based application server, it would be possible to create a server application that will emulate the operations and functions of an Enterprise JavaBean environment. Once this framework has been created, you can then implement whatever you want as a POJO.
 
Kumar Subramanian
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jacob - Not sure about your expectations of creating the idea of SFSB and SLSB without EJBs - I wonder why to re-invent a wheel from scratch

If you should not use an EJB Container, you can think of a framework like Spring framework (again you have to use its interfaces to hook into its container services). But I am still wondering with your question
[ October 15, 2008: Message edited by: Kumar Subramanian ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic