Hello,

I am building a pretty basic multi-tier application. I want to reduce a much as 
possible the dependencies between the web tier and the ejb tier. Ideally I would like 
for the web tier to construct a request object (of class MyRequest) and send it to the 
ejb tier that would then return a results object (of class MyResults).

These would therefore be the only two classes that BOTH the ejb and web tier would be 
aware of. All other classes would either belong to the web tier OR the ejb tier.

My question relates to the naming of these two classes. I would like to have different 
package names for the two classes as follows:

-web-tier request object will be of type com.mycompany.web.MyRequest
-ejb-tier request object will be of type com.mycompany.ejb.MyRequest

-web-tier results object will be of type com.mycompany.web.MyResults
-ejb-tier results object will be of type com.mycompany.ejb.MyResults

I am getting errors with that. Is there a way around it? How can I have the different 
package name and the class appear to be the same?

Thanks in advance,

Julien Martin. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832085#3832085

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832085


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to