Application Development using Jdeveloper using Oracle Lite

Hi all,
I need to develop an application that works with the oracle database lite technology.
Ritght now I am working on some 10 tables .The Scenario is like the application developed is deployed on the middle tier and the user downloads it and goes offline. And he uses the application offline with the same tables present (that are used in developing the application) in another database present on the user machine . I have gone through the ADF BC tutorials but I couldn’t figure out whether the business components (view objects, entity objects) that are created by using tables (connecting to a particular schema in the database) can work if the schema changes(coz I tried doing that and faced errors that connection to database couldn’t be established ). I think this might be because the schema has changed.
Does this Business components created work if the database schema changes?
Is it possible to develop an application using java swing that works on the oracle database lite? I need a standalone Windows 32 application to be developed.
Thanks in advance

Let's assume you have two database schema USER1 and USER2
And let's assume that USER2 grants the appropriate privileges so that USER1 can see his tables.
If you connect as USER1 in JDeveloper and create an entity object based on a table USER2.SOMETABLE, then the SomeTable entity object will remember the USER2 schema name as part of the table name.
If instead if USER1 creates an entity object against a table in his own USER1 schema, then the entity object will only record the "TABLENAME" in the entity metadata, without a schema qualifier. In this case, if you connect to a different schema at runtime which still has the expected TABLENAME table in it, then it will work fine.
Generally you would want to use an entity based on a synonym instead of an entity based directly on a SCHEMANAME.TABLENAME so that it wouldn't matter if the schema changed.
Yes, you can build Swing, JSF, or JSP applications against Oracle Lite using ADF BC.

