From: dlsa <nu...@jb...> - 2005-04-27 16:20:36
|
Hello, If I have a server side API, with a set of methods, how do I structure the code on the server ? I see it can be done in the following ways: option 1 - create a handler per subsystem, and then put conditional code on the handler to select between the various API calls within that subsystem. option 2 - create a handler per API call and assign a subsystem to it. This way there is no conditional code on the handlers, but there is one for each API call. I prefer the second because there is no conditional code. What did the developers had in mind when they created this framework ? Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875620#3875620 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875620 |