JDBC to 9iLite on Pocket PC

I am looking for some direction for developing an application gui front end for a pocket pc that uses only awt. I have limited Java experience and am learning new things all the time. My application is a data collection tool and requires some back end lookup tables using Oracle Lite to populate dropdown lists. Code examples or urls to help are appreciated.
Thanks in advance

Is there any other language capable for developingon
pocket pc?You mean like C, C++, C# and probably half a dozen
others?Ceci! what platforms are available for C++, you must nsr ugrently

Similar Messages

  • 9iLite on pocket pc to slow

    I am using oracle's jdbc driver to access 9iLite on pocket pc 2002 and it is very slow.
    I am reading around 1400 records from table and putting into combo box for application... it is taking 30 seconds to load those records.
    Any body has any solutions or suggestion for above problem?

    You have JVM's for the pocket pc. Those JVM's support different kind of so-called profiles, such as CLDC (connected limited device configuration, and CDC (connected device configuration). Two virtual machines which are pretty good are CReMe and J9 (by IBM). If you do a search on this I am sure you'll get your questions answered. It isn't quite an easy job though and much research will be needed.

  • JDBC access to Oracle Lite from midlet on j9 pocket pc

    Hi all,
    Is it possible to access an Oracle Lite database from a MIDLet applicatie
    running on a POCKET with the J9 virtual machine? I want to use MIDP and not the Personal Profile to be able to use the Oracle webservice proxy with the J2ME client SDK.
    I think that I only have to include the appropriate libraries (classes12.jar or olite40.jar) in my project..Am I right?
    Thanks in advance,
    Tom Hofte

    Hi,
    Please do not get me wrong , I am sending this reply to get some help from you about your findings .
    I am s/w developer who is involved in application development for PDA devices
    As an option ,
    I have installed oracle9i database in a machine which has win2k server OS and then
    Installed oracle9iLite mobile server sharing the same <ORACLE_HOME> on the machine.
    I am trying to configure and start the mobile server in the “STANDALONE MODE”
    When I typed webtogo on the cmd line , it did not respond , instead it said “Unrecognized option”
    Then when I tried to execute the weg-to-go executable file in the <ORACLE_HOME>\mobile\server\bin directory ,
    It did not respond .
    Can you please help me out to sort out this problem,
    And also give me some more useful hints to configure the mobile server as a module in oracle9iAS.
    Expecting an early response
    Thanks in advance
    yogaraj

  • JDBC API ( JSR 169 ) Implementation for accessing oracle lite database

    We are developing an application using IBM J9 (CDC and Foundation Profile) on Pocket PC 2003 environment with SWT as the front end development. We are using Oracle Lite 9i as the Client database.
    We have sucessfully installed Oracle Lite and was able to create tables in the database.. however we could not find the JDBC API (java.sql and javax.sql packages which is JSR 169 JDBC 2.0/3.0) inorder to load the JDBC driver(OLITE40.jar) and access the oracle Lite Database on Pocket PC.
    IBM J9 Micro Environement does not have this support.
    I am wondering if Oracle provides this implementation.
    If not is there a get around.
    the client database is crucial to the application and i would really appreciate an answer to our problem.

    Check out
    http://groups.google.com/groups?hl=en&lr=&threadm=cjgl3g%248hhm%241%40news.boulder.ibm.com&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dibm.software.websphere.studio.device-developer
    I have had the same issue before.
    Regards,
    Ron

  • Trouble to connect to Oracle Lite with JDBC

    Hi.
    I have installed Oracle Lite 9i on my PC (Win 2000 Pro). Then I connected an HP Jornada 525 (WinCE 3.0) and with
    ActiveSync I installed the Oracle Mobile Client. Using MSql, I created some tables and did some data inserts - Oracle
    is working fine on the Pocket PC. The next step was to create an Java application that will run on the Jornada to
    connect to this database and edit its data. Here is the initial source code:
    import java.sql.*;
    public class JDBCEX {
    public void JDBCEX () {
    public static void main(String args[]) {
    Connection conn = null;
    Statement stmt = null;
    ResultSet retset = null;
    try {
    Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
    conn = DriverManager.getConnection("jdbc:Polite:Polite","system", "manager");
    catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    This works fine on my PC, but in the Pocket PC it gave me: java.sql.SQLException: Internal Error. This after I expanded
    the jar files, 'cause before it tells me that ther is no oljdbc40 on the shared library path. I adjusted the classpath on the
    registry, but i does not have any impact ... There is no file with name oljdbc40, only JARs olite40 and olitejdbc40. I installed
    olitejdbcpj40.jar, and setting this library leads to the same error above.
    What could be wrong? Do you have any tutorial or can you list all steps necessary to bring this working?
    Thanks

    If you're attempting to use the ODBC API directly, have you downloaded the ODBC SDK from Microsoft? That will include some sample code, which is a great starting point. So far as I'm aware, you shouldn't need to configure anything in Borland C++ that you don't have to configure in any other C++ compiler to use ODBC.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Pocket

    I have created a demo application for a pocket pc 2002 device using an access database and embedded visual basic, now I want to create the same application using Java technology as a comparison.
    I have successfully created a couple of awt applets that run using Personal Java on the device, but I'm not sure what to use for a database and which is the best way to connect to it.
    Ideally I'd like to use the same database on the desktop system as the device for consistency, but I'm having trouble finding a way to connect to any of the databases we use here from the pocket pc.
    Any advice would be greatly appreciated.

    The JDBC API is the usual method used to access databases from within Java. (http://java.sun.com/products/jdbc/)
    You can search for JDBC drivers (to access specific databases, such as MS Access) at:
    http://industry.java.sun.com/products/jdbc/drivers
    Tom

  • JDBC driver for SQL Server Compact Edition

    Hi,
    I'm trying to run pc java application on Pocket Pc (Mobile 5.0) with SQL Server Compact edition.
    The error message is:
    java.lang.UnsatisfiedLinkError: java/sql/DriverManager.getCallerClassLoader()Ljava/lang/ClassLoader;
    at java.sql.DriverManager.getConnection(Unknown Source)...
    Should I use a special jdbc driver for SQL Server Compact Edition? Is there one?
    Mixxo

    Hi,
    I got an answer from msdn forum:
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2307542&SiteID=1.
    There is no jdbc driver for SQL Server Compact Edition. OleDB and ADO.net are available. Now I need to know how to use them (in Java)...
    Thanks, Mixxo

  • Websphere 5.1 Jtds jdbc driver issue

    Can some one suggest the possible solution to this issue.
    I am trying to use Jtds 1.2 jdbc driver to connect to Sqlserver 2000 from the websphere 5.1 app server ( actually test server environment from WSAD 5.1.2) and I am getting the SQLException as follows "The requested size is greater than the maximum number of rows" . We have the same Jtds driver running fine on JBoss app server for the same application. So I am guessing it must be some configuration that I am missing in websphere that I could nt able to figure out. Appreciate if some one can direct me.
    The run time error....
    [7/3/06 11:34:47:297 CDT] 7c2fe6bb WebGroup I SRVE0181I: [Form Action Servlet] [ARJ] [Servlet.LOG]: java.sql.SQLException: java.sql.SQLException: The requested fetch size is greater than the maximum number of rows.
         at net.sourceforge.jtds.jdbc.JtdsStatement.setFetchSize(JtdsStatement.java:956)
         at net.sourceforge.jtds.jdbcx.proxy.StatementProxy.setFetchSize(StatementProxy.java:393)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.enforceStatementProperties(WSJdbcStatement.java:290)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeQuery(WSJdbcStatement.java:443)
         at com.actek.j2ee.common.sessionbean.QuerySessionBean.processQueryParm(QuerySessionBean.java:140)
    and the concised SQL query, app error are as follows...
    SELECT TOP 101 P.CreditTrnNo, P.CreditType, P.CustomerNo, P.Reviewed, P.NextReviewDate, P.DateComp .......... FROM CreditTrn P LEFT OUTER JOIN Customer Customer_CreditTrn ON P.CustomerNo = Customer_CreditTrn.CustomerNo LEFT OUTER JOIN Dealer Dealer_CreditTrn ON P.DealerNo = Dealer_CreditTrn.DealerNo LEFT OUTER JOIN UsrSet UsrSet_CreditTrn ON P.ChkUserNo = UsrSet_CreditTrn.UserNo WHERE Customer_CreditTrn.CustomerId = '013108' ORDER BY P.SalePend DESC, P.CompReq DESC, P.TrnType, P.FstDate, P.FstTime
    java.sql.SQLException: The requested fetch size is greater than the maximum number of rows.
         at net.sourceforge.jtds.jdbc.JtdsStatement.setFetchSize(JtdsStatement.java:956)
         at net.sourceforge.jtds.jdbcx.proxy.StatementProxy.setFetchSize(StatementProxy.java:393)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.enforceStatementProperties(WSJdbcStatement.java:290)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeQuery(WSJdbcStatement.java:443)

    It passes the J2EE 1.3 certification ...So it is JDBC 2.0 compliant.
    How does it rate with JDBC 3.0? Like mostly
    complete? Or all complete but just not certified
    (presuming such a certification exists.)It's both JDBC 2.0 and 3.0 compliant. The problem with the J2EE 1.4 compliance test suite is that it's not publicly available (1.3 is) so we simply can't test against it. We are trying to get jTDS certified, but it costs $2000 and we don't have that kind of money (not unless we pay from our pockets). We intend to do it, from donations and commercial support, but we're currently quite far from the $2k target. Even without an official certification jTDS is the driver of choice for a number of applications that need JDBC 3.0 features (e.g. Hibernate).
    The only missing JDBC 3.0 features are connection pooling and row sets. The reason we did not implement these features is that there are good, free third party implementations out there, which are probably better implemented and tested than anything we could come up with (namely DBCP and c3p0 for connection pooling and the Sun reference implementation for row sets). Regarding connection pooling, jTDS does implement the PooledConnection interface, it just doesn't implement the pooling DataSource.
    And it does windows auth as well as database auth
    right (not a new feature but I want to make sure I
    remember?)Yes, it does both SQL Server and Windows authentication. Windows authentication can be done using the credentials of the currently logged user (i.e. without the need to specify a user name and password) or by providing a Windows user name and password (this is useful when logging in from a non-Windows machine or a machine outside of the domain to an SQL Server that is only configured to accept Windows authentication). As far as I know the second Windows authentication mode is only supported by jTDS.
    Alin.

  • J2ME - Pocket PC: neded advices on how to plan the application

    Hi,
    I plan to port to the Pocket PC platform an e-commerce application I developed using JSP/Servlet with BC4J (some pages use direcltly JDBC).
    My actual web application has those architecture and features:
    - the database is Oracle 8.1.6;
    - the output of the application is HTML (no use of Applets), with some JavaScript and css StyleSheets;
    - the application has the standard features of an online-shop, such as shopping cart management, product search;
    - the application gives to the customer other informations, such as order-tracking, sending of news documents to the customers, ecc...
    My PDA application should have this features:
    - on-line and off-line work (connected to the Internet or to a local replica of the database);
    - Only the shopping features are requested.
    I have some doubts on the best strategy to follow to develop such an application:
    - Which database to use (Oracle lite or XML files or ???) to store the data on the PDA?
    - How to manage the data replication?
    - For the on-line work, I think that the user can connect to the standard Web Application (or to an optimized version for little screens). What is your opinion?
    - For the off-line work, I am not sure which GUI to use for the client (HTML or Swing)? I read on this forum about problems with css with Pocket IE; have I to avoid the use of css stylesheets?
    - If I write my application using BC4J, how big will be all the application in Mb (jars, application server, etc...)?
    - Which software do I need for the development and for the deployment (I am now downloading the J2ME Extension and Viewlets)?
    - Other issues I have to care about?
    All help and/or samples and/or useful links/readings are welcome.
    Thanks,
    Marco.

    Marco,
    Considering the processing capabilities of a Pocket PC, I wouldn't go for J2ME, with is mostly dedicated to the cell phones. The PDAP (PDA Profile) for J2ME is not available yet, and your UI would look pretty poor on a Pocket PC as the only available profile so far is the MIDP (Mobile Information Device Profile).
    The other solutions you suggest sound much better, like Oracle Lite. OLite has native synchnronization capabilities with Oracle Enterprise Edition, and that would address your replication needs. Plus it provides a connected/disconnect feature for HTTP/Servlet/HTML that makes the user work transparent. I do beleive that this is avalaible for the Pocket PC as well.
    You should serach OTN this way for white papers, demos and sample code.
    Please let us know if you need more information,
    Olivier

  • 9iLite with XSU

    I am trying to use the XSU with 9iLite. The xsu states that it will work with any of the jdbc drivers BUT when I try to create the OracleXMLQuery I get a Class not found error on :
    java.lang.NoClassDefFoundError: oracle.sql.Datum
    void oracle.xml.sql.query.OracleXMLQuery.<init>(java.sql.Connection, java.sql.ResultSet)
    So far the differences that I see are the lite jdbc classes are in the archive OLITE40.jar with the path to the Datum class being oracle.lite.poljdbc.*. It seems to me that the OracleXMLQuery class is trying to find the class Datum at oracle.sql.*
    Anyone able to use xsu with 9iLite?
    I have imported these:
    import java.sql.*;
    import oracle.lite.poljdbc.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    this statement causes the exception:
    qry = new OracleXMLQuery(conn, rs);

    Hi,
    The solaris version is solaris 8
    The jdk version is j2sdk1_3_1_06
    ORACLE_HOME=/opt/mobilesrv/app/mobile/product/5.0.2
    LD_LIBRARY_PATH=/opt/mobilesrv/app/mobile/product/5.0.2/lib:/opt/web/apache_1.3.26/libexec:/opt/mobilesrv/app/mobile/product/5.0.2/mobile/server/bin:/opt/mobilesrv/app/mobile/product/5.0.2/ctx/lib:/opt/mobilesrv/app/mobile/product/5.0.2/jdbc/lib:/usr/j2sdk1_3_1_06/jre/lib/sparc:/usr/j2sdk1_3_1_06/jre/lib/sparc/client
    JAVA13_HOME=/usr/j2sdk1_3_1_06
    JAVA_HOME=/usr/j2sdk1_3_1_06
    PATH=/opt/mobilesrv/app/mobile/product/5.0.2/bin:/opt/mobilesrv/app/mobile/product/5.0.2/mobile/server/bin:/usr/X/bin:/usr/j2sdk1_3_1_06/bin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/j2sdk1_3_1_06/bin:.
    Hope this will help you
    Regards,
    David

  • J2ME on Windows Mobile 5.0 Pocket PC

    I need to make a java application on a Windows Mobile 5.0 Pocket PC
    It has around 200 Mb of memory I think. Am I correct that I should be using J2ME?
    Which JVM should I use? I will need a graphical toolkit and whatever tools are needed to use JDBC.
    How do I get the JVM onto the device?
    Thanks in advance, any help would be much appreciated! I am very new to hand-held devices.

    Well maybe it's not a Java ME CLDC/MIDP Thread. Depending on your PDA, you could use more than a subset of the J2SE API ... Furthermore, if you want to use JDBC, you can not use it on most Java ME phones because it's an optionnal API.
    Here are some that could feet your needs (my favourite ones are first) :
    * IBM's J9 VM
    * Insignia's Jeode JVM
    * Sun's Personal Java
    * Mysaifu JVM
    * NSICOM's CrEme JVM
    * Access JV-Lite2 JVM
    Regards

  • Developer 6i with 9iLite DB

    Our Application needs strored procedures, which have been loaded
    and populated
    to 9i Lite.
    Can execute stored procedure against 9iLite with mSQL connected
    via jdbc:polite.
    But Forms connected via OCA and ODBC doesn't know nothig about
    these procedures, e.g. objectnavigator
    window -> database objects -> stored program module shows
    nothing. And PL/SQL
    reports an Error, translating calls to these procedures.
    Further more PLUS80 connected via OCA and ODBC also doesn't know
    these stored procedures ans hence can not execute them.
    Having products installed in separate home's as follows
    Home: ODev6i
    + forms 6i 6.0.8.17.1
    + OCA for ODBC 6.0.5.35.0
    Home: O9iLiteRel5
    + ODBC for Oracle Lite 4.00.00.00
    + 9iLite Release 5
    What goes wrong? Does any one know, whether or not stored
    procedures can be used via OCA and ODBC against 9iLite Release
    5.

    Are you able to connect via SQL*Plus? Also, what database version are you connecting too? Have you tried using the Net Config Assistant to see if you are able to connect successfully? Also, when you copied your tnsnames.ora did you copy the sqlnet.ora also?
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 9iLite and multibyte character set support

    Does 9iLite support a character set that will allow for accented characters?
    for example: i

    "NLS Character Integrity Issues for Consolidator
    When Mobile Sync synchronizes with an Oracle database which has a
    multibyte character set other than UTF8, the character integrity issue
    occurs. Mobile Sync retrieves data from the server database through Oracle
    8.1.7 OCI JDBC Driver for Oracle9iAS version 1.0.2.2, and 9i for Oracle9iAS
    version 2.0. Character sets are converted from database character sets to
    UTF8 by Oracle Servers NLS functions. In the code conversion, some
    multibyte characters are garbled because of the difference of the character
    mapping. This is not a bug of Mobile Sync.
    For more Information, see "Character Integrity Issues in NLS Environment"
    technical paper on Oracle Technology Network (technet.oracle.com)
    Java/SQLJ & JDBC section in Technologies category."
    from the Readme file with the media (read the manual I guess)

  • Running Packaging Wizard in 9iLite Linux

    How do I run the Packaging Wizard from 9iLite installed on a Linux machine?
    I see there is a wtgpack.jar in the 9iLite/mobile/server/bin directory. Should i run this? And how?
    And will Pacaging wizard run on VNC?
    Thanks in advance
    Vikas

    You need to export a whole lot of jar files into the classpath. See this.
    CLASSPATH=.:${ORACLE_HOME}/mobile/sdk/bin/webtogo.jar:
    ${ORACLE_HOME}/mobile/sdk/bin/aes.jar:
    ${ORACLE_HOME}/mobile/sdk/bin/devmgr.jar:
    ${ORACLE_HOME}/mobile/classes/jzlib.jar:
    ${ORACLE_HOME}/jdbc/lib/classes12.jar:
    ${ORACLE_HOME}/mobile/classes/consolidator.jar:
    ${ORACLE_HOME}/mobile/classes/classgen.jar:
    ${ORACLE_HOME}/mobile/classes/javax-ssl-1_2.jar:
    ${ORACLE_HOME}/mobile/classes/oracle_ice.jar:
    ${ORACLE_HOME}/mobile/classes/help4.jar:
    ${ORACLE_HOME}/mobile/classes/jewt.jar:
    ${ORACLE_HOME}/mobile/classes/jssl-1_2.jar:
    ${ORACLE_HOME}/mobile/classes/ojsp.jar:
    ${ORACLE_HOME}/mobile/classes/servlet.jar:
    ${ORACLE_HOME}/mobile/classes/share.jar:
    ${ORACLE_HOME}/mobile/classes/wtgpack.jar:
    ${ORACLE_HOME}/mobile/classes/xmlparserv2.jar:
    ${ORACLE_HOME}/mobile/classes/jewt-nls.jar:
    ${ORACLE_HOME}/mobile/classes/phaos.jar:
    ${JAVA13_HOME}/jre/lib/rt.jar:
    ${JAVA13_HOME}/lib/tools.jar:
    ${CLASSPATH}
    fi
    export CLASSPATH
    $JAVA13_HOME/bin/java oracle.lite.web.pack.JupPackWiz
    ORACLE_HOME is the path to 9iLite.
    Vino

  • Ipaq 3850, Windows Pocket PC. CE 3.0.1 Espaqol

    It is possible to use the referenced platform to deploy an application build for the Pocket PC (ARM) Inglis selection in the WTGPACK wizard?, or it is necessary to use the English version of the operating system.
    Thank you in advance.

    It is possible to use the referenced platform to deploy an application build for the Pocket PC (ARM) Inglis selection in the WTGPACK wizard?, or it is necessary to use the English version of the operating system.
    Thank you in advance. If you want to synchronize with a Spanish application on your PocketPC from the Mobile Server, or use Spanish MLS (Multi-Lingual-Services) on your PocketPC 9iLite database, then you must install the Mobile Server on host that is already configured in a Spanish version of the operating system. The language version must be supported by MLS.
    The Mobile Server will be installed and subsequently operated (including synchronization) in the host's native language. This is how you make languages work in 9iLite 5.0.1. FYI: Oracle 9iLite is not NLS compliant however fully supports MLS functionality.
    RP.

Maybe you are looking for