Similar Messages

  • Error after deploying a JSP Application developed with jdeveloper

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through the oracle http server included in
    Oracle Enterpride Edition 8.1.7
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Of course I know ,this file should be deployed as well. I have done this.
    Any ideas what's wrong ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    Yep, I had the same problem deploying from JDeveloper 9.3.1, followed:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html
    and it works! thanks for the clue! (now I only have to find out what ADF is now!)
    Carlos.

  • Java JSP application  developed in JDeveloper, would like to deploy on WebL

    Hello All Gurus: Can you tell me what to do if I have an application developed in JDeveloper, but would like to deploy on WebLogic 9x server. It deploys fine in Oracle App server(on laptop).
    First, I am not able to create a connection to the weblogix from JDev....
    Thanks

    Which JDeveloper version?
    For 10.1.3 see:
    http://www.oracle.com/technology/products/jdev/howtos/weblogic/deployingwls.html

  • JDeveloper and Oracle Lite

    Now that I adjusted the jdeveloper.ini file to include d:\oracle\home0\lite\classes\Olite40.jar after the last entry in IDEClassspath, the error message switched from "can't find oracle.lite.poljdbc.POLJDBCDriver" to "no oljdbc40 in java.library.path". I am using Oracle 8i lite version 4.0.1.0. What am I misssing? Thank you in addvance for the reply.

    Try also adding the path to oljdbc40 the SLP and JLP settings in the jdeveloper.ini file.
    The following is from the 3.1 Release Notes:
    JDK 1.2/1.3 and Native Code
    If you are using the Oracle JDBC/OCI or Oracle Lite JDBC Driver with JDeveloper (JDK 1.2/1.3) add the %ORACLE_HOME%/bin directory to java.library.path and
    sun.boot.library.path in bin/jdeveloper.ini. It should look like this:
    [Java_2]
    JDK=java version "JDK1.2.2_JDeveloper"
    Java2VM=OJVM
    JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;C:\ORANT\BIN
    SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;C:\ORANT\BIN
    If you are executing applications which use the JNI to call native libraries (DLL files) under JDeveloper with JDK 1.2/1.3 it is necessary to edit your project properties. Add to the
    Java VM Parameters, under the Run/Debug tab the following setting: -Djava.library.path=(Path where DLL files are located)".

  • Web service(developed in jdeveloper) deployedin Oracle is not detecting

    I have developed a webservice using jdeveloper following the document (http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm) deployed and ran in OC4J. But when I am trying to deploy it in oracle10g(10.1.3) its showing the error in browser
    */WebServices/HelloJavaWSSoapHttpPort not found on this server*
    But the port name HelloJavaWSSoapHttpPort is found in the WebServices page

    Hello,
    I would like to understand better your use case...
    So you have some Tuxedo services, and (a) these services are exposed as Web Services ?
    Or (b) you want to take tuxedo and expose them as WS from JDeveloper/OracleAS?
    If Tuxedo can be exposed as WS (a) you can consume them directly as it is from Java using a WS client.
    If you need to expose Tuxedo as WS (b), -if not possible our of the box- you should be able to use the Java API of Tuxedo (was called JOLT) and program you service from these class like any WS written in Java.
    Regards
    Tugdual Grall

  • Using JDeveloper with Oracle 10g Express Edition

    Hi,
    can JDeveloper 11g 11.1.1.4.0 Studio Edition be used to develop applications connection with Oracle 10g Express Edition?
    If not, is there a version downloadable that can?
    TIA

    Yes, it can.
    John

  • Error deploying Jclient with oc4j using webstart with oracle lite

    I have included almost all the files that I found in any documentation.
    configured data sourses doe oc4j, put the oralite40.jar in lib directory of oc4j but still getting this error when I start the deployed application
    oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
    (oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
    ----- LEVEL 1: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    ----- LEVEL 2: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    ----- LEVEL 3: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    ----- LEVEL 4: DETAIL 0 -----
    (oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
    ----- LEVEL 5: DETAIL 0 -----
    (java.sql.SQLException) No suitable driver
    can any one help me

    I am also getting the same error when trying to test the jspx from JDev. I created an EO, VO and Application Module connecting to MS SQL server 2000 database. I created the Database using JDBC-ODBC bridge and was able to access the tables successfully. When testing the Application Module from the BC browser i am able to navigate between the records of the EO/VO successfully. I included this VO as a Read Only table in one of my jspx page and when trying to test the jspx page i get the same error.
    Please help and let me know what i am missing.

  • What does Application Development Runtime use oraInventory for?

    Hi everyone,
    I am very new to the ADF and JDeveloper toolset, so I apologize if this is a dumb question.
    I am working with Oracle BI Applications. In particular, there is a product called Spend Classification. Part of the setup is to install Oracle Application Development Runtime (http://download.oracle.com/otn/nt/middleware/11g/ofm_appdev_generic_11.1.1.2.0_disk1_1of1.zip).
    During the install for that product, we ran into an error, insuffcient privildges to the oraInventory folder.
    What does this software use the oraInventory folder for?
    -Joe

    The oracle installer uses the oraInventory directory to keep track of what software is installed on a machine
    John

  • How to connect using netbean 6.5 and oracle lite 10g

    Hello everyone.. I am really really new in this kind of thing. My task is that I need to develop a simple system using netbean and oracle lite 10g..Does anyone can at least give me a little bit tutorial for a head start in order to connect them.. I really appreciate for those who answer this.. Thank you guys...

    you mean to connect from java to oracle lite server or client?
    -if it is server you mean then you probably need to run some oracle apis (e.g. the consolidator aps).
    String url="MOBILEADMIN/123@jdbc:oracle:thin:@MYSERVER:1521:MYDB" ;
    ResourceManager.initialize(url);
    rm = ResourceManager.getInstance();
    User usr = rm.getUser(user);
    for (Enumeration e = usr.getDevices(); e.hasMoreElements();) {
    Device dev = (Device)e.nextElement();
    }//AND you may continue from here in order to send commands to the devices
    -if you have a oracle repository at the back end and you want to connect to that then you can connect like:
    DriverManager.registerDriver ((Driver)Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance ());
    String url="jdbc:oracle:thin:@myserver:port:database;
    c=DriverManager.getConnection( url,"username", "password" );
    s=c.createStatement();
    s.executeQuery("Select TRIM(CODES) AS CODES,TRIM(SURNAME)||'_'||TRIM(FIRSTNAME) AS NAME from MYDB.USERS");
    ResultSet rs =s.getResultSet();
    -now if you want to connect to the oracle lite client database then you may connect using the polite
    you should write something like (i havent tried it because i use handheld clients)
    String ConnectMe=("jdbc:polite:SCOTT/tiger:polite;DataDirectory=c:\Oracle_Home;Database=polite;IsolationLevel=SINGLE;USER;Autocommit=ON;CursorType=DYNAMIC")
    try {
    Connection conn = DriverManager.getConnection(ConnectMe)
    catch (SQLException e)
    (check the internet for jdbc:polite connection strings)
    gl

  • Oracle Lite / Jdeveloper 3.1 / oljdbc40 URGENT

    Hello,
    I am trying to demonstrate that it's possible to develop with jdeveloper 3.1, using Oracle Lite.
    But when I try to open a connection with the POLite sample base (using the business components projet wizard), after having configured jdeveloper for Oracle Lite as mentioned in the release notes (libraries), I allways get the following message:
    "oljdbc40 not found in java.library.path"
    I tried to copy oljdbc40.dll to "jdk_root"\jre\bin and "jdk_root"\bin;
    I have installed the patch 400214.
    Why can't I get success to this connection?
    French Oracle support proposed me to download Jdeveloper 3.1, what I did with a lot of patience (very difficult to access have the connections).
    All what I have tried (I hane spent some full days now on it) didn't lead to any result... An other remark: the problem seems to be identical on Windows NT and windows 98.
    Could anyone help me now, if possible urgently, because I have now to present something working to the other members of this project team.
    I thank the person who will get me out of this blocking problem very warmly in advance, and hope there is a working solution for that... Sincerely. Alain T.S.

    I'm getting EXACTLY the same problem.
    Installation order was :
    JDeveloper 3.0
    Oracle 8I Lite
    Jdeveloper 3.1
    Please assit
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by alaints (Alain Ter Sakarian):
    Hello,
    I am trying to demonstrate that it's possible to develop with jdeveloper 3.1, using Oracle Lite.
    But when I try to open a connection with the POLite sample base (using the business components projet wizard), after having configured jdeveloper for Oracle Lite as mentioned in the release notes (libraries), I allways get the following message:
    "oljdbc40 not found in java.library.path"
    I tried to copy oljdbc40.dll to "jdk_root"\jre\bin and "jdk_root"\bin;
    I have installed the patch 400214.
    Why can't I get success to this connection?
    French Oracle support proposed me to download Jdeveloper 3.1, what I did with a lot of patience (very difficult to access have the connections).
    All what I have tried (I hane spent some full days now on it) didn't lead to any result... An other remark: the problem seems to be identical on Windows NT and windows 98.
    Could anyone help me now, if possible urgently, because I have now to present something working to the other members of this project team.
    I thank the person who will get me out of this blocking problem very warmly in advance, and hope there is a working solution for that... Sincerely. Alain T.S. <HR></BLOCKQUOTE>
    null

  • Oracle 11g and Supported Programming Languages for application development

    Hi,
    Currently we are running our Java application on Oracle 10g Lite. We are planning to upgrade to Oracle 11g Lite very soon. I have below queries to be answered.
    1. What are the programming languages supported for application development to work with Oracle 11g Lite mobile server and client ?
        - i have seen some note saying java and .net are supported. Wanted to know the complete list of supported programming languages on Oracle 10g Lite
    2. Oracle Forms 10g is supported on Oracle 11g Lite platform ?
        - i have some online application running on Oracle 10G Forms. Wanted to extend this to offline model using Oracle 10g Lite
    Thanks,
    Ashok Kumar.G

    Hi Ashok,
    1. What are the programming languages supported for application development to work with Oracle 11g Lite mobile server and client ?
                For the 11g version of the product, we changed the name to Oracle Database Mobile Server.    For clarity purposes, there is no product called Oracle 11g Lite mobile server.
                For a detailed list of what is/is not supported on the client, please consult the documentation.   See section 2.1 of the Mobile Client guide.  For programming languages you
                can use what you want, and we support the following technologies, JDBC, ODBC, ADO.NET.  What you code your application in is up to you.
    2. Oracle Forms 10g is supported on Oracle 11g Lite platform ?
                   On the database mobile server side of things we do not do testing with Oracle Forms 10g.    I do not know enough about applications developed with the Forms' product.   Database Mobile Server is a product that keeps tracks of changes that occur in a database, and then propagates those changes to an Oracle backend.   We offer 2 way synchronization between an Oracle backend database and a client.  If you are running the Forms application on the Oracle backend and want to propagate changes done out to the client, then this should work.    I say ** should **   because we have not tested it but I cannot think of a reason why it would not work.   It would be up to you to develop the client side application that would look at the data in the client database and display it to the user.    In the 11.x version of the product, we support 2 client databases, Berkeley DB and SQLite.
    thanks
    mike

  • PL/SQL Web Application managing Oracle Lite parameters

    After making my application for mobile devices using c# and Oracle Lite I am starting now to make the back office for the system's administration.
    For that I am using PL/SQL. Oracle Lite has an API in Java and C# through which I can manage user, publications and so on... What is the best way of doing this managing operations with PL/SQL? Is there procedures and functions I can use? Do I have to pass some weeks to understand all the tables used by Oracle Lite to manipulate them?
    Thanks for the support!

    As far as I know, there is only Java API for managing the application. You might need to look into making some java web services to handle this.

  • How to getJ2ME to work with Oracle Lite

    Has anyone tried using J2ME with Oracle Lite for PDA devices. We are trying to build a cross platform application. The handheld app will run on J2ME container (In PDA) . We want to use Oracle Lite , but cannot get J2ME to talk with Oracle Lite. Can someone help ?
    Is Oracle Lite Supported with J2ME for PDA

    Yes. please resolve it and also give pointers where it is mentioned - how one can use olite as a database on Nokia S60 3rd edition platform mobile devices with J2ME as developement plaltform.

  • Connection from jdeveloper to Oracle cloud service stopped working

    My connection to the Oracle cloud using a jdeveloper application server connection stopped working. The connection worked fine for a couple of days and I was able to deploy apps using it.
    I get the following error :
    Testing Cloud-Admin                    ... failed.
    listApplications failed.
    Check username, password, domain, instance.
    Check cloud sdk location & version: Tools->Preferences->Oracle Cloud
    0 of 1 tests successful.
    I double checked the AUTH details and also made sure the sdk location was correct and the same one that worked correctly earlier.
    Thanks.

    So this works intermittently without any changes ? Sounds peculiar, I haven't had such issues though there have been few occasions where the connection did not work, but those have always been very brief and rare. The only thing I can think of is some sort proxy issue. You probably need to contact the JCS support to get the issue investigated ..
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Distributing "Oracle Lite Multiuser Service"

    I am trying to use the type 4 java driver in my java application that connects to an Oracle Lite database. I found that in order for this to work, the olsv2040 service must be installed and then the "Oracle Lite Multiuser Service" started in Windows. This works well for my development machine, but now I want to distribute this without having to distribute the entire Mobile Development Kit. Does anyone have any suggestions on what can be done to distribute the necessary files/drivers so that I can install and start this service?
    Thanks.

    I am trying to use the type 4 java driver in my java application that connects to an Oracle Lite database. I found that in order for this to work, the olsv2040 service must be installed and then the "Oracle Lite Multiuser Service" started in Windows. This works well for my development machine, but now I want to distribute this without having to distribute the entire Mobile Development Kit. Does anyone have any suggestions on what can be done to distribute the necessary files/drivers so that I can install and start this service?
    Thanks.

Maybe you are looking for

  • How can I delete my first apple ID it interferes with apps I want to buy using my iCloud id

    I recently had my macbook pro worked on at apple, with great success.  I was told I would be able to delete my first apple ID which is a me.com account I now use I cloud and want the other to go away for good..  But it isn't as they said it would.  I

  • Safari hangs after Yosemite install;

    I installed Yosemite on my MAC Book Pro; When my Mac is in sleep mode and the cover is closed, Safari hangs and I get a blank screen; The only fix I found was to restart the Mac and safari is back. any recommendations on how to fix the safari issue?

  • How to read a excel file with more than one worksheet.

    Hi, I wanna read a sheet (anyone of it,not the first) in a excel.Who can help me! best wishes, Grant Chen

  • Computer not recognizing my Nano(1st) Gen

    Usually when I plug in my nano my computer will make a noise, then it will update my iPod if I have put on any new songs, well for some reason my compuer no longer recognizes my nano, although it will still charge, anyone know what the problem is or

  • ODM Sample Program Run Time Errors

    I try to run Data Mining Sample programs against Oracle Sample schema data. When run Java Programs, (in all algorithms) following Exception occur when build model : --- Build Model - using cost matrix --- treeBuildTask_jdm is started, please wait. ja