Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!

Vilpesh Mistry

Ranch Hand
+ Follow
since May 27, 2003
Vilpesh likes ...
Eclipse IDE Java
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vilpesh Mistry

Hello friend,

I do teach Java. Although very late in responding, please let me know if you still looking out for Java lessons.
Please send me private message, so that we can take this further.
8 years ago
Hello Friends,

I want to sell,
1>Sun Certified Programmer for Java 6 (SCJP) Study Guide by Kathy Sierra and Bert Bates. Also has original CD.I have never used the CD.
2>Sams Teach yourself - Android Application Development in 24 hours by Lauren Darcey and Shane Condor.

Both books i have read few chapters.These book are well maintained.

Please contact me to buy the book.
8 years ago
Hi all,

I too had joined the "Functional Programming Principles in Scala" course and glad to say done with my 1st week assignment, just before the 1st week assignment deadline.

Thanks to all who pointed out to read SICP book (Structure and Interpretation of Computer Programs. by Harold Abelson,Gerald Jay Sussman and Julie Sussman) to solve the 1st week assignment.

I could easily do Pascals Triangle,Parantheses Balancing but it was difficult to solve out Counting change problem.Finally solved Counting change.

Will have to rush to week 2 videos and assignment.
10 years ago

I am facing the problem in generating java code files from eclipse-JEE-indigo while using hibernate tool present in JBoss Tools.

My Setup :
1> Eclipse Java EE IDE for Web Developers. ( Version: Indigo Service Release 2 Build id: 20120216-1857 )
contains Hibernate Tools 3.4.0.v20120504-2121-H72-Beta3 JBoss by Red Hat

I had downloaded eclipse indigo mentioned above and had got jboss tools installed over it from update site ( ... nt/indigo/)
I had created Hibernate Console Configuration and could see the tables in eclipse which were created in postgreSQL database.
Now i wish to generate the .java, .hbm.xml, DAO files using Hibernate Code generation Configurations.
When i run the code generation, it gives me following error.

java.lang.IllegalStateException: zip file closed
at Source)
at Source)
at java.util.jar.JarFile.getEntry(Unknown Source)
at java.util.jar.JarFile.getJarEntry(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.postgresql.Driver.getDefaultProperties(
at org.postgresql.Driver.connect(
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(
at org.hibernate.cfg.reveng.dialect.AbstractMetaDataDialect.getConnection(
at org.hibernate.cfg.reveng.dialect.AbstractMetaDataDialect.getMetaData(
at org.hibernate.cfg.reveng.dialect.AbstractMetaDataDialect.caseForSearch(
at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(
at org.hibernate.cfg.reveng.JDBCReader.processTables(
at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(
at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(
at org.hibernate.cfg.JDBCBinder.readDatabaseSchema(
at org.hibernate.cfg.JDBCBinder.readFromDatabase(
at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(
at org.hibernate.console.execution.DefaultExecutionContext.execute(
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(
at org.eclipse.debug.internal.ui.DebugUIPlugin$

Session Data
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Please suggest possible solutions to this problem.
Hi Venu babu,

1> Which java SE version exam can one give using this voucher ?
2> Will it be valid across any prometric centre in India ?
3> Is the voucher SCJP (sun certified) or OC (oracle certified) Java SE ?
4> What is the exam number printed ?
10 years ago
Is their any Application server in Java freely available ?
Earlier JBoss was under open source and free to use.These days i don't find or don't know of any freely available application server available to do Java development.
11 years ago
Hi all,

A] Which of the javascript frameworks is the best supported from RubyOnRails ?
1> JQuery.
2> Dojo.

B] Which one out of the JQuery and Dojo can be used for complex javascript DOM manipulation.

Is their any other framework other than above specified best to use while developing in RubyOnRails.

12 years ago
I had downloaded the stand-alone ArgoUML app but also thought to try using eclipse( as it is a great freely available Java development tool)

I could make Sequence diagram in AgroUML, also added the Deployment diagram in AgroUML.
thanks Tim and David for helping out.

The other problem i found in eclipse is that some kind of error popping up as you progress ahead creating these diagrams.
Is eclipse support for UML still in the development phase ?
I even cannot find proper documentation for UML any where on the eclipse website.


I have downloaded the eclipse by title - eclipse-modeling-galileo-SR2-incubation-macosx-carbon.tar

I wanted to make deployment and sequence diagram using eclipse.
I could make deployment diagram but i could not correctly figure out creating sequence diagram.
I had searched on internet but did not get any tutorial related to creating Sequence diagram in Eclipse,specifically this version.

Can some one point me to some website were this tutorial is present.

Other thought that came to mind is any one using eclipse to make UML diagrams ?
I intend to create a common jar which contains all Java Classes related to implementing log4j logging functionality.I have implemented Singleton (GoF) design pattern in a class SLogger to return single instance of log4j across the application.
I have created customlogger.jar file with all class files related to log4j logging and lib folder containing log4j-1.2.8.jar file.
Following shows the directory structure :

Contents of MANIFEST.MF is
Manifest-Version: 1.0
Class-Path: lib/log4j-1.2.8.jar

When i add the in my other application and try to make use of logging functionality i get following error

java.lang.NoClassDefFoundError: org.apache.log4j.PropertyConfigurator

My other application is deployed in a Websphere application server 6.1.

In the Class SLogger, i have a code statement,which raises error

Is it possible to refer to log4j.jar from customlogger.jar?
I want to make any application in the world to be making use of customlogger.jar.
I think the J2EE application server can load the customlogger.jar but it cannot somehow load log4j.jar
In log4j appenders represent the channel where you can send the information to be logged.
Write a Java program to pass different appender name to following log4j api call ----
Log logr = null;
logr = Logger.getLogger(--appender name--);
logr.debug("Entering Javaranch");

passing different appender name is like asking Log4j to write in different log files.
your application has to pick up correct appender name and pass it to logger so that information is written in different log files.


Can an object be kept live in the memory of the application server until the application server (Jboss and WAS) is restarted.

As a solution to this i can only think of JNDI(RMI registry) to be of use to achieve my requirement.

Please provide comments.

Hi Janaka,

GoF = Gang of Four.Named after 4 engineers from IBM who provided solution for a particular type of problem(s).
The design patterns like Singleton,Factory,Template,Command etc all fall under GOF patterns.

To know exactly the patterns you can read the book HeadFirst Design Patterns.

Hi all,

well i wish to buy a laptop, i do not know any website where i can search for old or refurbished or 2nd hand laptops.

If some one can help out,it would be really great.

14 years ago