This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session bean" Watch "Session bean" New topic

Session bean

Suri Babs
Ranch Hand

Joined: Mar 27, 2003
Posts: 50
i have never tried this. Before trying i would like to know
Can i extend my session bean class from Oridinary java class and work with it.
would like to have reasons in either case

thanks in advance.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Sure... as long as it implements the SessionBean interface you are free to extend whatever class you wish.
It is sorta covered in the JavaRanch Style Guide.
subject: Session bean
Similar Threads
Subclassing rules for Session beans
inner class
statefull session bean
Session Bean
JSF backingbean value is null always.