j2ee

Problems deploying Spring 2 aplication in Apache Tomcat 6

I'm trying to starting up with a Spring 2 + Struts 2 + Hibernate 3 arquitecture project, but I get an exception when deploy it in Apache Tomcat 6.0 within Eclipse (Helios version). Tomcat's exception on start: GRAVE: Error configurando escuchador de aplicación de clase org.springframework.web.context.ContextLoaderListener java.lang.Cla...

Why do people design EJB2 which is difficult to write and deploy?

Many J2EE developers know that EJB2 forces them to write 'useless' Home interfaces. In addition, deployment XML are different among application servers. So I don't know why EJB2 is part of J2EE specification for many years? Any non-technical interest are concerned? ...

How implement's Timeout with quartz.

Hi, i'm trying to find the best way to implement a timeout with quartz but i wanna know if this framework already contains a class or interface to do it. The timeout that need to implement it's because i want to know how long have been work the job, and take the desicion of turn off the job. ...

Best practice of J2EE component / integration testing

Hi, we are about to implement an enterprise application with several components. I am working on a component which exists of: Component A - sending to JMS queue Component B - periodically called, receiving from JMS queue and sending to another JMS queue Component C - MessageDrivenBean sending the data to another component. Additionall...

Get sources of a snapshot dependency on Eclipse

Hello, Something bother me a lot... On a big project with many dependencies, some of them are set as SNAPSHOT in Maven2. The matter is that it seems i can't get the sources through Eclipse without loading the project or fixing the dependency to the last release. For debugging, it's really annoying me... EDIT This is what i get in ...

JPA get values from the collections in entities

Hi, I'm new to JPA and now stuck with a problem! I have two tables Person and PersonAddress. In the Person entity, I have @OneToMany(mappedBy="personid") private Set<Personaddress> personaddressCollection; and public Set<Personaddress> getPersonaddressCollection() { return this.personaddressCollection; } public void setPerson...

Need some help with choosing a solution for implementing a dashboard

Hello, I would like to implement a dashboard with dashlets/portlets that offer the following functionality: A dashboard which shows the overall state of various services (Net Banking, Mail, Core Banking, Intranet,Sharepoint etc). First level can show the service name and a status showing Green, Amber, or Red. If the user clicks on the...

Moving from jboss 3.2.1 to jboss6

Now we have a project with java 1.4 and ejb 2.1 running on jboss 3.2.1. We are trying to update up to java 6 and ejb3.1, but we are doing it in steps. So my question is simple, can we use ejb2.1 on jboss6? ...

How to implement single sign-on for Web applications?

What are the strategies for implementing single sign-on in web applications? ...

Clarification on usage of "Cache-Control" header

We are trying to improve the page load time of a site. In addition to the few other optimizations, I have added a servlet filter to set "Cache-Control" headers to image files(png,gif,jpg). As expected,the image files are now getting cached at the client end and I could verify the expires time of each file by inspecting the temp folder(IE...

what i need on my server to support java webprojects ?

I'm beginner in java and i want to have a VPS what i need to install on my server to support java projects i think only JVM 6.0 JBOSS MYSQL are Enough any one can help me about the softwares and the version i must install on my linux server, and how can i install them? ...

can i have more than one java application server on one server ?

is it possible to install more than one java application server on one server or VPS ? i want to install JBOSS , TOMCAT , WEBLOGIC and my be more. how this is possible and what the benefits and disadvantages ?! ...

Java EE application approach

I have come up with a small project to help me learn Java EE, i'm unsure what technology best suites what I want to achieve however so i'm hoping someone can point me in the right direction. What is essentially a gloried web crawler should be constantly running somewhere - maybe updating a database or not (the information will become ou...

Keeping updated on Java Technologies

Possible Duplicates: What is the best blog for Java development? Good sources to learn about Java trends. dear all, I work as java engineer, job profile is r&d. I would like to keep myself updated with latest/emerging/new Java based Frameworks or any other new technologies build on/around Java. How would i accomplish this? ...

Testing intercommunicating servlets in JUnit

I was wondering how I could test two servlets that need to communicate with one another in JUnit. I'm using com.meterware.servletunit.ServletRunner to run each servlet, but for some reason they cannot communicate with one another. For example, servlet A needs to open up a URLConnection to servlet B, but when run in JUnit with both se...

Sun Java System App Server on Netbeans 6.9.1

In adding a server on Netbeans 6.9.1 when SJSAPS 8.2 is chosen I receive an error. Something to do with the location. Can I use SJSAPS in Netbeans 6.9.1? Or have to use Java EE 5 which comes with Glassfish v2. 6.9.1 also has a choice for Glassfish v2.x but I get the same error. Reading Sun's tutorial on "Servlet Technology." See lin...

JasperReports NoClassDefFoundError exception on net.sf.jasperreports.engine.util.JRStyledTextParser

When trying to export on WebLogic 11g, it throws NoClassDefFound exception. I checked the application WAR and jasperreports-3.7.4.jar is included in WEB-INF/lib folder. What is the error? StackTrace java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/util/JRStyledTextParser at net.sf.jasperreports.engine.fill.JRBaseF...

Java EE Module Dependencies page in Eclipse missing projects

We're developing a web application using Tomcat and a number of other libraries, and we're having issues using the "Java EE Module Dependencies" page in Eclipse to assign dependencies to be placed in the lib/ directory of the webapp. (See screenshot) The issue we're having is that while most of our projects show up as available dependen...

Oracle Oc4j 10i JNDI Datasource lookup problem

I am facing a JNDI Datasource lookup problem in Oracle OC4JAS 10i deployment. This problem occurs only in quartz scheduler job. any ideas? ...

OSGI runtime inside traditional J2EE server

I understand it should probably be other way round (OSGI runtime hosting J2EE servers), as it is apparently already possible with glassfish. However, our clients have extensive experience in administering traditional J2EE servers and significant investment (licenses, training etc.) Our architecture would benefit from OSGI modular archit...