• 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

SMPP Session in a JavaEE environment

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,

My question is of a design issue regarding JSMPP; In our JavaEE application running on Glassfish 3.1.2, we have an implementation of JSMPP code that send SMSs to customers. This code is using a third party SMS provider (SMSC) which provided us with IP, port and log on credentials.

How the code works:
The code is composed of an EJB that opens a connection during startup(@postconstruct)

The problem:
A session is lost/dropped/closed some how while the application is running and this causes a ResponseTimeoutException on attempt to call SMPPSession.submitShortMessage

My Question:
What is the design that one should follow in order to reconnect/reopen this session. This seems like a common requirement and I hope some one has already done a better design here that can point me to the right direction.

Many Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic