Rob Brownsell wrote:Hi there, when calling Java from Oracle forms or adding swing components, I've always used PJCs (pluggable Java components). This has the benefit of using the JVM being used by the client instead of having to use the one that comes with forms. This means you're not tied to the particular version of forms you are running. You have to update your formsweb.cfg to register your jar and put it in the java directory below forms. I know this is a bit different to what you were describing in your post but generally I've found this to be a reliable way to integrate Java into Oracle forms. There's quite a good resource on doing this sort of thing here:
http://forms.pjc.bean.over-blog.com/
One gotcha is if your implementation still uses JInitiator. If this is the case then all your PJCs must use Java 1.3. That's still the case where I work but we should be moving away from it soon (hopefully).
Rob Brownsell wrote:Hi there, when calling Java from Oracle forms or adding swing components, I've always used PJCs (pluggable Java components). This has the benefit of using the JVM being used by the client instead of having to use the one that comes with forms. This means you're not tied to the particular version of forms you are running. You have to update your formsweb.cfg to register your jar and put it in the java directory below forms. I know this is a bit different to what you were describing in your post but generally I've found this to be a reliable way to integrate Java into Oracle forms. There's quite a good resource on doing this sort of thing here:
http://forms.pjc.bean.over-blog.com/
One gotcha is if your implementation still uses JInitiator. If this is the case then all your PJCs must use Java 1.3. That's still the case where I work but we should be moving away from it soon (hopefully).
Rob Brownsell wrote:I'll try to explain as much as I can in this post but I believe the Oracle website has some information on this. Surely they haven't blocked that site! You need to add frmall.jar to your project, this will give you the forms classes you need (you should find it in your forms installation).
Jo Young wrote:
Rob Brownsell wrote:I'll try to explain as much as I can in this post but I believe the Oracle website has some information on this. Surely they haven't blocked that site! You need to add frmall.jar to your project, this will give you the forms classes you need (you should find it in your forms installation).
you would think the Oracle website would have stuff on it but I havent been able to find anything as of yet and I have been looking for over a month... there was a few tutorials but they were all program specific and mostly all using netbean and none of them were for JDev 11g and most of it was walking through how that program makes it so you dont have to do much of any coding because the program does your coding for you and almost no actual coding being done which made following it with JDev 11g very difficult if not impossible.
thank you very much I will look through what you gave me and see how I do.
Rob Brownsell wrote:
This is document was written back in 2000 (when it comes to Oracle forms, I don't think much has really moved on since then!) but I think the principals are the same
http://www.oracle.com/technetwork/developer-tools/forms/documentation/269054-130573.pdf