>
> I'm just curious why the jboss developers used the cloudscape db for
> the sample petstore app.
>
Sun delivers Cloudscape with the J2EE sdk (RI server), and The Java
Pet Store is a reference application that was designed to work with
the RI server.
A lot of developers will start with the RI, add the Pet Store, gain
some experience, and then shop around for a server to replace the RI.
The JBoss Pet Store adaptation assumes the user already has the Pet
Store running on the RI, so using Cloudscape seemed to be the simplest
solution.
This is also a powerful demonstration of the portability of J2EE
applications: Change an RMI port, add some .xml's, implement a
Security Manager and your J2EE application is running on JBoss.
I think it was also the "best" solution. There are some variations
in the SQL syntax used in the Pet Store application that are DB
specific. For example, we found that searches would not work
correctly with some databases. That application code would have
to be changed based on the DB that was used.
Changing the application to use an Open Source database is probably
a good idea, but just because developers use an Open Source J2EE
server like JBoss doesn't mean that they prefer to use Open Source
DB's.
Just look at all the posts on this list that refer to Oracle.
Tom
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user