j2ee

J2EE Centralized URLrepository Sharepoint

Friends I am going through this pain of remembering all urls or adding it to my favorites every time there is a release or search for the urls in mailbox when needed it is confusing all the time. We have around 25 apps which we use regularly in our daily work and its growing. I have this idea to develop little J2EE app or a work flow wh...

Using struts.xml with convention plugin

This seems like it should be easy to do, but I just can make it work. I'm hooked on the convention plugin in Struts 2.1. However, I need to define some package-level configuration such as a new interceptor stack and exception mappings. I'd like to use the struts.xml file for this, but I can't get the convention-based packages matched to ...

How to load ms word document in jasper report

How to load word document in the jasper report in java. Thanks in advance ...

GWT complex app, many screens. Architecture?

I'm making a GWT application which will have many screens. There will be a menu on the left and clicking a menu option will open the relevant module in the right side content area. Clicking on items in the content area will link to other modules that open in the same content area. How do I implement this architecture? How do I pass obj...

Available J2ee Frameworks

Hi All, I am working in Struts 1.6. I want to learn good, scopeful new j2ee technologies. Anyone can help me out what are the technologies available to J2ee first and which one is best. Thanks ...

Problem test with seam and hibernate (JPA)

Hi guy, I work on an application which use Seam and Hibernate (with Jboss 5.1 server). I have 4 projects in my eclipse (Portail, Portail-ear, Portail-ejb and Portail-test). When I start the application, all work fine (I can go in localhost:8080). But when I want to realise some tests in the test project, I have a problem. Here is the ...

Introduction book for JBOSS

Hi guys, I join a programming competition that requires participant to use JBOSS platform. Do you guys have any recommendation on what books or articles I could use? ...

Ways to polling server status

Hi guys, I am try to create a JSP page that will show all the status in a group of local servers. Currently I create a schedule class that will constantly poll to check the status of the server with 30 second interval, with 5 second delay to wait for each server reply, and provide the JSP page with the information. However I find this w...

Which java technology should i use , if i want to build website with thousands of users

Sorry for asking this question but i searched all java realted question but i got more confused. I am still not clear what should i start with 1)My main is build website in Java because someone told me that there are some machine learning or AI libraries available in java which i can use in java. so i decided to use that as it can reduc...

Initialize J2EE Application Cache on Startup

Hey Guys, I am writing a J2EE application which calculates a lot of things by reading from files. This process takes a lot of time and I want it to be cached automatically everytime the application is deployed. So, I was thinking of making a static class and storing my cache results in a static hashmap of some sort. But any ideas on...

How to avoid Perm Gem space exception in JBoss server ?

I deploy my J2EE application after making some changes to the code. At maximum of 4 times I can deploy the EAR file into the server without restarting the JBoss server. After the 4th deployment if I deploy one more time it throws PermGem space exception. I don't what this exception is. I restart the server then everything works fine. ...

debate: Is adding third party libraries to a war a good idea?

We have a debate going on . a. The "standard" way of assembling a web app. Create a WAR with all our app artifacts and all other components like hibernate and memcached etc are deployed in the tomcat/shared/lib area. b. Create a humongous war with everything included and nothing in tomcat/shared/lib. Pros for a - It keeps thi...

Spring-json problem in Liferay with Spring 2.5

Hi all, I am trying to use the library spring-json.1.3.1 in a project that has been done with Liferay 5.1.2 which includes Spring 2.5. Following the project website instructions, I managed to make the request hit in my controller, but at the moment of returning the json object back through the modelAndView object it fails with the foll...

Connect to hotmail with javamail?

Hello I wonder if it is possible to connect to Hotmail with JavaMail? I've tried this but it doesn't work, connection refused... String host = "pop3.live.com"; String username = "[email protected]"; String password = "rqetqetq"; Session session; Store store; String SSL_FACTOR...

Deploy multiple instances of the same application on JBoss

I want to deploy multiple instances of the same Seam/EJB3 application that differ only in their database settings on the same JBoss server instance. That way I want to provide different demo instances of this application. Is this possible at all? And if it is what do I need to change in the configuration of JBoss and the application ins...

Creating an application instance specific cache for Java/WebLogic Web Services

Hi all, I'm new to both J2EE and WebLogic. I'd trying to determine the best way to implement a non-distributed cache (one cache per application instance) in a Java Web Services application running on WebLogic 10.3. I need to cache several different POJO's. There will be multiple WebLogic instances running on each server in a cluster. W...

Pre-deployment application properties update on Tomcat 6

Hi everyone I'm looking for the best way to update some properties before deploying of application onto tomcat 6. There is a jee application that's going to be installed on some Windows workstations. Few modules of the app need property update before deploying onto tomcat server. Property updater is realized as standalone java applicat...

log4j with multiple WebLogic instances

Hi all, I'm creating a Java Web Services application. I intend to run multiple instances of WebLogic on each machine in a cluster. I'd like each application instance to write to its own log file, but I'm not sure how to do so without creating instance specific log4j properties files. Is there some way for me to dynamically determine th...

GET ServletContext in ServiceLayer

What is the best practice to get servlet context in service layer ? ...

Jdeveloper 11g dislikes

Firstly, in my opinion, this question is relative to programming, as much as the answers (and the question itself) is subjective, I would like to see some of these subjective opinions, and other ideas that come from it. My company is deep in bed with oracle. They are making a strong move towards java, and well forcing JDeveloper down on...