Questions tagged [java-ee-5]

Use this tag for questions relating specifically to Java Enterprise Edition 5.

Java Enterprise Edition 5 (JEE5) is a specification defining a collection of Java-based technologies and how they interoperate. JEE5 incorporates a set of technologies, including EJB3, JPA, JSF, etc. Numerous implementations are available in the form of both commercial products and open source projects.

246 questions
6
votes
1 answer

What is a proper way to start scheduled task on Java EE 5 (JBoss) platform?

I need to run a simple scheduled task that will start every 200ms and do something simple. Is Executors.newSingleThreadScheduledExecutor() the proper way of obtaining scheduled executor service on JBoss? It is said that spawning unmanaged threads on…
Piotr Gwiazda
  • 12,080
  • 13
  • 60
  • 91
5
votes
3 answers

How to deploy the same web application twice on WebLogic 11g?

We have developed a JEE5 web application (WAR) and running it in production under WebLogic 11g (10.3.5). Now the same application should be deployed as separate applications for different customers (different URLs, different data) on the same…
Alexander Rühl
  • 6,769
  • 9
  • 53
  • 96
5
votes
1 answer

Jsf DataModel vs Java List problem ( no row available exception )

In JSF 1.2 One was listing Items using Java List : private List customerItems = null; , but in JSF 2.0 JSf DataModel (ListDataModel) is the way to go. (I am using JSF 2.0) private DataModel customerItems = null; public abstract DataModel…
Hanynowsky
  • 2,970
  • 5
  • 32
  • 43
5
votes
3 answers

JSF Active Sessions counter. How to?

Good evening, In a test JSF 2.0 web app, I am trying to get the number of active sessions but there is a problem in the sessionDestroyed method of the HttpSessionListener. Indeed, when a user logs in, the number of active session increases by 1, but…
Hanynowsky
  • 2,970
  • 5
  • 32
  • 43
5
votes
5 answers

Any data-driven open source JEE5 EJB3+JSF Sample Project out there?

I am looking for an open source project that uses EJB3 as backend and JSF as frontend. It should not be a tutorial but a real application that real people are using. The application should be data-driven, i.e. the following aspects are fundamental…
Marcel
  • 3,749
  • 6
  • 29
  • 35
5
votes
5 answers

how to implement a cache in ejb 3.0?

I have a customer who's stuck in an EJB 3.0 environment. No @Singleton, no bean-managed concurrency :-( Considering thread management and synchronization is forbidden by the ejb specification, how to implement a cache? In essence, I want an…
ymajoros
  • 2,454
  • 3
  • 34
  • 60
5
votes
3 answers

Java EE6 over EE5?

We are at the edge of getting Java EE6 (with Glassfish v3 as reference implementation). Planned release is December 09. While still quite a number of companies are struggling to move their codebase to EE5 (from earlier versions), we are in the…
javadude
  • 1,763
  • 1
  • 19
  • 38
5
votes
4 answers

Any open source java library which can parse an EDI file in both ANSI x12 and UN/EDIFACT standards?

Is there any open source java library which can parse an EDI file in both ANSI X12 and UN/EDIFACT standards? I have found smooks (http://www.smooks.org), which supports UN/EDIFACT standard but not sure whether this will support EDI files in ANSI X12…
Leejoy
  • 1,356
  • 5
  • 23
  • 36
4
votes
1 answer

what's is the best way to initialize log4j with EJB 3.0?

I have an EAR who has only EJBs (EJB3.0) and with out a WAR module, the server is JBOSS 4.3 over linux. I want to initialize LOG4J with a log4j.properties file outside the server and use slf4j as facade. What is the best way to initialize my…
Kaltresian
  • 961
  • 3
  • 14
  • 32
4
votes
3 answers

How to get all the LDAP groups for a particular user?

I have a weblogic server using an external LDAP as Provider for authentication. I than need to recover the groups that a specific user has associated with in an LDAP repository. The login uses standard java notation:
groo
  • 4,213
  • 6
  • 45
  • 69
4
votes
2 answers

@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 spring-core. And i noticed that "Mapped-name" is…
user817387
  • 41
  • 2
4
votes
4 answers

Porting a JMS application to MQ

Today if we build an application using the JMS API (using MDBs as message listeners, host it on lets say GlassFish or Weblogic 10) and tomorrow lets say the traffic goes crazy, can we port this application without code changes to some product like…
Robin Bajaj
  • 2,002
  • 4
  • 29
  • 47
4
votes
1 answer

Error deploying spring boot to weblogic 10.3 - Exception in AppMerge flows' progression

I created a spring boot 2.0.0 - rest application .. It's running fine on the embedded tomcat in STS (using Run as Spring boot application) but when I assembled it into war and tried to deploy it on weblogic 10.3.6 (java EE 5 compliant server) it…
osama yaccoub
  • 1,884
  • 2
  • 17
  • 47
4
votes
3 answers

Object suddenly missing from HttpServletRequest

I print a list directly in the servlet using the print writer and the list prints. When I try to put in the jsp however the list doesn't print whether I use JSTL or scriptlets. I tried to test in JSTL and scriptlet if the object is null and turns…
Jeune
  • 3,498
  • 5
  • 43
  • 54
4
votes
1 answer

Cron syntax with Java EE 5?

Timer Tasks in Java EE are not very comfortable. Is there any util, to configure timer with cron syntax like "0 20 20 * * "? I wonder, if it would be a good way to use Quartzinside (clustered) Java EE application. According to…
marabol
  • 1,247
  • 2
  • 15
  • 22
1
2
3
16 17