Hi all,

I'm looking for some sample code showing a servlet accessing a SessionBean accessing 
an EntiyBean(s) that contains a jpg or a bmp.

>From what I can tell, one shouldn't directly access entity beans in a servlet. So, 
>should there be a getter and setter in the session bean that accesses the EntiyBean's 
>properties?

Also, where I'll be allowing the user to upload multiple jpg's or bmp's, should there 
be any considerations to how these pics are accessed? I.e, if during a session the 
user would like to see the next page of photos that the user previously uploaded, how 
should the context be stored - client side, server side or both somehow? And, how 
should this code look in the sevlet and session beans?

Thanks,
Eric

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850344#3850344

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850344


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to