java-ee-5
Globally accessible property in EJB
I have a JavaEE application that needs to access a file in order to obtain certain informations about the installation.[详细]
2023-04-06 16:58 分类:问答How can I truncate string in JSF?
How can I truncate string in JSF2 ?Say I have a really long name and I only want to display 5 characters how can I do that? I know I use backin开发者_高级运维g bean what any better options.use JSTL fn[详细]
2023-04-04 17:12 分类:问答EJB3 & How JAAS subject/principal is propagated to EJB Tier from servlet container?
I\'m trying to understand how the JAAS principal propagates to the Business/EJB tier from web tier. I\'ve read that the if the roles/realm is configured in login-config & security-context of web.[详细]
2023-03-30 16:04 分类:问答WebLogic 10.5.3 + Seam 2.2.1: Application does not start
we have a WAR packaged web application which works on a development machine. It consists of Java EE 5 + Seam 2.2.1 + Hibernate 3.3.1. It uses an Oracle 10g XE database and runs on the latest Tomcat 6[详细]
2023-03-30 02:30 分类:问答How to get number of connected users and their role using j_security_check?
I get the username of the connected user (using j_security_check) this way, through a managed bean: ......[详细]
2023-03-26 10:21 分类:问答@Resource annotation not working properly with JBoss5.0.1
I\'m tring to deploy my app in JBoss 5.0.1. Some of my beans in this app are using @Resource annotations. If i understood the problem, my guess is JBoss is tring to process this annotation before spri[详细]
2023-03-17 21:37 分类:问答Can't execute embedded Glassfish App at Apple platform
I\'m having a problem running an JEE5 application at GF 3.1 Embedded at Apple computers... (the same environment works at Linux and Windows). The server starts ok, but when loading the APP the server[详细]
2023-03-15 14:47 分类:问答Which design-pattern is right in this scenerio?
In a problem scenerio, I have to call five different vendors complying to same industry web service API. Based on the output received from each, I would chose best among all and perform remaining busi[详细]
2023-03-14 20:01 分类:问答Jsf DataModel vs Java List problem ( no row available exception )
In JSF 1.2 One was listing Items using Java List : private List<Customer> customerItems = null; , but in JSF 2.0 JSf DataModel (ListDataModel) is the way to go. (I am using JSF 2.0)[详细]
2023-03-13 21:08 分类:问答JSF Datamodel & JPA parent to leaves navigation. How to?
My web application is a CRUD web application based on JSF 2.0 / JPA using Java EE 5 and JDK 1.6. Running on Glassfish 3.1. The IDE is Netbeans 7.0. (I do not use EJB, nor CDI).[详细]
2023-03-12 23:46 分类:问答