Applet « Development « JPA Q&A





1. anyway to prevent CGLIB enhancment in applet?    forum.hibernate.org

Before using hibernate, I'd typically have a data communication (DC) object for each entity bean. For example, if I had CustomerEntityBean, I'd have a Serializable CustomerDC object to pass to any front-end code. I don't see the need for DC objects with hibernate. So in my current project, where we have an applet talking to stateless session beans, I just pass ...

2. sending object to applet, needs hibernate classes??    forum.hibernate.org

i have a domain object, say Emploee, with a List of Children, everything works find in my web app world, but i have an applet that needs to get a copy of this domain object (serialized the object over HTTP and de-serialize in applet).. now my applet is getting ClassNotFoundExceptions.. looking for the sneaky classes that hibernate replaces in a List ...

3. using hibernate with applets    forum.hibernate.org

this seems to me a better approach since i'm also concerned with the security issues of applets accesing directly the database. So, any way to offer an interface between applet and database would be more appropriate. however, since i don't know much about web services i wonder if the overhead of the web service is small enough...

4. java applet and classpath    forum.hibernate.org

Dear java programmers, this is my problem: I need to use some classes from a project packaged in a jar into an applet. How can I resolve this? An applet can have it's classpath on the server where It cames from?! I import the needed packages in the applet, compiling is normal and easy, I got a classNotDefFoundError at runtime. The ...

5. Hibernate and applets    forum.hibernate.org

6. Can Hibernate be used in a Applet    forum.hibernate.org

Further I would like to ask,that if I am using Hibernate+Jboss combination in a three tiered environment then do I have to distribute the hibernate3.jar in all the client PC's.which are accessing this package through the webserver. My application developers are of the view that as they are using applets they will have to distribute the mapping files and the hibernate3.jar ...

7. Accessing hiberate in applets    forum.hibernate.org

I am trying to use hibernate in applets but the following code gives exception: plz help me sessionFactory = cfg.buildSessionFactory(); // cglib-full-2.0.2 jar file is already there which contains net.st.cglib files java.lang.NoClassDefFoundError at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.ja va:25) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215 ) at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:30 8) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043) at stellar.hibernate.HibernateUtil.init(HibernateUtil.java:36) at medtel.hibernateDao.PBABusinessObjectsDAO.(PBABusinessObjectsDAO. java:18) at medtel.visual.SearchTree.init(SearchTree.java:101) at ...

8. Hibernate with Applet and Tapestry    forum.hibernate.org

Hi, We want to persisit the state of an object in an applet, through Hibernate. We use Tapestry to render the page containing the applet. Is there a way to persist the object directly from the applet, even when the client does not have the JDBC drivers? What is the best way to persist an object of the applet. (We are ...

9. Configuration not working in applet    forum.hibernate.org

I've been working on a program using hibernate3 with mySQL and it is currently working as intended in Eclipse and as an application from the command line. However, I have been unable to get it to work as an applet, which is the form I actually need it in. I've looked through the documentation and forums, but I can't find anything ...





10. applet servlet comunication    forum.hibernate.org

ive got an applet servlet comunication that works perfectly for objects like an string, but when i try to recieve an hibernate mapped class to the applet (using the servlet) i get the following java.lang.ClassNotFoundException: org.hibernate.proxy.SerializableProxy at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at java.io.ObjectInputStream.resolveClass(Unknown Source) at ...

11. Hibernate inside an applet    forum.hibernate.org

This perhaps is not a 100% hibernate question, but I'm sure that must be any user that had had the problem: I have an applet that it's working correctly inside eclipse. But when I try to export it to the Web Server (Apache) I get this error: Code: NoDefClassFoundError: /org/hibernate/Session . This is the directory structure: Code: / # root folder ...