BlackBerry and Java - Save data without a BES ?

Hi, I'm new with the BlackBerry development. I'm a student and I use Java for school and personnal projects. I have a question and I didn't find an answer on the web.
I'm building an application for BlackBerry with Java. I need to save informations on a server but I don't have a BlackBerry Enterprise Server. I have a server with SQL Server for a software on the Intranet of the company. The data are first save on the BlackBerry localy and when the connection is made with the network, I want to save the data to my database.
It's it possible to do this without the BlackBerry Enterprise Server?
Thanks a lot !
Dominic
Student and Java developer
Sorry for my por english, it's not my native language ... oups !

Hi Domnic,
Yes it is possible. You have a web browser dont you? Create and HTTP connection.
Otherwise if youd prefer a Socket connection then it will only work on the older models.
Just define the connection string to be "deviceside=true".
Good luck,
Ruben

Similar Messages

  • Java.sql.Date and java.util.Date - class loaded first in the classpath

    I had two jar files which has java.util.Date and java.sql.Date class file. i want to know whether which class is loaded first in the classpath...
    I like to change the order of loading the class at runtime...
    Is there is any way to change the order of loading of class...
    I may have different version of jar files for example xerces,xercesImpl. some of the code uses xerces ,some of the code uses xercesImpl..i had common classes.
    I like to load the class with the same name according to the order i need..
    Can we do all these in Run time ?????

    I had two jar files which has java.util.Date and
    java.sql.Date class file. i want to know whether
    which class is loaded first in the classpath...
    I like to change the order of loading the class at
    runtime...
    Is there is any way to change the order of loading of
    class...
    I may have different version of jar files for example
    xerces,xercesImpl. some of the code uses xerces ,some
    of the code uses xercesImpl..i had common classes.
    I like to load the class with the same name according
    to the order i need..
    Can we do all these in Run time ?????That is meaningless.
    The classes you are referring to are part of the Java API. Third party jars have no impact on that. And you can't change to the order because java.sql.Data is derived from java.util.Date. So the second must load before the first.
    And if you have two jar files with those classes in them (and not classes that use them) then you either should already know how to use them or you should stop trying to do whatever you are doing because it isn't going to work.

  • Java.util.Date and java.sql.Date

    when i am trying to displaying date in my jsp page errors occurs saying that java.util.date and java.sql.date are matching..
    i have some sql statements which i need to execute in the page.so i cant delete that import sql statement.
    so what is the solution for this.
    i want to display the date as 19th april 2003....in the jsp page.
    thank u

    You should use full names.
    java.util.Date date;
    java.sql.Date sdate;
    ..And it may be a good idea to delete one of the two "import" declaration of packages.

  • TS1814 Can i reset my phone or factory restore my phone and retrieve my data without a computer.

    Can i reset my phone or factory restore my phone and retrieve my data without a computer.

    No, you need a computer. Or take the device to an Apple store.

  • Unable to make changes to a jpg file and then save it without the program trying to change it to a psd [was: What a Pile of Crap!]

    Can't even make changes to a jpg file and then save it without the program trying to change it to a psd!!!!!  No wonder nobody like Adobe anymore.

    Do you mean that PSD comes as a default option or that JPEG is not available no matter what?
    Did you add a layer?  Did you change the bit depth?  Did you add transparency?   The JPEG format does not support layers, nor 16-bit images, nor transparency.
    Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • How can i re-enable/restore a disabled iPad and keep the data without using a laptop or iCloud

    Hello,
    Is there a way to re-enable a disabled iPad and maintain the data taking into consideration that no iCloud backup was made and the computer it was last synced with was not available? any idea?

    No, sorry.  Without a backup in iCloud or iTunes, you will have to set it up as if new and anything on it will be lost now.
    You can always re-download purchased apps and content (other than audiobooks) once it is restored, from the respective iTunes or App stores.

  • SAP R/3 and JAVA based data base

    hi,
    I have two data base one is SAp r/3 and another is JAVA based.
    i need to link one table from Sap r/3 and one from JAVA based data base.
    using crystal reports how can i do this????
    thanks

    hi,
    in Crystal reports go to data base expert in the pop up link JAVA based data base using JDBC and connect SAp r/3 using SAP.
    You will be able to get SAp menue only if you are using crystal reports version 2008 or version 12.
    Once the connection is established select the tables you require and rest remains same.
    Thanks.

  • Java, access database( mdb) and java.sql.date

    I having a problem querying my access database with user specified date the code is as follows
    //get results of income from database with respectto dates
         //so u first create the sql.date instances
         private void getResults(){
         String text1=from.getText();//text input is like this 01-01-2005
              String text2=to.getText();
         Date d1=new Date(Integer.parseInt(text1.substring(6)),Integer.parseInt(text1.substring(3,5)),Integer.parseInt(text1.substring(0,2)));
         JOptionPane.showMessageDialog(this,d1.toString());//traces date with 1900 added to year and 1 added to month
         try{
              //custom class DataSource used to connect to database
              Connection conn=DataSource.getConnection("RealFotoInc");
              PreparedStatement ps=conn.prepareStatement("select * from Members where date=?");
              ps.setDate(1,d1);
              ResultSet rs=ps.executeQuery();
              while(rs.next()){
                   System.out.println("going");
                   System.out.println("trial"+rs.getString(3));
         }catch(Exception se){
              JOptionPane.showMessageDialog(this,se);
         }and it prints out nothing I dont know what is wrong

    Whoever put that comment in there about "1900" and so on knew what had to be done. That "Date" class must be "java.sql.Date"; go and read the API documentation of that constructor you are using there. Then adjust the parameters you are passing to it accordingly.

  • Oracle Timestamp and java.util.date

    Greetings,
    【Enviroment】
    oracle 10g Express
    jdbc 10.2.0.1.0 thin driver
    windows Xp professinal
    【problem】
    I fetched a value of timestamp.
    And I faced An Error that "java.sql.SQLException: Cannot set lastup_dt: incompatible types."
    We define data type of lastup_dt is timestamp on Oracle.
    And We define the data type of lastup_dt of javaBean is java.util.date.
    And Ocurr SQLException at result = rsh.handle(rs);
    How Can I avoid it?
    public Object query(Connection conn, String sql, Object[] params,
    ResultSetHandler rsh) throws SQLException {
    PreparedStatement stmt = null;
    ResultSet rs = null;
    Object result = null;
    try {
    stmt = this.prepareStatement(conn, sql);
    this.fillStatement(stmt, params);
    rs = this.wrap(stmt.executeQuery());
    result = rsh.handle(rs);
    } catch (SQLException e) {
    this.rethrow(e, sql, params);
    } finally {
    try {
    close(rs);
    } finally {
    close(stmt);
    return result;
    Any help I appreciate it.
    Thank you.

    As long as you have the long representation of the time you can create a new java.util.Date:
    new java.util.Date(ts.getTime())

  • Conversions between java.util.Date, java.util.Timestamp and java.sql dates

    I am coding a hoilday booking system using JSP to interact with a SQL Server database. On my JSP form which retrieves the information I have a little javascript pop-up date selector which appears to be returning a Timestamp value although the string value is visable in the entry field. Can I pass this to a javabean as a Timestamp, so far I have only passed strings? Also I then have to enter it in the database and so will need to convert it to an sql date type but I dont know which one is best. Previous to using the Timestamp returning calendar I was just entering text and parsing it to a util.Date in the bean and then converting that to an sql.Date for entry in the database. That worked fine but I want to use the pop-up any ideas? Also my bean won't compile if I declare java.util.Timestamp t;(cannot resolve symbol Timestamp !) even though I have imported util.

    First of all, java.util.Timestamp does not exist. You probably need java.sql.Timestamp.
    java.sql.Date and java.sql.Timestamp inherit from java.util.Date. So converting from java.sql.Date or java.sql.Timestamp to java.util.Date is easy, you don't have to do anything.
    To convert a java.util.Date to a java.sql.Timestamp, do something like this:
    import java.sql.Timestamp;
    import java.util.Date;
    Date date = new Date();
    Timestamp ts = new Timestamp(date.getTime());Jesper

  • CreateQuery and java.util.Date

    I have a database fiedl that has a Date type, so after creating my named query, I am setting the currenty date to the field using
    query.setParameter("createDate", new java.util.Date());
    I get a failure after doing this because TopLink gets an unexpectedToken EJBQLException in trying to parse "Fri" in the resulting query like this
    p.createDate = Fri Dec 21 00:00:00 PST 2007
    what should I do to get this query to run. I hope I am clear.
    Michael

    For java.sql.Date the spec. defines the following setParameter method (3.6.1 Query Interface):
    * Bind an instance of java.util.Date to a named parameter.
    * @param name
    * @param value
    * @param temporalType
    * @return the same query instance
    * @throws IllegalArgumentException if parameter name does not
    * correspond to parameter in query string
    public Query setParameter(String name, Date value, TemporalType
    temporalType);

  • Problem about aix and java.util.Date

    Hello,
    I am using AIX 5.1 with JDK 1.4 and i got a problem
    using this JDK 1.4
    I was using the jdk 1.2.2 and it gets to me the correct
    date from the system ... i've never exported any environment
    variable like lc_type, lang , etc ...
    but now, using jdk 1.4, i get wrong time, one hour less,
    can i have to export some environmental variable? which ones?
    because i've tried with LANG=es_ES , LC_TYPE and it doesn't
    work
    thank you
    [email protected]

    It seems to have to do with default time zone.
    You can consider explicitly defining the time zone you want the dates to be formatted against.

  • How to save data without coming out of a session..

    Dear Expert..
    I have created a module pool and I am creating the absence record for employee based on the data provided on the selection screen . I have used the following module for this purpose.
    HR_EMPLOYEE_ENQUEUE , HR_INFOTYPE_OPERATION and HR_EMPLOYEE_DEQUEUE.
    The record is not getting saved till I come out of the session. I have used the statement Commit-work as well. I want the absence to be created with the message coming on the main screen where by it allows the user to create the absence again for some other employee. Currently they need to go out and come back again...
    Regards,
    Vidya..

    Hi,
    After the FM HR_INFOTYPE_OPERATION 
    write
    wait up to <n> seconds.
    Regards,
    Srini.

  • Does any one know how to fix width of column generic and also wrap data without space

    I make following  changes in Template > Column Template > Column Template 1
    <td #ALIGNMENT#; headers="#COLUMN_HEADER_NAME#" style="width:300px; white-space:-moz-pre-wrap !important;word-break: break-all;"> #COLUMN_VALUE# </td>
    data is wraping but width is not getting fix.
    so any one can tell me how to solve the problem.

    Hi,
    It is much easier help on layout issues when you create example to apex.oracle.com.
    Regards,
    Jari

  • ICal new Reminders don't save data without 'apply' button

    When I create an iCal reminder, entries are lost switching fields, unless I click 'apply' button after EVERY change. Example: enter title field, then tab or click to date field; result = title field is lost, reverting to default "New Reminder".  This does not happen entering a new iCal event; only Reminders.
    Workaround (very annoying): click 'apply' button after modifying every field.
    ical 5.0.3; os lion 10.7.4.
    It only happens on my macbook pro, not on iphone or icloud.  icloud syncing is fine once I finally enter the new reminder.

    Hi tammarieg,
    Thank you for your question, the update was meant to fix some of the issues seen in the release notes. [http://www.mozilla.org/en-US/firefox/29.0.1/releasenotes/] Check out the blog for future updates as well as sign up for the newsletter for direct information on updates.

Maybe you are looking for

  • How can I move photos from my pc to the Ipad2

    If it makes a difference they are all jpeg files and my oc is running windows 7

  • Cant start firefox. Uninstall and reinstall don't help

    It seems I got a virus that stopped firefox from opening and created ad pop ups on explorer everytime I open a new window. No software detects and corrects the virus so I restored the computer to before the infection but firefox still won't open even

  • "Win 2000 Driver for Lab-PC+"

    Trying to use a Lab-PC+ card with LabVIEW 6i on Win 2000 system

  • How NOT to cross-sync apps between devices?

    Hey gang- I backup all my iOS devices to iTunes on my desktop iMac.    I like everything about that except the fact that if I update an app, for example, on my iPad, iTunes then updates that app on my iPhone on the next Sync.    For lots of reason, I

  • Recreation of EM repository

    I followed the steps from here http://www.almohem.com/oracle/dba/reacreate-oracle-entrprise-manager-dbconsole-emca-config-dbcontrol-db-repos-create/ But after connecting with sysman, i tried to drop that queue table SQL> conn sysman/sysman Connected.