If you use smsserver, you get some functionality, that is: incoming messages are put in the incoming table, and outgoing messages are dispatch from outgoing table (see database interface in smsserver documentation). But your application must to read the incoming messages, process it, and must to put the outgoing records in the outgoing messages table.
To do that (your own process), you need to use jdbc interface, and get the database drivers. You can find documentation and examples of jdbc in internet, and is useful to go to database web site for more accurate advice. HTH Pietro On Sep 3, 6:58 am, "ochieng' nelson" <[email protected]> wrote: > Thanks Mr. Thanasis, Thanks Zebel. Let me get started with this and see how > I fair. > > On Wed, Sep 2, 2009 at 10:11 AM, Zebel <[email protected]> wrote: > > Hi again! > > > I guess using smsserver is the best way you have to realize u idea. U can > > integrate it with any kind of business that suggest users to request > > information such as weather, traffic, rates, fees, time tables and so on. > > So once more, thank a lot Mr. Thanasis! > > > 2009/9/1 Thanasis <[email protected]> > > >> Hello, > > >> I need to warn you that SMSLib does not implement any kind of > >> sessioning. So, if you need to implement sessions you need to fill the > >> logic yourself. > > >> One easy way to do it is to setup SMSServer. SMSServer can send/ > >> receive messages from/to a database. See here: > >>http://code.google.com/p/smslib/wiki/SMSServer > >> Once you're done with this, you can implement your session logic on > >> top of the database layer. > > >> On Sep 1, 6:38 pm, "ochieng' nelson" <[email protected]> wrote: > >> > What I mean by is this: > >> > Example code to insert a record into a database for example mysql > >> > Example code to retrieve a record from a database > > >> > With managing sessions I mean: > >> > I want a user to interact with the database more than once. For each > >> > request, the database should remember this particular user and supply > >> > information relevant to this user, just the way shopping cart > >> applications > >> > work. > > >> > I know the java code necessary. What I need a tutorial for is HOW TO > >> > INTEGRATE THIS JAVA CODE INTO SMSLIB so that it can work with a phone. > > >> > Hope this is a bit clearer, Zebel. Thanks for your time and interest. > > >> > On Tue, Sep 1, 2009 at 10:41 AM, Zebel <[email protected]> > >> wrote: > >> > > Hi! > > >> > > What do u mean with managing sessions? > >> > > What kind of insertion and retreviewing are u refering? > > >> > > " > >> > > @Zebel > > >> > > 2009/9/1 ochieng' nelson <[email protected]> > > >> > > Am looking for tutorials on smslib applications. Anybody written one > >> > >> already? Am especially interested in: > > >> > >> 1. database connection > >> > >> 2. inserting entries into database > >> > >> 3. retrieving records from database > >> > >> 4. managing sessions > > >> > >> Examples would suffice. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib for Java User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/smslib?hl=en -~----------~----~----~----~------~----~------~--~---
