• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to connect ejb to tcp/ip System

 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have several C/C++ socket oriented legacy systems. Can anyone explain what approach would be best to connect J2EE beans to these systems (MDB/JMS, Statefull Session bean w/socket connection, etc). The new system must accept TCP/IP messages, store in database and possibly route messages to another system.
Any feedback would be appreciated.
]
[ March 26, 2002: Message edited by: Gregory Garrison ]
 
Tim Holloway
Bartender
Posts: 18414
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A fairly broad order. The main thing to keep in mind is that EJBs may not listen on sockets. You might want to build a server program to do the socket I/O and act as the client for EJBs.
 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim - this was my plan if all else failed. I thought that there might be a solution through JMS.
 
Tim Holloway
Bartender
Posts: 18414
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may find a use for JMS there - just mentioned that EJBs have limitations that have to be kept in mind. For anything more specific, I'd have to know more details. Bribery helps, too
 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim - how do you connect from a remote client to JMS. That is, a client outside the VM within which JMS resides?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!