I develop a EJB3 application with a Swing GUI client.

is it appropiate to design EJB3 Entity beans as regular JavaBeans. In specific 
i mean letting the fire PropertyChangeEvents as regular JavaBeans to, this 
isn't really GUI code, but it isn't strictly domain data code either.

I'm thinking of designing my EJBs like this to make them connect to the client 
GUI smoothly..

Is this bad code? I'm in doubt but don't really see another nice and clean 
option to use my objects in the GUI (except the modelToView and viewToModel 
methods, but that's not really clean in my opinion).  It's a big project so i 
don't want to start on the wrong foot. Thanks a lot for the help!

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

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


-------------------------------------------------------
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