I want to programmatically get the servlet containers port that my Java EE application is deployed on. I assumed there would be something in the JMX beans but I can\'t seem to find anything.
I plan to create a Java EE application in which, obviously, there will be users, groups and rights. As this application is all new, I\'ll use Java EE 6 and EJB security annotations : @RolesAllowed, @D
Im working with JSF 2.0 and Glassfish v3. I was testing the functionality of JSR303 bean validation, so I created a validator which implements ConstraintValidator and then annotate that on a property
Can sombody recommend me a good captcha tool for my JSF pages? Is there any captcha tool included in JEE6 or i have to add it to my project, like an external .jar?
I have an application scoped managed bean which main purpose is to serve the rest of the application with less dynamic data such as all available languages and a few more things.
I have .war application that I deploy to glassfish. I want to do CDI开发者_如何学Python, so I need to lookup java:comp/BeanManager from my POJO. But it does not work: BeanManager simply not found!
I\'m trying to inject PersistenceContex into POJO using @PersistenceContex annotation, I\'ve read that i need to made that POJO managed to do that. So I inject my POJO class into servlet(so its now ma
I have a problem with Hibernate/JPA, a problem when the magic behind the scene makes life difficult. What I would like to do is very trivial so there should be a solution for this but I just can\'t fi
And if so how do you do it? I have got an ejb@javax.interceptor.AroundInvoke interceptor which I like to move into a library for reuse.I moved the code into a library f开发者_Python百科ixed the depen
package com.atlanticpkg.view.beans; import com.atlanticpkg.controller.ejb.ContactsFacade; import com.atlanticpkg.model.entities.Contacts;