You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Stefanutti, Mario" <ms...@mail.tim.it> on 2004/05/26 13:03:23 UTC

Examples of Ejb and Maven

Hi,

 

I was looking for a way to integrate an ejb sub-project to my build tree. The problem is that I did not found many examples and the few I found use the xdoclet goal to produces interfaces. Is this necessary? Is there a way to just produce an ejb starting from the source tree that contains the complete source code?

 

IBXDT.java

IBXDTBean.java

IBXDTHome.java

IBXDTLocal.java

IBXDTLocalHome.java

 

I am also confused about the position of the ejb directory respect to the source tree.

 

The scenario is:

 

I have a sub-project that realizes a Data Transformation Library (called ibxdt). It is only a jar file and I have no problems to produce it with maven. The problem comes when Maven tries to compile the ejb. It does not work, and I am pretty sure I have placed my code NOT with the right structure. 

 

.

..

ejb

maven.xml

project.xml

src                                            

 

D:.

????ejb

?   ????src

?       ????java

?       ?   ????tim

?       ?       ????infobus

?       ?           ????ibxdt

?       ?               ????ejb

?       ????META-INF

????src

    ????java

        ????tim

            ????infobus

                ????ibxdt

                    ????config

                    ????controller

                    ????transformers

                    ?   ????bin

                    ?   ?   ????bin2xml

                    ?   ?   ????converters

                    ?   ?   ????utils

                    ?   ?   ????xml2bin

                    ?   ????test

                    ?   ????xslt

                    ????util

                        ????xml

 

Is there any example on the web that I can see to get information about simple ejb production? Do you suggest me to move to xdoclet?

 

Thanks again for all the help you already gave me.

 

Bye and "forza Maven"

 

Ciao

 

 

<DIV><FONT face=Arial size=2><I><br>This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.<br><br><br>°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°<br>Su www.tim.it - 119 Self Service -, puoi parlare con un operatore o farti aiutare a navigare nel mondo TIM.<br>°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°<br></I></FONT></DIV></BODY></HTML>