Newbie - Feature/documentation request

32 views
Skip to first unread message

Anton Hughes

unread,
Nov 2, 2014, 7:49:13 AM11/2/14
to sculptor...@googlegroups.com
Hi

Firstly, I am really impressed with the concept of Sculptor!

Im just getting my feet wet with the HelloWorld and documentation.

Customize for CDI
I would really like to be able to customize the generated code, so that it uses CDI rather than spring. I am working on apps based on the Jboss technology stack, and they are all use CDI, rather than spring.

Can you give some guidance on how to customize the templates to generate CDI beans, without the need for so much xml?

Arquillian
Another request would be to generate Arquillian tests.

I think others would appreciate know how to do this too.

Thanks and regards


Torsten Juergeleit

unread,
Nov 2, 2014, 1:22:28 PM11/2/14
to sculptor...@googlegroups.com
Im just getting my feet wet with the HelloWorld and documentation.

That's a good starting point. Later on if you're not keen on the Spring style then you can switch to the EJB style as described in the Pure EJB3 Tutorial.


Can you give some guidance on how to customize the templates to generate CDI beans, without the need for so much xml?

The templates can be find here, e.g. the ejb-related Service is implemented here. The documentation of the setup for tweaking Sculptor is here and a tutorial on customising the templates is here.


Another request would be to generate Arquillian tests.

Sculptor ships with EJB test support using plain OpenEJB. This is implemented in Sculptors test framework class AbstractOpenEJBDbUnitTest which is used in the ejb-related unit tests generated by Sculptor.

If full-blown JBoss test-support based on Arquillian is needed then the previously given information regarding Sculptors templates are helpful :-)

/Torsten
Reply all
Reply to author
Forward
0 new messages