I often write a ApplicationContextHolder Bean that implements ApplicationContextAware interface. This bean simply holds a ApplicationContext reference. So whenever using...
Type: Posts; User: Savagearts; Keyword(s):
I often write a ApplicationContextHolder Bean that implements ApplicationContextAware interface. This bean simply holds a ApplicationContext reference. So whenever using...
Good discussions. I'd prefer that Domain object hold a DAO object.
It's so hard to inject DAO object into a domain object because domain objects are out of spring container's control. But we may...
Hi Tim, Another AOP framework "ApectWerks" may be your choice. Checkout the previous edition. What u must do is to change your app server's classloader.
Hi Man, U can pass your User Object using ThreadLocal. So u may not need to build a stateful "Manager".
BTW: The HttpServletRequest Object is container holds lots of none OO things. A typical requst describes the relationships among objects such as role, address, time, events. so i think we really need...
That's not really a business method as your just updating the domain model. You should have setAddress and getAddress methods on your User object. The user could then be persisted using a business...
I'm developing a tiny application using struts+spring+hibernate.
I want to enjoy the life of rich domain objects. There is a domain object
"User" and a component "Address" in "User" object. There...
thx,Alarmnummer. I'll check it
This is a question that i always come with. For example, This is an interface as this:
public interface IFoo{
IBar getBar(int id);
}
This interface is exposed as a remote Web Service-RPC...
BTW:
The engineer told us that the return clause can not be written in try {} block in high volume condition, otherwise this style code may incur problems too!
He suggests that the code should...
Hi Spring guys:
A Sun's engineer in our company told us that the code in finally block may not be executed immediately in high volume conditions. The test engineers in our company told us...
I think JBoss Cache is better . JBoss cache is a fully transactional, cluster-safe caching system.
I've fixed this problem. Anyway,Thanks .It's so kind of you spring guys.
Thanks, Mr Johnson. I've got your advice and i'll try it.
what a great new feature!
I can not wait no more!
Can anybody give me some suggestion?
Hi guys:
I'm new to AOP and i try it with spring's AOP framework. But it does not work. Here are some code following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC...
I do not take any things lightly for Spring IDE. :D
Spring IDE is a great job.I use it in our project successfully.
Regards
I think Intellj Idea's xml editor is smart enough. We do not need to invent a new toy in another IDE.
rgs