Database Lite with Apex
Hi,
I am looking at developing an integrated system for a client who requires that their off site tablet pc’s are able to synchronize with their central 10g database.
Database Lite looks ideal for this I am just looking for answers on a couple of points.
1. Does Database light allow for the installation of Application Express on the client system? This is our preferred development environment.
2. Can it be installed on Windows XP Professional Tablet PC Edition?
Cheers
Yog
If you want a HTML/Web app, you could either go with .Net or Java. You could build a PHP app I suppose as well. Most common use of web technology with Oracle Lite is Java/JSP J2EE (Oracle's ADF). The benefit of going with a Webtogo-OC4J application is that it is the easiest to deploy and maintain from a user deployment perspective. Java and J2EE, though are probably the most difficult in finding resources to build the application though. So there are pros and cons. It really revolves around the skill set of the organization. Frameworks in Java have made development smother than they were in the past and if you have the skills between J2EE and .Net, I would recommend J2EE for Oracle Lite.
Similar Messages
-
I am looking for a reliable embedded database with both a JDBC and Python interface. Does anyone have experience using a Python API, such as cx_Oracle, to connect to the Oracle Database Lite embedded database? Any suggestions or feedback would be appreciated...Thanks!
You can't use standard Oracle big server connection API - you have to use Oracle Lite specific one. Afaik JDBC is supported for Oracle Lite, but for Python I guess you'll have to use ODBC or wrap Oracle Lite SODA C++ API. You can read about supported connection APIs in the documentation: http://download-uk.oracle.com/docs/cd/B19188_01/doc/B15920/nvdb.htm#sthref102
-
How to get PDF Printing working with APEX packed with 11g
Hi ,
Recently i installed 11g db on one of my systems (Windows XP) ,as it comes with APEX i thought to move my apex app(which were in 10g) to the same .........when i moved my apps , i got everything working but PDF PRINTING .
I have configured Report Printing :
Print server: Advanced
Print server Protocol: HTTP
Print server Host Address: localhost
Print Server Port: 9704
Print server script :/xmlpserver/convert
Your help is appreciated.
Thanks ,
RibhiHi Jes,
Thank you for your reply. BI Publisher is runing on the same server where Database 11g with APEX installed. I loged in to the database as SYS DBA and copied and paste Oracle script below to enable Network services. The script run successfully, still cant print. Pls Help me to solve this problem.
Regards,
Ribhi
DECLARE
ACL_PATH VARCHAR2(4000);
ACL_ID RAW(16);
BEGIN
-- Look for the ACL currently assigned to '*' and give FLOWS_030100
-- the "connect" privilege if FLOWS_030100 does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
-- Before checking the privilege, make sure that the ACL is valid
-- (for example, does not contain stale references to dropped users).
-- If it does, the following exception will be raised:
-- ORA-44416: Invalid ACL: Unresolved principal 'FLOWS_030100'
-- ORA-06512: at "XDB.DBMS_XDBZ", line ...
SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
FROM XDB.XDB$ACL A, PATH_VIEW P
WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
EQUALS_PATH(P.RES, ACL_PATH) = 1;
DBMS_XDBZ.ValidateACL(ACL_ID);
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'FLOWS_030100',
'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
'FLOWS_030100', TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to '*'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
'ACL that lets power users to connect to everywhere',
'FLOWS_030100', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
END;
COMMIT;
Edited by: Ribhi on Nov 13, 2008 1:18 PM -
Dear All,
I have Dev6i certification. I want to know
1) if it is possible to develop a database application with APEX with all Developer's functionalities?
2) How can I get complete guide or training on APEX?
Thanks a lotHi Khawar,
+>> if it is possible to develop a database application with APEX with all Developer's functionalities?+
Well, in general, you'll find that there are some things from client/server which don't have equivalent functions on the Web. Notice that I didn't reference just Developer 6i and APEX, this applies to really any situation when you go from client/server to HTML Web applications. In some cases, you'll find richer functionality in Application Express.
+>> How can I get complete guide or training on APEX?+
Well, you can start at http://apex.oracle.com. There are a number of links under "Getting Started".
Good luck
Joel -
Cost of Database Lite server with the multiuser option
I have been testing the embedded version of Database Lite for past week and am impressed with the product. I understand that the cost of the embedded version is $50 per named user.
We will occasionally need to set up our application in a networked environment, so we need to know the cost of Database Lite (not the embedded version) running with the multiuser service. We would want to configure it as a conventional network database server with connections being made to it from remote computers. We do not need the data synchronization features. I cannot find an item for this on the Oracle commercial price list.
Thanks.You can use Oracle Lite in a multiuser service configuration. Branch Office uses this method. The service that needs to run is olsv2040.exe. Not sure if that comes bundled with the embedded version though.
jdbc:polite4@localhost:1531:olite_dsn to connect to the database. -
APEX Listener with APEX 3.0 on 11gR2
Yes, I am crazy.
We have many many APEX applications in APEX 3.0 running on a 10.2.0.4 database that needs desperately to be upgraded. As a test, I've set up a clean 11gR2 database and copied the production APEX database into it via datapump. I set up APEX Listener, as I don't have any OAS sitting around and the EPG doesn't seem to be supported for APEX 3.0... the Listener doesn't say one way or the other.
When trying to log in, I get the login page, but it tries to reference files such as apex_get_3_1.js while I only have files such as htmldb_get.js in my images directory in production. I noticed it is looking for what appears to be 3.1 files instead of 3.0 files... which concerns me.
The APEX listener appears to be more than just a Java PL/SQL gateway.
Is there a minimum version of APEX the APEX Listener supports?
Interested in pointers!
RobHi Rob,
Yes, I am crazy.Why would that be? ;)
We have many many APEX applications in APEX 3.0 running on a 10.2.0.4 database that needs desperately to be upgraded. As a test, I've set up a clean 11gR2 database and copied the production APEX database into it via datapump. I set up APEX Listener, as I don't have any OAS sitting around and the EPG doesn't seem to be supported for APEX 3.0... the Listener doesn't say one way or the other.APEX 3.0 is supprted by EPG. See the [url http://docs.oracle.com/cd/B32472_01/doc/install.300/b32468/post_inst.htm#CHDBEJDA]APEX 3.0 Installation Guide for details.
APEX Listener is capable of hosting APEX 3.0 as well, though APEX 3.0 wasn't supported anymore when APEX Listener was initially released. The current APEX release at that time was 4.0, so this would be the first version to be known as really stable, whereas you won't get any support for older releases anymore. From personal experience I know that there are now issues with APEX 3.1 and APEX Listener, so it'll probably also work with 3.0.
Concerning your database release, the minimum for APEX Listener is 10.2.0.3, so you're definetly safe on that part, though I'd recommend to upgrade as regular support for 10.2 databases ended.
When trying to log in, I get the login page, but it tries to reference files such as apex_get_3_1.js while I only have files such as htmldb_get.js in my images directory in production. I noticed it is looking for what appears to be 3.1 files instead of 3.0 files... which concerns me.This indicates that your APEX would actually be a 3.1 and you should update you images directory.
The APEX listener appears to be more than just a Java PL/SQL gateway.It is, but this has nothing to do with your 3.1 JS files, if this is why you stated this.
Is there a minimum version of APEX the APEX Listener supports?As mentioned above, 4.0 would be a safe approach, but 3.1 will definetly work, 3.0 probably will as well. I'd recommend you find out which APEX version is actually installed on your database before you consider any upgrade operations. Run the following query as privileged user:
SELECT comp_name, version, status
FROM dba_registry
WHERE comp_id = 'APEX';-Udo -
Performance issues ..with apex in reports version 3.1
Hello All,
I am using apex 3.1 oracle 10g.
I am facing with performance issues with apex . I am generating iteractive reports with apex and the number of records are huge - running in 30 to 40 thousands of records and the reports is taking almost 30 minutes.
How I can improve the performance of this kind of report. I am using apex collections.
How apex works in terms of retrieving the records -?
Please let me know .
Thanks/kumar
Edited by: kumar73 on Jun 18, 2010 10:21 AMHello Tony ,
The following are the sequence of steps to run the test case.
Note:- All the schemas , tables and variables are populated from database.
From Schema and Relations tab choose the following:
1) Select P3I2008Q4 as schema.
2) Choose Relation as query path.
3) Select ECLA, ECLB, MTAB as relations.
From Variables choose the following:
4) Choose the variables AGE_SEXA,CLODESCA,ALCNO from ECLA relation.
5) Choose the variables AGE_SEXB, ALCNO, CLODESCB from ECLB relation.
6) Choose the variables EXPNAME, ALCNO, COST_, COST from MTAB relation.
From Conditions: Click the Run Report button this generated standard report ( Total no of records in report – 30150 )
Click on Interactive report button –to generate an interactive report. ( Error occurred )
We are using return sql statement in generationg the standard report and collections for interactive report.
thanks/kumar -
Error while installing Oracle Database Lite 10.2.0.1.1 for Win
Hello,
I am trying to install Oracle Database Lite 10.2.0.1.1 on Windows XP. I am going according screens on this page:
http://www.oraclebrains.com/2008/07/installing-oracle-database-lite-10g-release-3-mobile-server/
But at Step:12 - Mobile Server repository Wizzard after password enter I get error --- Io exception: The Network Adapter could not establish the connection. May I insert specific password for Username SYSTEM? Or where is problem?
Thanks for hint
DavidHi,
I have the same problem but, how can i know what my SID is ? i am trying with "ORCL" and it doesnt work.
Do you know in which file i can get it ? in the documentation of the installation i found this:
"If you are not sure of the values to enter for the URL, then you can query the data dictionary to obtain these values.
Connect as SYSTEM and run the following queries.
To retrieve the SID, execute: select instance_name from v$instance;
If you need to retrieve the port number, check the listener.ora file on the
back-end database."
But how can i query the database if i have not finished to install it yet and where is located the listener.ora file ?
I hope you can help me.
Thank you. -
Performance Issues on Oracle Database Lite 10.3.0.3
Hello,
we have a big problem with one of our customers. He uses Oracle Database Lite in the standalone version. There are about 600 clients running a project with about 20 Publication Items. The customer works in the logistics field, so the Main time where nearly all clients want to sync and get their tours is from 02 AM to 05 AM, so that is the time with the most traffic.
Everything went well before last week. Suddenly the compose cycle needs (at least between that hours) about ten times longer than before. Normally we had about 40 - 80 seconds, now we have about 300 - 500 average with max values from over 1200 seconds.
Therefore we have a lot of conflicts and Disconnects on the clients. It is sometimes that bad, that nearly no client can sync successfully.
We checked our Selects in the publication Items, all are very fast and look good in the explain plan, so that shouldnt be the problem.
The installation is nearly in the Default state as oracle does when you install Oracle Lite. Are there any standard settings we can change? Does anyone had the same problem already?
The Machine is a Windows Server 2003 with an Intel Xeon CPU E7-4820 and 4 GB of RAM.
Of course our customer gets a lot of trouble because of that and we have to improve and fix that as fast as we can.
Any recommendation or opinions are very welcome.
If I have to give more Info about somewhat please feel free to ask, I will give it as fast as possible.
Thanks in advance
HolgerHey,
many thanks for your proposals. The MGP runs every minute like the default settings are, because our application is a time sensitive. The data have to be very fast on the clients in the nights and thex are only a few minutes before available. I think the parameters are important in environemnts where the mgps runs only after a few minutes?
Let me summarize the situation since my las post:
We have days (nights) where everything goes quite well. Mainly that is thrusday and friday. But on the other hand, there are days where everything really is a mess.
The mgp caycles increase and when you look to mobile manager you see 70 clients syncing very very slowly (about 300 - 600 seconds) for just a little bit of data. Then we get the disonnects and the messages in the err.log.
What do you think, is this somehow network related, or ist this a logical problem in the Mobile Server itself?
Like postes earlier, there are 500 clients syncing against a standalone mobile server.
We just couldnt figure out, why the mgp times somehow and sometimes increase that much, that there are these problems.
First we thought, that they sync newly over wireless (GPRS or Edge) and that syncing is that slowly, that everything goes down, but arent sure. Is this possible because of the architecture of the Mobile Server? That a very slow network can slow down the mgps and that does timeouts and all the other stuff?
How many clients can a Standalone Mobile Server normally serve at same time without performance problems. What do you thin about the hardware I wrote? Is it powerful enough? -
How to configure printing with apex 3.1.2
I am trying to use Apache FOP with Apex 3.1.2 and I am unable to find the place to configure Apex.
The document I am using is located at [http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html] and the important paragraph is the following:
Step 2: Configure Oracle Application Express to use the JSP for PDF printing
Once you have the FOP installed, access the Report Printing parameters:
1. Access the Administration Services home page
2. Select Manage Service
3. Select Instance Settings, under Manage Environment Settings
4. Click Report Printing to focus on just the Report Printing attributes
I am trying to locate those settings. In the page with the breadcrumb "Home>Administration>Manage Services" the is no "Manage Environment Settings".
Am I looking in the wrong place? Is there a special user that should be used, like sys?
The installation is an Oracle XE with the Apex upgraded to 3.1.2You need to be logged in to the 'internal' workspace .
Varad -
Storing MS-Word and PDF documents in database uploaded through APEX
I want to allow users to upload MS-Word and PDF documents they have created / edited outside of the APEX app for storage in the database along with the other app data.
I know that I should use a file browse item in a region for this purpose.
I have a some questions:
1. What database datatype is best for storing MS-Word and PDF docs? CLOB?
2. How can the user see that the file has been uploaded? In other words, how can they see that the filename has been uploaded? I want to show this on the page for later viewing. I have uploaded a document, but later, I have no way to see that the document has in fact been uploaded. From the APEX page, the file browse item does not indicate whether or not a file has previously been uploaded.
3. How can the user download the previously uploaded document?
4. Is there a way to give users the capability to edit a document in an APEX app where they can do MS-Word-like editing (font size, font type, bold, italics, etc.)?
I know I've asked a lot here and I appreciate your input.
-ReidIn my case, I am uploading screenshots of my application and then displaying them. You can feel free to use it if you want, the code was mostly taken from examples of file uploads posted by others. Here is some code to get you started:
File Table description
CREATE TABLE FILE_UPLOAD
(name VARCHAR2(4000) PRIMARY KEY,
subject VARCHAR2(4000),
id NUMBER,
blob_content BLOB,
mime_type VARCHAR2(4000),
PAGE_ID NUMBER);File Upload Procedure
IF ( :P20_FILE_NAME is not null ) THEN
INSERT INTO FILE_UPLOAD (id, NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE, PAGE_ID)
SELECT ID,:P20_FILE_NAME,:P20_SUBJECT, blob_content, mime_type, :P20_PAGE_ID
FROM APEX_APPLICATION_FILES
WHERE name = :P20_FILE_NAME;
DELETE from APEX_APPLICATION_FILES WHERE name = :P20_FILE_NAME;
END IF;Download Image Procedure Definition
CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
INTO v_mime,lob_loc,v_file_name,v_length
FROM FILE_UPLOAD
WHERE id = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
end download_my_file;
/make sure to grant the procedure rights for use by anyone
GRANT EXECUTE ON download_my_file TO PUBLICDisplay Image Procedure Definition
create or replace PROCEDURE "DISPLAY_IMAGE"
inID NUMBER
AS
vMIME VARCHAR2(48);
vLENGTH NUMBER;
vFILENAME VARCHAR2(2000);
vBLOB BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
INTO vMIME, vBLOB, vFILENAME, vLENGTH
FROM FILE_UPLOAD
WHERE ID = inID;
owa_util.mime_header(nvl(vMIME, 'application/octet'), FALSE);
htp.p('Content-length: ' || vLENGTH);
owa_util.http_header_close;
wpg_docload.download_file(vBLOB);
END;
/Again, make sure everyone has rights to execute the procedure.
GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLICThis doesn't create an editor inside the browser, it just creates a simple upload/display process. For a WYSIWYG editor that handles PDF or Docs, you'll need something far more sophisticated, and I can't suggest anything there. -
Copy db with apex and then rename it
Hi all,
developers asked me to create several db with apex installed. So I created one installed everything they needed and then copied the files, renamed them, renamed the database and everything was ok.
One question prevails:
Is ther any key, hash value or whatsoever that apex uses to identify apllications or for use of authentication which could cause problems in the case described above as these database all have the same contents as far as apex is concerned.
Any help apperciated.
FJHHi Cousins --
Glad to have helped! Thd dots indicate the level of helping --
https://discussions.apple.com/static/apple/tutorial/reputation.html
I was thinking this may help you in your conversion from "the dark side," LOL.
It's an article just for switchers:
http://www.apple.com/support/switch101/ -
Can XML Publisher 5.6.3(EBS) be integrated with APEX?
On the following document, XMP Publisher 5.6.2 does not support integration with APEX. May I know about 5.6.3? Or is it about the product being an add-on with EBS causing the non-support to integration(meaning, even 5.6.3 is not supported)?
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
Thanks,
RownaldAPEX integrates with the standalone version of BI Publisher. There was not a server component with the standalone 5.6.3 release. The integration relies on publisher providing a servlet for APEX to communicate with, 5.6.3 does not have this.
If you are talking 5.6.3 under EBS then I guess you could build a servlet on the mid tier that called the BIP conversion APIs - it would all be custom work.
The APEX integration needs 10.1.3.2 BIP to work with out of the box.
Regards
tim -
Thoth Gateway with APEX 4.2.2
Hello,
We have been using the Thoth Gateway with APEX for years and are very satisfied with it, since it allows us to benefit from our IIS servers infrastructure and their native Kerberos integration.
Recently, we have encountered an issue specific to the 4.2.2 version of APEX: a PL/SQL exception, such as invalid number in a "on load - after footer" page process, does not get notified and the screen rendering seems normal (though there are missing closing tags in the HTML).
Replacing the Thoth gateway with Oracle Fusion Middleware web tier (going to the same database) delivers a normal behaviour, with the regular PL/SQL error showing on screen (and no missing HTML closing tags).
Same thing when exporting the application and importing it on apex.oracle.com.
We reduced the application to a single page and a single page process generating the exception, same thing.
Has anybody had the same experience ?
AlainHi Alain,
this is Morten, developer of the Thoth Gateway. I have not yet tried the gateway with Apex 4.2.2 myself, but I'd like to investigate this issue.
First, I suggest you turn on DEBUG-level logging in the gateway, and see if there is anything interesting to be found in the logs.
Second, sounds like you have been able to reproduce the problem with a simple application. If you upload the application to the project site, here:
https://code.google.com/p/thoth-gateway/issues/list
Then I will take a look.
- Morten
http://ora-00001.blogspot.com -
Hi,
I have a problem with Database link in my application.
Is their any way to Drop the Database link in APEX.
Thank You,
Edited by: Jahnavi on Nov 2, 2009 1:09 PMJahnavi:Does this query creates a new connection every time I press the button? It depends on whether the local connection that handles your page request already has a connection open to the remote database. If a remote connection is open then the connection is re-used.
Why would you want to terminate the database link ?
Varad
Maybe you are looking for
-
Hi All, I have a requirement to add Description in an Input Template. We are using BPC NW 7.5 SP04 version. How to achieve this? We have taught the option of Using COMMENTS but i have a questions like 1. How to store the comments data to the data bas
-
Urgent related to Mesage types and proxy
Hello, My outbound interface related message type structure is like this.... message type name : MSg1 Msg1 x y Z (under z) a b c ok,Now in generating the proxy how to populate this str
-
I have in my web.xml the following <servlet> <servlet-name>display</servlet-name> <description>Display an Interaction Record</description> <servlet-class>ca.bind.servlets.DisplayInteractionRecordServlet</servlet-class> </servlet> <servlet-mapping> <s
-
Importing photos into Lightroom: Basic workflow
This question was posted in response to the following article: http://help.adobe.com/en_US/lightroom/using/WS427A4C94-2499-456d-8E17-AE09D3316A03.html
-
Since installing iTunes 7, whenever I try to burn a CD with regular data / files etc, iTunes hijacks the function and asks that I add tunes and burn via the iTunes burn icon. Even when closed, iTune 7 opens itself up and make the request. The icon of