Mine is a web application. I have created a Jar containing some custom code and a few 3rd party jars. I have copied the custom jar to WEB-INF/lib folder. The 3rd party jars inside my jar are not visible to the application during deployment/runtime? I have no idea how to make them visible. Please help.
How session tracking be done using JQuery? In front end, before the AJAX Jquery gets fired, would like to know if there is any valid session. Please help.
Consider i have 2 methods in a class, 1 is synchronized and other is not. If Thread A acquires lock on an instance and executing the synchronized method, can Thread B execute the non synchronized method on the same instance?
If i have JPA code inside an EJB jar, will that be deployed as a bean? As i understand, JPAs work in J2SE environments too? Other than EJB, is there any JPA implementation from Sun?
PS: Am confused between EJB3/JPA/Hibernate. Please clarify.
I have some 10 OSGI Bundles and a spring web mvc deployed. I have implemented Spring AOP/LTW. Currently the methods in spring web mvc war are getting weaved/advised propery. Though, the signature of the methods in the bundles match with the config i did, those methods are not getting weaved. Pl advise.
When trying to configure a non-jndi jdbc parameters in persistence.xml in jboss 5.1, i am getting
java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named
How it should be done?
PS:
No JNDI dataource.
Hibernate/EntityManager.
persistence.xml.