• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

is EJB(stateful and stateles) and JMS connection oriented(TCP/IP) or connectionless?

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want know ejb and JMS is connection oriented or connectionless...
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure I understand your question, could you go into my detail of your issue?
 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to send wave file from client to server and vice versa.
i need reliable connection because the wave file is most important and confidential data once data lost we cannot get back..in this situation
we can send using this option

1.socket programming
disadvantages:complex coding
2.http WEB(filee upload)
connectionless protocol(not reliable)
3.RMI and EJB
in my knowledge RMI and EJB are just client call method from client to server.however in RMI and EJB we can use port also.but the protocal in ejb is vendor specific (in weblogic t3).how the client and server communicate.is it reliable connection?

4.JMS(like EJB)
but we can send streaming message or else according to our own implementation we can send large file alse

that why i am choosing JMS for file transfer...please reply me
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If your files are large, then it is not recommended to use JMS because InputStream and OutputStream are not supported. It is therefore almost impossible to send a large file without loading it into memory.
 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no we can send large file without loading into memory
please check this link

http://weblogs.java.net/blog/guruwons/archive/2006/11/sending_large_f.html
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It may be possible, but this is not a well-proven solution.

Are you sure that you are doing the right thing?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic