Can we run java bean from forms client server??
Hi,
The OLTP application we are planning to build has lot of gui e.g
tabs, drag and drop etc. Our aim is to make it web enabled but
the network bandwidth available is small 16 - 64K . So even
thoughwe plan toi use applet , we seriuosly doubt how good it
will perform on such low network bandwidth. [The system will
have 100 users]
Q1. What will be a reasonable bandwidth to run an oltp
application (say maintenance )
Hence we are thinking of developing with developer 6i and
deploying our application in client server mode, which can
easily be web enabled in future. But we also have to integrate
visual interfaces like gantt chart, which are not available with
forms. We plan to use third party java component (e.g ILOG
jviews), so that in future we can easily web enable the entire
application.
Q2. Can we run forms with java bean in client server mode? If
not, what are the products to be installed on each machine to
run it without using 9ias?
best regards
Yes. We can run sql loader from client machine.
C:\Karthik>sqlldr user/pass@database data='test.csv' control='test.ctl' log='test.log' bad='test.bad'
You can go through the following link for better understanding.
http://www.oreilly.com/catalog/orsqlloader/chapter/ch01.html
Similar Messages
-
Running java bean from forms9i on win xp
hi all,
I have a form that uses java bean to write txt file on client computer. java bean connects to database and uses it's data to create txt file. everything runs fine on client with win2000, but with windows xp (professional, sp2, ie6.0) there seems to be some problem with connecting to db (returned connection is null). my win xp firewall is turned off, security settings (including java and activeX) are low, forms version is 9.0.4.0.19. java code seems to be ok, i think it has something to do with forms/xp compatibility. has anyone had similar problem?
Thanks for any response,
AlbertThanks for your response. First version of our program was running on webutil, but as it turned out it was lacking performance. New version, with our custom java bean is much faster.
As I wrote it works on Windows 2000. It also works on WinXP as a standalone application. Only when deployed to Oracle Forms with XP client it fails. Error occures during retreiving connection to db when calling DriverManager.getConnection method. No exception is thrown, retreived connection is null.
Thanks for any help
Albert -
Calling Java Bean from Form 9i
Dear all,
I have developed a Java Bean and I want to use it in FOrm 9i. I have imported that Bean (.jar file) sucessfully to my form. I use following code to call the Bean:
declare
WordDoc ora_java.jobject;
javaException ORA_JAVA.JOBJECT;
Begin
WordDoc := WordBean.new;
WordBean.OpenWord(WordDoc, true);
EXCEPTION
WHEN ORA_JAVA.EXCEPTION_THROWN THEN
javaException := ORA_JAVA.LAST_EXCEPTION;
message(Exception_.getMessage(javaException));
ORA_JAVA.CLEAR_EXCEPTION;
WHEN ORA_JAVA.JAVA_ERROR THEN
message(ORA_JAVA.LAST_ERROR);
ORA_JAVA.CLEAR_ERROR;
end;
But I receive the "raise unhandled Exception Ora-105100" and my form doesn't handle the errors. What am I missing in the code?
Thanks in advance,
Hamid MotaharHi,
You receive this error because at runtime the form can't find the jar. See note : http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=169529.1
on metalink
Greetings -
ID CS5 on Mac 10.5.8 can't run java scripts from User folder
I seem to have a problem with my java scripts in ID on my Mac. I store them in my user scripts folder, but while I can run any applescripts in the folder, doubleclicking on any of the java scripts gets me exactly nothing. If I open the scripts in Extend Script Toolkit and run them from there, they will work, but I can't run them from within ID. The scripts in the Sample Script folder work. I've tried changing the script extentions, I've opened them in the toolkit and resaved them. Still no response at all when I doubleclick on them in the scripts panel. Any idea what could be wrong? I can run the same scripts from within ID on my Windows laptop, so I don't think the scripts themselves are at fault. In fact, I just moved them into the Sample scripts folder, and they run with no problem. Does the User script folder just not work?
Not sure what a screenshot will tell you, but here you go.
Well, I was hoping that the icon next to the scripts would be instructive.
Apparently not, though!
You said the same scripts work fine if you move them into the Application Scripts folder, specifically the Sample Scripts folder. I assume, then, that the sample scripts also break if moved to the User Scripts folder?
Is your User Scripts folder (and thus your home directory) on a non-local (network) filesystem? Are the permissions on it wacky? If you Reveal In Finder it, and Get Info, do you see anything out of the ordinary?
What if you delete it (err, move it aside) and recreate it?
This seems pretty strange... -
How can i run a reports from forms
Oracle forms 9i
Hai All
I am using oracle forms 9i.
From the forms i need to generate a reports how can i generate a reports from there
Regards
Srikkanth.Mthere are hundreds of examples in this forum. Do a search
-
Calling java beans from forms 6
Could anyone please tell me if it is possible to call an EJB component from within forms 6.
And if so how.
ThanksIf your EJB is for doing some server side processing, etc. you can consider exposing it via a servlet deployed on the Forms 6i server that accepts GET requests. You can then call to the servlet using utl_http.request.
-
[solved]can't run java apps from command line
Every Java program that i've tried to run from command line gives me a error message like this:
augusto java% java Test
Exception in thread "main" java.lang.NoClassDefFoundError: Test
Caused by: java.lang.ClassNotFoundException: Test
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Test. Program will exit.
`java Test.class` doesn't work too.
but, the exact same code work from eclipse, am I missing something?
Some info:
% ls Test*
Test.class Test.java Test.java~
% cat Test.java
public class Test{
public static void main(String[] args){
System.out.println("doesn't work");
% echo $PATH
/home/augusto/.bin:/home/augusto/.bin:/home/augusto/GNUstep/Tools:/opt/GNUstep/Local/Tools:/opt/GNUstep/System/Tools:/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/bin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin
Last edited by hack.augusto (2009-10-27 00:57:53)also make sure that you current directory is in your classpath.
eg
export CLASSPATH=".:$CLASSPATH"
java Test
your issue is more likely to be classpath related, as java doesn't read the path variable, and the java executable is found
Last edited by bruce (2009-10-27 01:02:51) -
Can't run Java Programs from home computer
Hi, sorry if this is a simple problem.
I downloaded Java version 1.4.0_03 but can't get it to work. I have configured the PATH variable and the CLASSPATH but it isn't working.
If I type java -version the right stuff comes up.... so where have I gone wrong?
Any ideas much appreciated
Thanks
catI downloaded JDK
this is whats in the PATH variable:
;C:\Program Files\Java\j2re1.4.0_03\bin
and in the CLASSPATH:
.;C:\Program Files\PhotoDeluxe HE 3.0\AdobeConnectables;C:\Program Files\Java\j2re1.4.0_03\lib\tools.jar -
How can we run SQL*Loader from forms. I guess HOST command will run the OS comman on the clinet. How do I invoke the Loader script on the server from the forms clinet?
-Ravi.Look..the oracle server is in UnixWare 7 and the client PC
is on Windows XP Pro, but before install the Oracle Client Software into the client pc the builtin HOST doesn't work
then I install the Software in Windows XP pc and now I'm
working loading the txt file into the server on Unix,
Try to install the Oracle Client Software into the Citrix
client, I think it work. -
How can I run a Report from Form in a Cliwnt / Server Environment?
hello,
see under RUN_REPORT_OBJECT in the forms online manual.
regards,
the oracle reports team -
How can i lookup a session bean from the client side
how can i lookup a session bean from the client side...........i am using sun appserver..............
this is my code.................[B]
private final static String JNDI_NAME="ejb/LmsBean";
private static String url="ldap://localhost:4848";
Hashtable h=new Hashtable();
h.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
h.put(Context.PROVIDER_URL,url);
System.out.println("Before Loading Context in Delegate");
Context ctx=new InitialContext(h);
System.out.println("Loaded Context in Delegate");
Object obj=ctx.lookup(JNDI_NAME);
System.out.println("Loaded Object in Delegate");
System.out.println("Before Loading Home in Delegate");
LmsHome home = (LmsHome )PortableRemoteObject.narrow(obj,com.parx.lms.controller.LmsHome.class);
System.out.println("Loaded Home in Delegate");
lms = home.create();
System.out.println("Loaded remote in Delegate");
[B]and i got the exception........
Inside Client before calling delegate
Before Loading Context in Delegate
javax.naming.CommunicationException: Request: 1 cancelled
javax.naming.CommunicationException: Request: 1 cancelled
at com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequest.java:60)
at com.sun.jndi.ldap.Connection.readReply(Connection.java:405)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:340)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:171)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2640)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.ja
va:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.jav
a:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
62)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at com.parx.lms.lmsdelegate.LmsDelegate.getController(LmsDelegate.java:3
0)
at com.parx.lms.lmsdelegate.LmsDelegate.addUserDelegate(LmsDelegate.java
:50)
at com.parx.lms.client.consoleClient.Client.main(Unknown Source)
pls go tru the exception and pls help.........That url string should be having the server name or ip instead of localhost.
-
Run a report in reports server calling it from a client/server form
How can I run a report in reports server calling it from a client/server form ?
ThanksIn client server mode you can use RUN_PRODUCT built-in. Lookup help for this built-in for more details.
Best of luck! -
i want to run java bean at bean area. i write a simple bean and what i will write on oracle forms builder bean area property palette implementation class. i make bean a jar file and i put it same folder with form file.
thanks for your helpsHello,
I did not see any error mentioned in your initial post...
So, what is the error ?
If the jar file is not in your registry, you could have the design time error (bean not found), but is the bean runs ok at runtime ?
Francois -
Can Test Custom Jars with 6i Run Form - Client/Server?
I want to test custom Jar files with Forms 6i from my desktop, but I cannot get the Run Form->Web to work. Is it possible for the run time to load the just jars for PJC when you do Run Form -> Client/Server? So far, when I have done this, it does not execute any PJC. Any ideas, tips?
Thanks,
KurzHi Kurz
Any ideas, tips?pls have a look
http://www.dulcian.com/papers/ODTUG/2004/ODTUG%202004_Balcu1_JavaBean.htm
http://www.oracle.com/technology/sample_code/products/forms/extracted/getclientinfo/readme.html
http://www.scribd.com/doc/1027764/Forms-6i-Deploying-Forms-Applications-to-the-Web-with-Oracle-Forms-Server
Hope it helps u
Regards,
Abdetu... -
How can i run Java class form other java application.
Hi ,
I have problem to run java class from my java application,
I am using the class ClassLoader in order to launched the Java class , it�s work fine whenever, the class exist in the same folder , however , when i am trying to run class that is not in the current folder ,
i got error (see below),
Do you have any idea what is wrong?
java.lang.ClassNotFoundException
at SimpleClassLoader.loadClass(SimpleClassLoader.java:110)
at SimpleClassLoader.loadClass(SimpleClassLoader.java:53)
at Run.main(Run.java:31)What does "run an class" mean? You don't run classes. They're not executables.
I bet your problem is the classpath. You are aware that the classloader looks only there? Unless it's an UrlClassLoader.
Maybe you are looking for
-
Value of the variable FISCYEAR to compare it with a fix date
Hi, I'm using a hierarchy in my query. But in some case I have to multipliy the value in one column depending wich year is shown. So I tried to use a formular variable. But it doesn't work. Has somebody an idea what to do? How can I extract the value
-
HT4623 iOS 6.1.3
is iOS 6.1.3 the latest update for ipad and was there an earlier dodgy update with a bug?
-
How to cancel an iPod service request
A while ago I requested some iPod service, but I ended up figuring the problem out, and just forgot about the request. Now my iPod is fully dead, and I want to send another request, but it says I can only make one request at a time (because the other
-
Import multiple files using sql server management studio
Using sql server management studio I want to do 2 things. - Import all txt files from a directory as tables into my DB. - Add an additional field to each new table which contains the table name. Can anyone help me?
-
Execution of a Java Class on a remote machine (RMI ??)
Hi guys, I have an application in Java which, processes a local file and return some results. The local file is so huge (> 2Gb). I need to process some distant (remote) files with this application. Firstly, I thought to make a FTP or HTTP connection