Make a JCA... they can do this and indeed were designed for exactly this. linking a legacy system to ejb !
D Ramesh wrote: >hi all > > 2.A shipping company is building an enterprise system to track the location >of packages.One part of the tracking sys- >tem is a network of wireless inventory devices.The devices can only be >accessed using a custom,synchronous TCP/IP >protocol.How should you encapsulate interaction with the wireless inventory >system? > >A.with a Java class that uses a JMS to interact with the inventory system >B.with a distributed CORBA object that uses IIOP to interact directly with >the inventory system >C.with an EJB Tstateful session bean that uses Java sockets to interact with >the inventory system >D.with an EJB entity bean that uses container-managed persistence to >encapsulate the inventory system > >My doubt > Can I open a socket connection from a session bean? After all Iam using >few I/O operations >which is not allowed according to the specification and most of the >appservers do not allow >I/O operations. Am I missing some thing?? > >thanks in avance >ramesh > >=========================================================================== >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff EJB-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". > > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
