The Oracle Lite Blog

The Rekounas Blog about Oracle Lite and Mobile Server Technologies and Solutions

The Oracle Lite Blog header image 4

Entries Tagged as 'Java'

Setting up a Mobile Server for size and performance

December 15th, 2008 · 3 Comments

I set up my Nth Mobile Server/Oracle Application Server configuration this past weekend, and here is a list of modifications that I have made to my configuration files.
In the webtogo.ora file:
[WEBTOGO]
DISPLAY_CLIENT_DATA_SIZE=NO
ADMIN_JDBC_URL={changed this to use a RAC URL. Not required in 10.3.0.2 of the product as the installer handles this}
THIN_JDBC_URL={ditto for this URL}
The DISPLAY_CLIENT_DATA_SIZE is [...]

[Read more →]

Tags: Java · Oracle Lite

Creating publication items using the Oracle Lite API

September 19th, 2008 · 1 Comment

If you have been doing Oracle Lite development, chances are you have been either using the Packaging Wizard or the Mobile Workbench to create your applications. In some cases, you have had to use the APIs to do partition mapping or altering the publication items (I will show those in another post). I [...]

[Read more →]

Tags: Java · Oracle Lite

Deploying an application using the APIs

February 15th, 2008 · No Comments

Here is an example of how you deploy an application. I will follow it up with examples of how to add publication items to the application and adding users to the application as well.
The following command should be all on one line:
java -classpath .:$ORACLE_HOME/mobile/classes/consolidator.jar:
$ORACLE_HOME/mobile/server/bin/devmgr.jar:
$ORACLE_HOME/mobile/server/bin/webtogo.jar:
$ORACLE_HOME/jdbc/lib/ojdbc14.jar Deploy MOBILEADMIN MOBILEPWD localhost 1521 XE

import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import [...]

[Read more →]

Tags: Java · Oracle Lite

Webtogo or OC4J

December 7th, 2007 · No Comments

The mobile system that I designed 2 1/2 years ago has been in production now for almost 6 months and as any new system that goes into production, changes are inevitable. When we designed the system, we had to come up with two applications that would be implemented both on a WebLogic/Sun ONE container [...]

[Read more →]

Tags: Java · Oracle Lite · Webtogo

Think NB

December 6th, 2007 · No Comments

I was at Think NB a couple of weeks ago. Here is a picture of the OAO booth.

[Read more →]

Tags: Java · Oracle Lite

String encryption and Webtogo

March 17th, 2007 · No Comments

A couple of weeks ago, I upgraded my client JRE from 1.4.2_03 to 1.4.2_13. When I did this, the Cipher encryption on my site started throwing an exception:
java.lang.NoClassDefFoundError at javax.crypto.Cipher.getInstance(DashoA6275)
So, I opened a metalink ticket and was able to resolve the issue by adding the following parameter to the webtogo.ora file on my client:
[WEBTOGO]
NO_URL_FACTORY=YES
I [...]

[Read more →]

Tags: Java · Webtogo

WTGJdbcDriver vs. POLJDBCDriver

January 15th, 2007 · No Comments

I found a transaction test that I was performing a while back that might help you. In this example, I am using both drivers, I have an open connection with both drivers and I show an example of updating the dbname database with an insert and update statement. Note that even though I [...]

[Read more →]

Tags: Java · Oracle Lite · Webtogo