aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes is EJB(stateful and stateles) and JMS connection oriented(TCP/IP) or connectionless? 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 "is EJB(stateful and stateles) and JMS connection oriented(TCP/IP) or connectionless?" Watch "is EJB(stateful and stateles) and JMS connection oriented(TCP/IP) or connectionless?" New topic
Author

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

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
i want know ejb and JMS is connection oriented or connectionless...


Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3716
    
    5

Not sure I understand your question, could you go into my detail of your issue?


My Blog: Down Home Country Coding with Scott Selikoff
Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
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
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
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.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
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

Joined: Sep 29, 2002
Posts: 1683
It may be possible, but this is not a well-proven solution.

Are you sure that you are doing the right thing?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is EJB(stateful and stateles) and JMS connection oriented(TCP/IP) or connectionless?