ajay krishna

Greenhorn
+ Follow
since Jan 27, 2010
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 ajay krishna

Thanks a lot Paul. I found out the problem. Iam trying to connect to DB2 database sitting on a AS/400.

Iam using the jt400.jar as the jdbc driver and that seems to be referencing the socket class.

9 years ago
GWT
Hi,

Iam writing a small program to integrate GWT and Hibernate.

GWT RPC works fine by itself, tested it by hardcoding some data on server and sending the object back to client.

My standalone Hibernate program works fine. But when I try to integrate it with GWT, I get an error stating

"Initial SessionFactory creation failed. java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details. "

I had read on one of the forums that the above class isn't permitted for GWT. Iam assuming the problem has to do with Dom4j's use of the above class. Is there any implementation of DOM4J which doesn't use this class?

Iam using the jar dom4j-1.6.1.jar; Below is the source for Server Implementation.

Any help would be greatly appreciated.

Thanks,
Ajay

Class - FetchPlgplfServiceImpl.java (Server side implementation)

Class - MyApplicationHibernateUtil

gwt.xml





9 years ago
GWT