Ah ok that cool. Actually the Corba interface for my service will be quite 
simple as all calls will originate from one "client", my database which will 
use and extended stored proc.

So all my services will implement an execute() method with a parameter called 
message (maybe XML). Now either the message will be already preformated to the 
3rd parties spec or I might implement a simple message protocol that the 
services will parse and format the message to a specifcation.

For instance some of my services comunicate to 3rd parties using simply tcp/ip 
with some delimited message, some ask for XML, some http pair/value queries, 
some archaic binary protocol with 7bit even party :P etc...

It's alot easier to format the required request in the db and send it to the 
service. Unless you thibnk there is a simple and elegant solution? :|

Now you mentioned also the Corba Example... And I also see there is a threapool 
service. I think am getting ahaed of myself... I should start simple but so 
many ideas lol... I guess it would be nicer to keep my service simple and to 
hook into the corba service? Same goes if I want to use threading within my 
service I could hook inusing the thread pool service right? I have an old 
mentality where my apps for each client request spawns a thread. Simple 
blocking socket accept() with new thread for each connection, with a simple 
system to count threads so they dont get to high...

Thanks


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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to