-
1. Re: XDoclet support for jboss7.1.1
sfcoy Aug 27, 2013 10:17 AM (in response to arun168403)1 of 1 people found this helpfulA lot of that JBoss XDoclet support was done by me, some more than 10 years ago I think.
But I'm afraid that XDoclet is now dead dead dead. I'm still subscribed to both the xdoclet-user and xdoclet-dev mailing lists and these are very very quiet - maybe 4-6 messages a year on them, You would have a hard time convincing anyone to work on it, let alone have patches applied.
I'm actually astonished that Eclipse still has xdoclet support in it.
-
2. Re: XDoclet support for jboss7.1.1
arun168403 Aug 27, 2013 3:04 PM (in response to sfcoy)Thanks Stephen,
Could you suggest what would be best option in my case? I'm really blocked.
I was able to deploy my ejb jars in jboss7.1.1, but I'm missing with dependcies(<resource-ref/>'s) declared in ejb-jar.xml that are actually defined in jboss.xml (generated by xdoclet- but jboss7.1.1 these xml should be replaced with jboss-ejb3.xml).
Is there any way to tell xdoclet to refer the new schemas of jboss7.1.1 to generated dependent xml files for ejb's.
-
3. Re: XDoclet support for jboss7.1.1
sfcoy Aug 28, 2013 1:10 AM (in response to arun168403)It's open source.
It shouldn't be a big job to modify the jboss doclet. It's basically just template processing.
-
4. Re: XDoclet support for jboss7.1.1
jaikiran Aug 28, 2013 1:41 AM (in response to arun168403)On a related note, is it that big a task to just write up the jboss-ejb3.xml manually? It's just a xml with a xsd after all.
-
5. Re: XDoclet support for jboss7.1.1
arun168403 Aug 28, 2013 2:42 AM (in response to sfcoy)Thank you Stephen,
I would like to update my jboss doclet processing. Is there any reference that may guide us. It will be very help full.
-
7. Re: XDoclet support for jboss7.1.1
ehugonnet Aug 28, 2013 4:15 AM (in response to jaikiran)I agree with Jaikiran, it is far simpler to take the generated xml and port them manually. Then you'll have to maintain them instead of the xdoclet 'annotations'.
That's what we did at Silverpeas after that we have removed our entities and Statefull Session Beans and are migrating quite easily towards a JEE 6 application.
-
8. Re: XDoclet support for jboss7.1.1
arun168403 Aug 28, 2013 4:43 AM (in response to ehugonnet)Yes, may be.
But my build environment just package the files and build the distributables in a single phase. I don't have any chance to pass the process and port them manually in the middle.
Even though it is a one time process of a ejb jar, if I made any changes to any one EJB, then I have to update my jboss-ejb3.xml for that jar again.
If any new developer comes in absence of me, it will be a problem then.
-
9. Re: XDoclet support for jboss7.1.1
sfcoy Aug 28, 2013 4:51 AM (in response to arun168403)Does your application include CMP entity beans?
-
10. Re: XDoclet support for jboss7.1.1
arun168403 Aug 28, 2013 5:44 AM (in response to sfcoy)Yes I have CMP Beans, do you find any issues?
-
11. Re: XDoclet support for jboss7.1.1
ehugonnet Aug 28, 2013 5:51 AM (in response to arun168403)No, I think it is because migrating SLSB is quite easy and using annotation you would be in the same position as with xdoclet.
For CMP the path is JPA which is more complicated.
-
12. Re: XDoclet support for jboss7.1.1
rockeys Mar 18, 2014 1:23 PM (in response to arun168403)HI Friends,
I am newbie to JBOSS. This is on Weblogic to JBOSS migration. The initial query which supported in Weblogic doesn’t support in JBOSS as it seems nested subquery should be defined in some other format like declared-sql format. So we tried that and that second query given below. But that throws the following exception.
My prediction was this is some annotation issue not supported or xdoclet issue on creating the supporting classes. We use xdoclet 1.2.3 version
Specification === JBOSS-4.0.5, JDK 1.5,EJB 2.0, xdoclet 1.2.3
Can you please let me know the XDoclet version which used in your project and will the EJB 2.0 Support the annotations as @jboss.declared-sql is created in ejb-jar.xml?
Thanks in advance.
Regards,
Rockeys