Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Philip Nour

Greenhorn
+ Follow
since Jun 02, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Philip Nour

Hi,
Thanks for the reply...
I am using J2EE, and the database was created using the wizard in DB2... I can connect using VAJ but not using the deploytool coming with J2EE....
Thanks
Hello all,
I need a bit of an urgent help in here, if anybody has any ideas please go ahead....
I am trying to deploy some entity beans in J2EE, however, the automatically generated code for a method (ejbPostCreate) has always one more parameter in the call than the method in the original bean which causes a compilation error when trying to deploy the bean, even removing the method will cause the automatically generated code to have a call for this method with one parameter....!!!
I do not know what is causing this, the code is auto-generated, is it something to do with the version of EJB's used in J2EE, should the beans be written in a different way with every different EJB version, I am not even sure what version does J2EE use..??
Any suggestions... please...
Thanks
Hi,
To startup with J2ME, the best place to do so is Sun site, check out http://java.sun.com/j2me/ and do not forget to check the FAQ link.... you might wanna see other sites later, but to get started, this is a good place...
Philip
16 years ago
As for your question about a market for J2ME, it is not a technical question so it is arguable, just in case you are interested, I think the answer is YES.
If you look to the market out there, lots of companies have moved to java development in a crazy way, although java is only 6 years old, that was first... ;-) Second, looking to how PDA's are growing fast to become smaller and more powerfull, I think there will be a great demand on small versions of java virtual machines and their applications, in fact, such thing currently exist, it just needs time for the world to get to know it...
Soon enough, a regular person will be holding one device that does everything (cel, organizer, computer...etc), java - along with XML tech.- are some of the best technology candidates for such devices to be based on...
This remains to be my opinion, hope I added something...:-)
16 years ago
Hi,
this might be late but better than nothing..:-)
COM/ibm/db2/jdbc/app/db2java.zip is not the name of the driver class, if you already unziped the file replace the last section of the name with DB2Driver.class, db2java.zip in this context does not mean anything...
The best way to do this is to include the db2java.zip in the J2EE_CLASSPATH with no need to unzip it....
i.e. db2java.zip is the file containing the driver, and it should be in your J2EE_CLASSPATH, zippped or not. COM/ibm/db2/jdbc/app/DB2Driver.class is the fully qualified driver class name and it is what is being looked for within the db2java.zip file....
Philip
Hi..
Pretty strange, however, the only thing I can think of is that your java.exe itself is not in the windows path, if this is NOT the problem, you might wanna trace the batch file (use echos) to see where you get the bad command thing... this is a windows output so it should be something around this not something with java apps....
Philip
Hi,
I am trying to deploy a CMP entity bean in the deploytool using a DB2 database but I am getting a SQLConnect exception (UnsatisfiedLinkError) knowing that I am using the right driver... does anybody know what is causing this....
Thanks...
Philip
Hi..
Bad command is a windows output, I think your J2EE_HOME\bin directory is not in your windows path, so it can't find the batch file, fix this in your autoexec.bat file by adding the bin directory to your windows path....
Philip
Hi,
Deploytool should run with the GUI interface by default, I think you missed to set the JAVA_HOME and J2EE_HOME environment variables, set these right and it should work....
Philip
Hi,
This is simple and has nothing to do with J2EE or cloudscape, you only need to put the bin directory of J2EE in your path so it is accessable from anywhere, or you have to be inside the directory when you issue any of the two commands, which are in fact two batch files.
It is easier if you just added " C:\j2sdkee1.3\bin " to your path in your autoexec file.
Hope that helped....
------------------
Philip