BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sockets

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder JavaAPI
View previous topic :: View next topic  
Author Message
Jason Purcell
Guest





PostPosted: Wed Jul 30, 2003 9:53 am    Post subject: Sockets Reply with quote




Hi...

I have a Delphi application that sends an SMS via
Delphi's TClientSocket component.

Does Java have an "equivalent" component to send
an SMS?

If not, how else can I send an SMS in Java? I actually
want to use this functionality in a JSP.

I have access to 2 SMS gateways, their IP addresses, and the
port numbers.

Jason.

Back to top
Owen Green
Guest





PostPosted: Wed Jul 30, 2003 10:22 am    Post subject: Re: Sockets Reply with quote



Jason Purcell wrote:

Quote:

Hi...

I have a Delphi application that sends an SMS via
Delphi's TClientSocket component.

Does Java have an "equivalent" component to send
an SMS?

I don't know much (ok, anything) about the protocol used for SMS, but
assuming that it runs on top of TCP/IP, java.net.Socket is what you
want.

Quote:
If not, how else can I send an SMS in Java? I actually
want to use this functionality in a JSP.

JSPs are used by Servlet containers to serve up dynamic (typically) web
content. As such they're not, as such, the ideal medium for
implementing protocols.

However, what you could do is either

a)
encapsulate the the functionality of the SMS protocol in a Java class
(or classes) that conform to JavaBean conventions (which is quite easy)
and then invoke that class from a JSP.

b)Have some kind of SMS daemon running in (say) a J2EE container, which
your JSP can forward SMS requests to.



Back to top
Sultanbek Tezadov
Guest





PostPosted: Thu Jul 31, 2003 7:13 am    Post subject: Re: Sockets Reply with quote



See Java API for sending/receiving SMS at SourceForge:
http://sourceforge.net/projects/jsmsengine/

--Sultan

On 30 Jul 2003 02:53:45 -0700, Jason Purcell <purcelj (AT) telkom (DOT) co.za> wrote:

Quote:

Hi...

I have a Delphi application that sends an SMS via Delphi's TClientSocket
component.

Does Java have an "equivalent" component to send an SMS?

If not, how else can I send an SMS in Java? I actually
want to use this functionality in a JSP.

I have access to 2 SMS gateways, their IP addresses, and the
port numbers.

Jason.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder JavaAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.