Hi, There are a few different ways of doing this. Depending on how stable your data structure is, you could use ejb, jdo, or whatever persistence mechanism you like, then look at something like castor for mapping objects to xml for your presentation. I haven't looked at integrating cocoon in this sort of system, but think it would fit in well at that point (cocoon does some cool stuff with caching transformations from memory). that way you still get the benefit of an object representation for your business logic (done in session bean), before the web tier converts to xml, and on to whatever else you need.
however, my question is why use xml with xsl? there are plenty of other ways to present data, and if you have the data in object form, why not use on of the other templating mechanisms out there? otoh, if your data structure is very unstable, then it might be worth actually using an xml database to support this. makes for an application that doesn't really fit the j2ee stereotype though. not sure if any of this is any help to you, but I think its a very interesting subject (xml in j2ee) and would like to see discussion for interest. cheers dim On Tue, 20 Nov 2001, Tony K. Lawrence wrote: > This sounds great but where do you put the business logic? > I need to develop an application not just a website. > > Tony > > -----Original Message----- > From: Steve Muench [mailto:[EMAIL PROTECTED]] > Sent: 20 November 2001 18:16 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Why use Entity Beans with XML? > > > | Ok, I've been thinking about XML and XSL's. Then I thought about a > | J2EE solution for this. It struck me odd to store this data in Entity > > | beans > > How about a pre-built XML/XSLT publishing solution that works well with > databases like: > > -> Apache Cocoon (http://xml.apache.org/cocoon2/index.html) > > -> Oracle XSQL Pages > > <http://download.oracle.com/otndoc/oracle9i/901_doc/appdev.901/a88894/ad > x10xsq.htm> > > you can download it as part of the Oracle XDK for Java > http://otn.oracle.com/tech/xml/xdk_java/content.html > > I work on the Oracle offering and have played with Cocoon. > They both work with any servlet engine and any JDBC driver. > > Hope this helps. > > _____________________________________________________________________ > Steve Muench - Developer, Product Manager, XML Evangelist, Author > "Building Oracle XML Applications" - www.oreilly.com/catalog/orxmlapp > > =========================================================================== > 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".
