I just found an interesting quote from a paper on JDO:
http://www.jdocentral.com/pdf/eigner_jdo.pdf 

"With the availability of JDO, it makes you wonder when 
and if you would ever need an EJB container at all within your 
application architecture if you use it only as a front-end 
to your database. All the model-oriented business logic can be
 coded in the classes persisted by JDO, sparing us from using 
patterns such as 'data object' or 'value object'. 
After using JDO we contend that most web-based applications 
could be developed more easily with a web container and a set 
of JDO enhanced classes to encapsulate the model 
of the application. "

This sounds very attractive to me from a learning POV for
a standard DB application:
* use flow for the controller; interactiing with forms and
* enhanced JDO for the model/data access
* views by generator of your choice...

Derek

>>> [EMAIL PROTECTED] 2004/05/07 10:58:22 AM >>>
Derek Hohls wrote:
> Thanks - I assume that if one is NOT working
> in a J2EE application, that the principles and
> approaches will be the same ie. is there more
> info that discusses how to move from an
> "ordinary" set of Java objects to a full-blown J2EE
> approach?

It's quite difficult to say what constitutes a "full-blown" J2EE app 
versus an "ordinary" Java app, to use your terms. J2EE is made up of 
many technologies, not all of which must be used together at any one
time.

Cocoon typically runs inside a Servlet container, whose behavior is 
mandated by the J2EE spec, so when you're running "cocoon servlet",
yes, 
you have a J2EE application. Even if you don't use EJB, JTA, JMS, etc.

But if you want to know what a "typical" J2EE app looks like, I think 
the patterns book that was mentioned in this thread (a possibly also 
this one [1]) might give you a bigger picture.

        Ugo

[1]: http://www.amazon.com/exec/obidos/tg/detail/-/0201787903/ 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to