You are breaking MVC in a bad way. You seem to doing presentation logic inside 
a session bean. session beans are about business logic. Rather add the 
additional field on the client side rather then within the session bean itself. 

The reason the database is updated is that you are still working within the 
entity / persistent context as you are still inside the container. If you had 
to use a remote client (are you using remote or local interfaces ?) then 
perform the presentation logic in the client code.


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to