Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session bean and TCP communication

 
Narendran Nair
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, you'll need some sort of JCA resource adapter to manage this.
 
Narendran Nair
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic