[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: New package structure
jmesnil
do-not-reply at jboss.com
Wed Feb 27 08:19:57 EST 2008
"timfox" wrote : I have just committed a refactoring to our new package structure.
|
| Here is how it goes:
|
| org.jboss.messaging.core and sub packages.
|
| Contain the messaging core - this is all the stuff needed to make a fully functioning transactional, reliable messaging system.
|
| ...
|
| server - the core server interfaces and implementation
|
| ...
|
| client - this contains the core client interfaces and implementation
|
I'd put the stuff common to the client & server code directly under org.jboss.messaging.core.
I'm thinking mainly about the Message interface (and also the Version interface, anything else?).
I find weird in client code to instantiate an object from server.impl package.
As an aside, we should also extract a subset of the Message interface common to the client and the server. In this interface, all the methods related to MessageReference do not make sense in the context of the client.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132496#4132496
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132496
More information about the jboss-dev-forums
mailing list