JSF, MVC, CDI and .net Or Questions for the 14th Airhacks "May" Edition 📎
Questions for the 4th May, 6.PM. CET, or 14th airhacks.tv edition: http://www.ustream.tv/channel/adambien:
- "Stop talk about Java EE" email from Gulam
It’s been announced a new MVC framework with Java EE 8. What do you see in the future of JSF? Do you think JSF will become obsoleted by this MVC framework?
Antonio Varela. antoniovlDo you use JSF for the presentation layer of your projects, or you use something else?
Antonio Varela. antoniovl- I’m reading your discussion of CAP in Real World Java EE Patterns. When you say ‘the “Don’t Distribute” advice can be understood as a general best practice’, does that include cases where a single-JVM app is replicated on the nodes in a cluster? In other words, is the best practice not to run a cluster at all? Or does “distributed” here refer only to apps where you run “the presentation in one process and run your business logic on another machine”? [Mike W.]
- obviously it’s not so difficult to send out emails from a Java EE application via JavaMail. What I am interested in is the best practice to receive/handle correspond ending emails (from the MTA)? Background is a mail based API where requests are sent by mail and the response arrives also via mail. suchwerk
how would you inject properties using CDI that can change at runtime ? This means that a property could have a different value in the next request. Unfortunately you can’t use the following:
@Produces
@RequestScoped
@MyPropertyQualifier
public String produceProperty(InjectionPoint ip) {
///
}
You will get two CDI errors at deployment time because:
InjectionPoint needs to be declared in a @Dependent Scope bean.
String is not proxiable. This could be solved by introducing another class that wraps the value. carlosbarraganIs Java EE more secure and faster than Microsoft’s ASP.Net MVC?
Is Java EE more secure and faster than Spring Framework? viktorcitaku- Is it a good idea to move the business logic Java code from our Service layer to Stored Procedures on DB level? trimkadriu
- I am a beginner of javaEE, but i have read some concept of CDI and according to it, we need a bean.xml to tell the glassfish that we are using CDI in our application. I have follow your airhacks application on github, my question is where is the beans.xml in airhacks application and how @inject is being executed and when. nazmuddin
Porcupine exposed by jmx and collected in LightFish? Good idea or not. I’m having problems with the seeing the jmx on glassfish.
So trivial I’m embarrassed. When you use code completion on netbeans you seem to use a key short cut to select rather than a mouse. If so, what are they, I’ve spent far too long looking for them.
Have you had any problems injecting ejbs into rest sub resources?
Hope your arm isn’t too badly broken.
lachesAbout AMX…
What happened to AMX support for Glassfish? I have been trying to get it working in glassfish 4.0
and have been unable to used it. If its supported, where can i get some examples?
Can we overlay JMX to get AMX Beans?
What other application server supports it?
henryvoyerIn a JEE weabpp where services layer uses EJB3/JPA2.0 and every service extends a base EJB under an interceptor that sets the entity manager, how can this be flexible to set an entity manager that could vary since i’ve defined at least 3 different persistence units?
Right now i have a dedicated base service class + interceptor for each persistence unit. arthurportas
See also other screencasts at: http://tv.adam-bien.com or subscribe to http://www.youtube.com/user/bienadam.