cdi
Inject a Entity into a ViewScoped Bean
I am new to CDI and want to use this for a JSF2 application. The class MyUser is a simple @Entity-Bean and a object is created in a @PostConstruct method in bean:[详细]
2023-03-12 14:35 分类:问答ICEfaces 2.0 and h:commandButton method not called, with ice:commandButton everything is ok
I\'m trying to use ace:fileEntry to upload a picture, as I read this component requires a submit from h:commandButton in order to start downloading. My problem is that when I switched my ice:commandBu[详细]
2023-03-12 07:08 分类:问答Serving files with JSF 2 / CDI, using bookmarkable URLs
My main question is : Is there a \"good practice\" to serve binary files (PDF, docs, etc) using JSF 2 with CDI, and using bookmarkable URLs ?[详细]
2023-03-11 03:24 分类:问答@PostConstruct called multiple time for @ConversationScoped bean
I have a @C开发者_开发百科onversationScoped bean, with a start method, like so: @PostConstruct public void start() {[详细]
2023-03-09 10:01 分类:问答Netbeans: Weird weld se behavior
Following the official documentation I implemented a very simple Java SE Weld quickstart class. @Singleton[详细]
2023-03-09 08:30 分类:问答@EJB dependency Injection doesn't work in JBoss AS 6 NullPointerException
public interface ModelClient { public JSONObject _callModel(URL url); } @Stateless @Local(ModelClient.class)[详细]
2023-03-09 06:32 分类:问答Seam 3 in a nutshell?
As a JSF 2/PrimeFaces developer I\'ve had a look at Seam 3 as something that could be useful in my proje开发者_JAVA技巧ct. So far the @RenderScoped functionality looks[详细]
2023-03-08 06:11 分类:问答Getting a "WELD-001408 Unsatisfied dependencies error when deploying a class injected with an interface"
I\'m doing some unit tests using 开发者_JAVA百科Arquillian on JUnit4 and Jboss6. There is a facade(SomeFacadeclass) that has the \"SomeClass\"(which is an interface) injected to it. When Arquillian de[详细]
2023-03-07 04:35 分类:问答Are CDI event observer methods compatible with EJBs?
I have a Singleton EJB (javax.ejb.Singleton version. sigh.) which has a CDI observer method on it. When I try to deploy this to glassfish 3.1 the server fails to deploy the EAR file without any real e[详细]
2023-03-06 03:06 分类:问答Is CDI a good replacement of Spring? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2023-03-05 19:45 分类:问答