Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating an application module in a Java class

tnabilAug 29 2004 — edited Sep 13 2004
Hi everyone,

I'm trying to create an application module from a normal Java class where I don't have access to any HttpSession objects.

I tried to use the method in the documentation

appMod = Configuration.createRootApplicationModule(
"full.class.Name",
"ConfigurationName");

It's not working though, complaining that it can not find the configuration file which it's trying to locate at full/class/common/bc4j.xcfg.

This file exists at the same path in the BC4J project which this project has a dependency on in the Project Settings dialog.

Is this the right way to create an application module? Can someone please provide a reference to an example.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2004
Added on Aug 29 2004
13 comments
467 views