Yes, *DisplayAction are singleton. I just started my application & profiler without doing anything yet but the cglib proxy (ClassName$$FastClassByCGLIB$$) of the bean are already created.
Type: Posts; User: reyjexter; Keyword(s):
Yes, *DisplayAction are singleton. I just started my application & profiler without doing anything yet but the cglib proxy (ClassName$$FastClassByCGLIB$$) of the bean are already created.
Is it normal that BeanAutoProxyCreator creates more than one cglib proxy of a target object? When running my profiler, I have noticed that 50+ cglib proxy of the object was created.
My advice...
you need to use the spring struts plugin. you don't need to use the DelegatingActionProxy since everything will be automatic.
Here's the link:...
While profiling my spring application, I noticed that more than one cglib proxy is being created. The following output is shown on the profiler:
...
I initialized spring using web.xml and I believe the bean factory used is "org.springframework.beans.factory.support.DefaultListableBeanFactory" which unfortunately does not contain a refresh method....
I was trying to modify the byte code using javassist so i placed the logic on the constructor. What I'm trying to do is to change the value of @Qualifier to something else. The class file's byte code...
when i start tomcat with the following parameter:
-javaagent:C:\aspectjweaver.jar
i'm getting the following error:
java.lang.reflect.InvocationTargetException
at...
i have a service class that throws a custom exception that inherits RuntimeException class. when ever an exception is thrown on my service class, the transaction is rolled back thus showing some...
no not yet. i still cant figure out why hibernate runs out of sync with the database when i directly edit the data using a mysql browser tool.
i'll try to recreate the same application with...
yes i have finished creating a test case for that. everytime i update the database programatically after the transaction is commited, hibernate is able to synchronize with the database.
hello!
i still cant solve this problem. from what the log file is displaying, no unusual behavior seems to be happening behind. i did tried to print the session everytime and the hashcode seems...
i cant seem to follow you. i'm really sorry.. i'm new with java ee. anyway maybe this will help:
my part of my jdbc.properties file:
and part of my applicationContext.xml file:
yes and hibernate is able to retrieve the correct data after restarting tomcat.
i'm trying to wire spring and struts but i ran into some problems.
i tried updating the database directly using SQLyog(mysql client) but when i refreshed my page, the text displayed is not the...
when i placed my annotation on top of my getter method, hibernate created a column name using the property name but when i placed my annotation on top of the property, hibernate created a column with...