🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.api
3 messages
3 total messages Started by Jason Purcell Wed, 30 Jul 2003 09:53
Sockets
#519
Author: Jason Purcell
Date: Wed, 30 Jul 2003 09:53
16 lines
1297 bytes
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.
Re: Sockets
#520
Author: Owen Green
Date: Wed, 30 Jul 2003 10:22
31 lines
1834 bytes
Jason Purcell wrote:

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

> 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.
Re: Sockets
#521
Author: Sultanbek Tezadov
Date: Thu, 31 Jul 2003 07:13
22 lines
1507 bytes
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@telkom.co.za> wrote:

>
> 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads