aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes SMS interchange from J2EE appln. 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 "SMS interchange from J2EE appln." Watch "SMS interchange from J2EE appln." New topic
Author

SMS interchange from J2EE appln.

Rajat Nayer
Greenhorn

Joined: Feb 11, 2002
Posts: 21
I have a J2EE appln. I want to enable the application for SMS request/response. What are the options to implenment this solution?
Please help.
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
You may consider to use:
1. JMS
2. JMS with MDB
3. Web Services over JMS

In addition, depends on the format of SMS, you may need to decode it and wrap the content as the format of JMS.

Nick
[ July 21, 2004: Message edited by: Nicholas Cheung ]

SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Rajat Nayer
Greenhorn

Joined: Feb 11, 2002
Posts: 21
Nick, Thanks for the quick reply post.

Cud u pls guide me to a tutorial/document that describe these approaches and then go down to API/Code level for sample refernce implementations.

I am very new to the world of mobile computing, although i have been using a cell phone for last 6 months or so

Will appreciate a guide map to help me on in the learning curve.

Just one more point, I want to use something freely available/downloadable on the net.

Thnx
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Just sending "messages" to a JMS queue doesn't make them reach a mobile phone's SMS inbox... In order to integrate with a mobile operator's SMSC, you need to either
1) buy an SMS gateway product such as FirstHop Message Router and sign contracts with some mobile operators in order to connect to their SMSC's
2) pay for someone else to do the integration stuff with mobile operators and just use the proprietary API provided by the integrator (some alternatives include SimpleWire and MobileWay)


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Oh, and I'd strongly suggest going with option 2).
It's a LOT easier that way.
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
More discussion or tutorial in this title

Topic: Can I send SMS from web using JMS?

http://forum.java.sun.com/profile.jsp?user=339847&showMore=true


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Originally posted by Lasse Koskela:
Oh, and I'd strongly suggest going with option 2).
It's a LOT easier that way.


Not to mention cheaper unless you expect a massive volume of messages


42
 
jQuery in Action, 2nd edition
 
subject: SMS interchange from J2EE appln.