Total members 9950 | Gratitudes |It is currently Sat Feb 11, 2012 2:18 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 2 posts ] 
Author Question
 Question subject: EJB session bean
PostPosted: Sat Dec 05, 2009 9:48 am 
Offline
Newbie
User avatar

Joined: Thu Oct 08, 2009 10:44 am
Posts: 1
Location: student
Has thanked: 0 time
Have thanks: 0 time

how do you modify the session bean to change from a stateless bean to a stateful bean


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: EJB session bean
PostPosted: Sat Dec 05, 2009 8:00 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2103
Location: Earth
Has thanked: 39 time
Have thanks: 56 time
using the annotations above the class deceleration :
use
Code:
@Stateful


instead of :

Code:
@Stateless

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 2 posts ] 
Quick reply


  


 Similar topics
 Topic title   Forum   Author   Comments 
 how to write code message to user before session will expire  ASP.NET  Gordanak  4
 i need code for identifying web user session  ASP.NET  PERRYS  0
 PHP session variables problem in Firefox  PHP  gilbertsavier  0
 PHP session variables problem in Firefox  PHP  gilbertsavier  0
 php login with session  PHP  shahzai  1

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 4 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team