j2ee

How do I undeploy/completley-remove .war deployed under webapps directory when Tomcat 6.x is uninstalled?

Hi All, Does anyone know of a method to remove all webapps deployed from .war files when uninstalling Tomcat (other then Shift + Delete . . .)? The reason I ask is is described below. I am using InstallShield 2009 to lay down a copy of the JRE and Tomcat 6.x, where the Tomcat start/stop uses org.apache.catalina.startup.Bootstrap and i...

Which Unix flavour do I need? J2EE application using IBM tools?

I want to try Unix for developing J2EE application. I use the IBM software. WASCE as application server DB2 Express-C as database. Eclipse Which Unix flavour will be most suitable for me? ...

Please suggest a Java Framework to make the CRUD easy...

I know that the RoR can do the CRUD easily, but is there any similar framework in Java to make the CRUD easy instead of typing boring SQL statement? ...

upgrading some code from gwt to gwtext

I have a finished project of which i used GWT for, and I would like to change some of the ui to use the gwtext framework. One would think this is simple or maybe I am just the simple one. I cannot even successfully make a gwtext hello world application nevermind upgrade some of the widgets in my existing project. Both situation have dif...

How to stop further request execution from inside a taglib?

Basically, we want to create a taglib that can possibly forward request execution to another page, similar to <jsp:forward />. How can we prevent the rest of the JSP page from executing from within the taglib? ...

SAP JCo connector loaded forever in GlassFish v2.1 (can't unload)

Hi mates! I've a problem with GlassFish and SAP JCo connector (sapjco3.jar) I load it at start up of an J2EE application (jwm.ear) and initialize it wrapped in a singleton the first time a connection to SAP is needed. The problem is that this jar remains always initialized in memory, I need to restart glassfish to unload the initializ...

What are the static tool analysis options (apart from CAST) via plug-ins for Java code with framework?

Need to know about static tool analysis options via Eclipse plug-ins for Java code with framework especially for Struts, Spring and Hibernate. The purpose is primarily analysis (and not Quality metrics) of references (similar to References option in Eclipse). The task to accomplis is impact analysis for applications with a lot of framewo...

Can JavaSE doing a web application?

I know that J2EE can using JSP + Servlet, can I use JSP & Servlet using J2SE? ...

server side for mobile application in java me

Hi everybody, Im making mobile application in java me and I want to have server side from where Ill get some information for the application (not to have much information in xml file in the application). I dont have much experience with servers, so I would like to know how to deal with it. Probably I should make some web services. Im ...

Best Eclipse Plugins for java development making use of spring/ struts /hibernate?

I am looking for plugins which make developer's life easy while using technologies like Struts/ Spring/ Hibernate. For instance, here is a requirement: If I were to change an Struts Action, I should be able to list out all the Struts Actions for my webapp, right click and add a method/ do some changes. So, basically, I need to know w...

Session Management in Tomcat

Hi, I have developed a simple web-app with 2 servlets A and B. I have a few doubts related to session management for the web-app by Tomcat. NOTE - I have disabled cookies in my web-browser (Chrome) while accessing the web-app. 1.) When the web-app is first hit, Servlet A gets invoked. Servlet A accesses the session from the request a...

ValueListHandler dependencies

Was just struck by a thought after looking through the ValueListHandler JEE pattern on the corej2eepatterns site: Why does the valuelisthandler require a reference to a data access object? Based on what is said, the ValueListHandler's job is to pretty much do the non-functional stuff (cache, sort, search traverse) with a list containing...

Different ways to use properties file in j2ee app

I have a j2ee app using Struts2. I have a gloabl properties file which is declared in struts.properties which resides in WEB-INF/classes. It has the following setting: struts.custom.i18n.resources=mypropertyfile mypropertyfile also resides in WEB-INF/classes Say for example it contains the following: pdf.test.title=PDF Test then...

Question about installing Java EE locally?

I am a fairly experienced Java programmer that is interested in learning Java EE. Could someone point me to (or describe) how I can get a test environment set up locally so that I can start developing an application (i.e. what webserver I should use, framework if any - Spring? etc.). I am working on a linux machine. I think I will lea...

Downloading an Excel file over https to IE from a J2EE application

Hi, Is there a way to download an Excel file from a J2EE application to an IE browser over https. My code works fine with Mozilla but IE just gives an error. I know that Excel over https is a problem for IE. While I've seen solutions for some environments, I haven't seen anything for J2EE. jd ...

Massive Refactoring in Spring J2EE

I'm doing a massive refactoring on a Spring-J2EE business application. However, all the refactoring is going to be within the many static classes that we use as utility classes (validators, algorithms, object processing logic, resource management, nifty utilities etc.), not within controllers and persistance classes. Also, the critical ...

Inheritance concept

In Inheritance concept, i have a static method in super class and i am inheriting that class to one sub class. In that case the static method is inherited to sub class or not? ...

EJB - Performance issue (having more number of EJBs have effect on the performance)

We are developing an application with around 400 database tables. and have equal number of EJBs (All are Local interfaces and EJB is stateless) and one EJB is injected into another EJB by @EJB tag. My doubt is, is having more number of EJBs have any effect on the performance on the application? ...

Best J2EE server for ColdFusion

What is the best J2EE server to deploy coldfusion 9 on? I know there is Tomcat but i'm sure there are others. ...

How do i retrieve a JSF component value by using EL ?

Hi, Before going on, see this question Its JSF form is shown again as follows <f:view> <h:form> <div> <label>Id</label> <input type="text" name="accountId"/> </div> <div> <label>Amount</label> <input type="text" name="amount"/> </div> <h:comman...