Chandresh Patel

Greenhorn
+ Follow
since Jul 05, 2002
Merit badge: grant badges
For More
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 Chandresh Patel

We are using WebSphere 5.1 for our web applications. We want to install two separate EAR files on a Single Application Server. These EARs have common EJBs, so we have to apply "prefix" at deployment time , so that they get unique JNDI names after deployment. We will also use MULTIPLE Class Loader policy, so that these EARs have separate class loaders.

Question i have is, what is the best practice to get the "prefix" used at deployment time to lookup EJBs. We have a Java Object that hides the Session Beans and performs all the Lookups using another helper class.
18 years ago
Is it possible to change jvm memory settings for J2ee Application Client , started using launchClient.sh script available with WebSphere 5.0.1 Application Server? It appears that jvm -D parameters can be specified using -CCD parameter, but there is no documentation for Xms and Xmx settings.
20 years ago
You definitely need to put it on your CLASSPATH. You need to put the cloudscape JDBC Driver jars in the CLASSPATH.
You could take an approach of JSP Engine. Create a template.html file, with some markers in it for Dynamic data, like <INSERT NAME HERE>. Then use input streams to read from template.html and write it to some other html file. While doing this when you encounter the <INSERT NAME HERE> , write name instead of the custom tag. Ofcourse this gets complicated when you have more dynamic data and need to organize them in some structure, but it will be surely easier and configurable.
21 years ago
You can use a ArrayList of HashMap objects. In which case ingrediants will be an ArrayList object and values like "salt", new Double(.65), "Mortens" ... should be in HashMap, ofcourse keyed by some identifier.
Or you can hava ArrayList of ArrayList. In which case internal values will be in particular order all the time.
Or you can have ArrayList of Ingrediant value object. You will have to create a Ingrediant object with all the attributes required.
You can use PreparedStatement. It would be like this.
SELECT * FROM webchiptran WHERE webchiptran.serialNo=?);
and then use setString method on PreparedStatement to set your String value and execute.
If it is stack overflow, you would get StackOverflowError. You could increase the stack size by using -oss on commnand line to validate this.
You could use kill -3 on unix environment to dump the java thread stack(this should be possible in other environments also and will be perfect to find this problem). This should show you where it is hanging. If you are using VAJava you can use debugger to suspend threads and see where threads are stuck.
21 years ago
I think you are missing some comfiguration. Please clarify how you are getting connection. is URL wrong?
Topink provides a good deal of productivity, separation from datastore, great features and a buggy but valuable OR mapping GUI. But with all that comes runtime performance problems. Has anyone experienced such performance problems and have they diverted towards using straight JDBC code? What are other solutions? Has anyone compared Toplink over Straight JDBC?
Replace destfile with jarfile. There is no destfile option on the jar task. I am looking at the documentation of ant 1.4.1.
Chandresh
Replace destfile with jarfile. There is no destfile option on the jar task. I am looking at the documentation of ant 1.4.1.
Chandresh
21 years ago
My best guess is, the content will not be byte code. As it is just the attribute values that gets written , it will be stream of bytes.
21 years ago