yes... the general motivation for an entity bean is "Not frequently modified but frequently accessed " Objects/Data. But if you don't have any other entity beans ..don't go for an entity beans just for this...coz that will impact your scalability and what not... Stateless session bean is a good alternative. but you will have to carry the validation/validated info(like a backend generated GUID or any unique ID) back and forth. r vahees -----Original Message----- From: Matthew Hixson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, September 25, 2001 6:17 AM Subject: representing login info with entity beans? >I am working on a project where we need to repeatedly authenticate access >to a session bean method. Due to some technical restrictions we can't use >cookies to authenticate a session. Some piece of client software may need >to access the same session bean method a hundred times in a row, but we >have no way of knowing (from the server side) whether or not those >requests are coming from the same client. There also may be many clients >accessing the same method at the same time. > Username and password information is stored in a database. Would it >significantly increase performance to represent the username/password >information with an entity bean so that the container can cache that >information instead of making a trip to the db each time? > Anyone else out there had to solve a similar problem? > -M@ > >-- >Matt Hixson >Aventail Corporation >Seattle, Washington >www.aventail.com > >=========================================================================== >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff EJB-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". > > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: representing login info with entity beans?
Nirvana(on behalf of vaheesan Selvarajah) Mon, 24 Sep 2001 21:09:02 -0700
- representing login info with ent... Matthew Hixson
- Re: representing login info... Senthoorkumaran
- Re: representing login info... Nirvana(on behalf of vaheesan Selvarajah)
- Re: representing login info... Matthew Hixson
- Re: representing login info... Evan Ireland
- Re: representing login ... Matthew Hixson
- Re: representing login info... Kenneth D. Litwak
- Re: representing login info... Matthew Hixson
- Re: representing login ... Senthoorkumaran
- Re: representing login info... Santhosh Subramani
- Re: representing login info... Matthew Hixson
