This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session bean and TCP communication" Watch "Session bean and TCP communication" New topic
Author

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

regards

Narendran


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
Bartender

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
hi

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 ???

regards
Narendran
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session bean and TCP communication
 
Similar Threads
Can Session bean and Entity Bean talk??
How we can go about this
EJB an Overhead?
Bean To Socket communiction how??
moving from j2se to jee