• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Developing own protocol inside an appserver

 
Claude Moore
Ranch Hand
Posts: 746
7
IBM DB2 Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

as far as I know in general is not a great idea trying to use ServerSocket inside an appserver: a general good reason to avoid server socket programming inside a Java EE implementation is that manually handling sockets - and thus threads, to exchange data with remote client - may interfere with the need to keep things under the strict control of various containers that constitute an appserver. Anyway, I'd like to try to develop a custom client-server protocol, without renouncing to all those good things that an appserver brings with itself (Datasources; EJBs; and so on). What would be a good starting point ?

Thanks for your help.

 
Tim Moores
Bartender
Pie
Posts: 2488
4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if it would be a *good* starting point, but it should be interesting to study how SailFin (an implementation of the SIP protocol that runs inside GlasFish) does it.
 
Claude Moore
Ranch Hand
Posts: 746
7
IBM DB2 Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply. I'll have a look at SailFin; actually, however, I'm more interested to work on a simple remoting protocol different from 'classical' remoting (RMI or similar) or based upon http requests...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic