[jboss-user] [J2EE Design Patterns] - An interface with multiple implementation

mnrz do-not-reply at jboss.com
Tue Sep 30 04:25:13 EDT 2008


Hi
I am going to create an interface named ReusablePool, this is considered to be implemented as an object pool 

now because our application may deploy in any application server such as Glassfish or Websphere etc, depend on what our customer requires to be. so I have to desgn it in a way so we can use the features of the application servers. 
this is the issue for using Thread pools as well. since we have an interface for using thread pools and we need to use application servers features. 

I want to know the best design that we can set some configuration in a config xml file, say, maximum pool size, jndi name to look it up, etc and the developer does not worry about the implementation and just think of his code.

any help would be appreciated 

thanks

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

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



More information about the jboss-user mailing list