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'

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