-
1. Need a working Entity Bean 2.0 sample
jaikiran Jan 8, 2011 8:10 AM (in response to hvembu)It's better if you post what issues you are running into.
-
2. Need a working Entity Bean 2.0 sample
hvembu Jan 21, 2011 1:10 AM (in response to jaikiran)Hi Jaikiran & All,
I have some basic questions even before deployment to 6.x server. I am using xdoclet generated EJB entity bean sample. It was generated with JBoss 3.2.x as target server.
It has generated two Jboss specific xml files as below
jboss.xml and jbosscmp-jdbc.xml
Jboss.xml file has the DTD declaration as follows
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
>>>> Does this needs to be changed as below for JBOSS 6.0 deployment?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 6.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_6_0.dtd">
And
jbosscmp-jdbc.xml has the DTD declaration as follows
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">
>>>> Does this needs to be changed as below for JBOSS 6.0 deployment?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 6.0//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_6_0.dtd">
Are the above modification necessary when deployed on JBoss 6.0??
Awaiting your immediate reply.
Thanks & Best Regards
Harish
-
3. Need a working Entity Bean 2.0 sample
jaikiran Jan 24, 2011 3:45 AM (in response to hvembu)1 of 1 people found this helpfulYou can still use those 3.x dtds. You need not have to move to the latest xsd/dtd for AS6.
-
4. Need a working Entity Bean 2.0 sample
hvembu Jan 24, 2011 10:26 AM (in response to jaikiran)1 of 1 people found this helpfulThanks for your reply Jai. Yes the existing 3.x DTD's would work fine for JBOSS AS 6. I tried already and it works.
Best Regards