anonymous wrote : 
  | Because I am using container managed persistence (CMP) and EJB-QL is a the Query 
Language? 
  | 
EJB-QL query is for persistence with additional features, not complex queries. I agree 
with you that the spec is not adapted with professional applications. I work in 
industry and many times I cannot rely on the spec OR THE CONTAINER to satisfy my 
customers.

anonymous wrote : 
  | To obtain database vendor indepedence. The application is 100% compatible today 
with MySQL, DB2, Oracle, SQL Server and any other database that provides a compliant 
JDBC driver and a configuration in the J2EE server. The differences between them that 
that JDBC doesn't handle, JBoss handles through CMP configurations. 
  | 
Just for persistence, you means. And your query, even implemented in SQL, is 100% 
compatible with all the databases because SQL address the database compatibility 
before java and J2EE.

anonymous wrote : 
  | To develop using a Java database interface that's independent of the underying 
database technology. JBoss and other vendors just happened to be using JDBC/relational 
to implement CMP today because relational databases are still popular. But there's 
nothing in the spec to prevent them from adding an object database engine for CMP down 
the road. I won't have to change a single line of code to be able to use object 
databases when this happens, since I never use SQL in the application. 
  | 
No its false, because SUN impose its certification and any vendor must comply if he 
want to keep its customers. But do you experiment vendor compatibility ? I do. 
Normally, the "Container Managed" means that you can migrate from one vendor to 
another. And it's often difficult, and I can tell you that you spend more time to be 
100% vendor compatible that 100% database compatible, even if the containers and 
EJB-QL are limited.
You have always to separate the system level (the container) from the business level 
(you). The frontier is not always where you want !


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

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



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to