I know that it is possible to specify the RemoteBinding also in an XML file (did not test it till now) but I dont wanna let a customer edit such files.
Maybe it would help to explain by the fact that most customers run different systems for QA, training and production. Each time I move a release from QA to training to production, it would be neccessary to adapt files within the EAR/JAR/...
In the old style (InvokerURL in JBoss 4.0.x) all this was not affected by any file inside my EAR. I had preconfigured AS where I deployed the same EAR without any changes.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111949#4111949
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111949
Is there an ant build file that will take the project created by Seam-Gen and archive (Ear, ejb-Jar, War) it up for deployment to production servers?
I have not used JBoss server in some time (3.2.x was the last version I used), so can the seam-gen jboss-web.xml, and jboss.xml files be included in the archives?
Since Annotations are used now to generate xml files will the annotations generate the correct JBoss-Specific xml files for deployment to a JBoss production server?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111946#4111946
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111946
@JoinColumn and mappedBy have nothing to do with eachother!
If you have a bidirectional relation you should always inform Hibernate about this by (normally) adding mappedBy on the Collection side. If you don't you might generate unnecessary tables and cause double SQL to be generated
@JoinColumn is optional - as used above only to customize name of column. A good practice is to also set the JPA attribute nullable=false instead of Hibernate's @NotNull
/Jens
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111941#4111941
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111941