wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes Session bean and TCP communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session bean and TCP communication" Watch "Session bean and TCP communication" New topic

Session bean and TCP communication

Narendran Nair
Ranch Hand

Joined: Sep 25, 2003
Posts: 35
Hello guys

i need advice in this

i am try to communicate with a embedded device through socket communication and it works fine from a java application. now i need to change from a application to a webserver level. so is it possible for a session bean to watch a particular port to that it can communication..

and is it possible to have a tcp based communication with a session bean

please help me guys ...

i am used JBoss as the application server



Narendran J S<br />SCJP 1.4<br /><a href="http://narendranj.blogspot.com" target="_blank" rel="nofollow">http://narendranj.blogspot.com</a><br /><a href="http://narendranj.blogspot.com" target="_blank" rel="nofollow">http://techboom.blogspot.com</a><br /><a href="http://bookmarks-share.blogspot.com" target="_blank" rel="nofollow">http://bookmarks-share.blogspot.com</a>
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

No, you'll need some sort of JCA resource adapter to manage this.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Narendran Nair
Ranch Hand

Joined: Sep 25, 2003
Posts: 35

thanks for the reply
i thought JCA deails with database connection pool. wat i wanted was to connect to a embedded device throught a port. and i want my ejb to connect to that source and fetch and also write the values...

does ejb support socket communication and all ???

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Session bean and TCP communication
It's not a secret anymore!