Java Front Controller
Hi, I'm thinking of implementing Front Controller in my J2EE application. Could you please suggest the same with few links (with source code examples) & any standards to follow? Best regards ...
Hi, I'm thinking of implementing Front Controller in my J2EE application. Could you please suggest the same with few links (with source code examples) & any standards to follow? Best regards ...
I got interested in looking at JSF 2.0 as a potential technology to use. Does anybody know when this version is scheduled to come out and how active is the project in general? ...
I am considering purchasing VBulletin and integrating it with my J2EE application. While I am still looking into what it takes to enable this integration, I was wondering if VBulletin supports single sign on so that my users do not have to login to VBulletin once they have been authenticated to the application. Any thoughts? ...
I have a WEB Application deployed in Tomcat. I would like to intercept all the incoming requests - get or post and perform some task. I want to intercept calls from servlet, from JSP pages etc. So I created one web.xml file which looks like this one - <servlet> <description></description> <display-name>Transformer</display-nam...
Hi How should I handle WAR files (using GWT) along with Subversion in Eclipse? The problem atm. is when adding the war folder to SVN, it includes all the compiled code, which I don't have a option to filter out, making svn checkouts long and pointless. I don't want my compiled class files on my subversion server, and I don't want svn ...
What minimum version of the Servlet API is required to run JAX-RS 1.1 (for example Jersey 1.1)? ...
Hi With following structure, how can I make Eclipse build the WAR file correctly? I need following folders to go into following output folders: mail/src into mail/war/WEB-INF/classes mail/www into mail/war/ I have tried setting the Output folders in Eclipse, but that doesn't result in anything but Eclipse magically deleting all WEB-...
Headers are always Strings. Even the getIntHeader() method always takes a String representing the name of the header; so what is the int about? ...
My app will retrieve a countylist from MySql using a datasource bean. Since all pages will potentially use the same recordset every time I could store the countrylist as a List in some global bean, safe in this case. I could manage to refresh the list any time I want... but when things become more complex what is the best strategy for it...
Can anyone point me to the steps/resources that describe: How to deploy a JEE app on amazon-EC2 Maintain changes to the meta-data of the app server (deploy new applications) after an instance reboot (probably using amazon-ebs) ...
my site is structured as (in tomcat) blockquote /web/* blockquote /services/* where the web is all static content, html jpg, my web designer is using ftp to upload/edit the content of the /web/* /services/* is deployed as a .war file in tomcat i point the ftp user's root to /tomcat/webapp/web/ folder how to migrate to...
Hello, I'm using Spring Batch for a system that does a lot of batch operations. I'm using SimpleJobRepository with in memory DAOs. I would like to know if there is a way to avoid using a JobRepository? something similar to the resourceless transaction manager? The reason i'm asking is that the system should run constantly without restart...
I am attempting to setup a sample dynamic web project in Eclipse using Java EE, Spring and Maven (using Nexus repository manager). I was wondering if anybody knows the "best practice" directory structure that I should setup for an enterprise web app in Eclipse? Should I just stick with the default structure that is setup for me? I ask...
Hi, I have just started learning about Java server faces and successfully tested out my first web app in JSF. What puzzles me is that the navigation rules are specified in my faces-config.xml located in my WEB-INF folder and no where in my web.xml have i specified the location of my faces-config.xml file location. So how does navigat...
I use the latest m2eclipse to generate a standard ejb project, but then I got an error: Missing artifact javaee:javaee-api:jar:5:provided The pom.xml is as follow: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://m...
Is JSP = Servlet? And JSF = Pre-build UI based JSP (like asp.net web control)? ...
I use Java Persistence, and I want a web method to return a 'portion' of an Entity class. For example, I have a Customer class that represents a record in Customer table with many fields, but I want to return just few of them. Is it possible to use mapping to do that? Or the only way is to create a new class (maybe a superclass for Custo...
I am starting a new project and must decide between the two. The team has no experience in either. Both seem to have similar functionality. If you have experience in either technology, or both, I would appreciate your input. Thanks ...
Hi, I'm writing my first JEE (EJB + Servlets etc.) application (please note: I'm using Eclipse). I'm stuck with a problem with EntityManager injection not working, and having some difficulties finding why due to my JEE (and Java in general) noobness. Here is my persistence.xml file - I think this is mostly correct, since I can launch th...
When I run an application that uses db40 I get the following error: Any ideas? Everything looks fine and "Hashtable l = db4o.db.getTheDatabase().getPlants();" shows OK in netbeans (all the methods were correctly written). type Exception report message description The server encountered an internal error () that prevented it from ful...