I'm using Struts2 in nearly every new projects these days, with Guice as the
IoC injector.
I want to switch to Resin's WebBeans implementation and Resin/IoC.
One of the main concerns is that I could not figure out how to write a
ObjectFactory implementation using
Resin/IoC/WebBeans
To implement a com.opensymphony.xwork2.ObjectFactory, we should override
method
public Object buildBean(Class clazz, Map extraContext);
and create/obtain a bean instance of specified bean class (provided by param
clazz).
I think I may get a WebBeansContainer instance as follow
On Dec 21, 2007, at 7:15 AM, wesley wrote:
To implement a com.opensymphony.xwork2.ObjectFactory, we should
override
method
public Object buildBean(Class clazz, Map extraContext);
and create/obtain a bean instance of specified bean class (provided
by param
clazz).
I think I may
We are using Resin 3.1.4 with Apache 1.3.39. If mod_caucho.so is
active in httpd.conf and Resin is running, httpd processes become
utilizing more and more RAM (each one getting about and more than 100
Megs for Virtual and Resident memory values). When mod_causho is not
active, Apache does not
Thanks Scott,
I tried already, both in Servlet and JSP or in an ObjectFactory
implemetation class, but got null ComponentFactory instance.
My test JSP:
%@ page contentType=text/html;charset=UTF-8 language=java %