application-server

Which Java web frameworks provide hot-reload?

I'd like to know which Java web application frameworks do provide a "hot reload" capability, i.e. allow to develop applications and have them redeployed on the server "almost instantly" (i.e. in less than a few seconds). I the Java world, Play! has it out of the box, but what I'm looking for is a more exhaustive list. Other examples t...

Path to a file in a webapp under GlassFish

How do I specify the path to a file in a web application? I have a folder named 'templates' under WEB-INF, I've been told that under GlassFish v3 the path should look like this: ./WebContent/WEB-INF/templates but this way I'm getting a file not found exception. What do I have to change in order to make it work? ...

Should integration testing of DAOs be done in an application server?

I have a three tier application under development and am creating integration tests for DAOs in the persistence layer. When the application runs in Websphere or JBoss I expect to use the connection pooling and transaction manager of those application servers. When the application runs in Tomcat or Jetty, we'll be using C3P0 for pooling...

Application Servers(java) : Should adding RAM to server depend on each domain's -Xmx value?

We have Glassfish application server running in Linux servers. Each Glassfish installation hosts 3 domains. Each domain has a JVM configuration such as -Xms 1GB and -XmX 2GB. That means if all these three domains are running at max memory, server should be able to allocate total 6GB to the JVMs With that math,each of our server has 8GB ...

Turning off JBoss hot deploy service?

What is the correct way to turn off the JBoss hot deploy service? This is a production environment. Edit: JBoss version 5.1.0 GA ...

Enabling gzip compression for Jboss

How is gzip compression for Jboss 5.1.0 enabled? Within the tomcat http connector right? I cant remember where this file is stored, server.xml? ...

Should you default to the JPA provider of the application server?

I have a 100% JPA2 compliant application which needs to be portable to many application servers. Being JPA compliant (theoretically) means we can switch JPA providers via configuration (e.g. without changing source code) -- (right???). When running within a servlet container (e.g. Tomcat, Jetty) the application is configured to run w...

Weblogic server lib VS instance libext

Hello, I use weblogic 10. Its provide an Oracle JDBC driver 10.2.0.2 (in the server/lib on weblogic home). Actually someone at work put a long time ago a 10.2.0.3 driver in instance libext folder. But in production we got a jdbc driver stack (nullpointer :O) and by reverse engineering it seems we are using driver 10.2.0.2. We know th...

Web application architecture, and application servers?

Hi, I'm building a web application, and I need to use an architecture that allows me to run it on two servers. The application scrapes information from other sites periodically, and on input from the end user. To do this I'm using Php+curl to scrape the information, Php or python to parse it and store the results in a MySQLDB. Then...

Different lib directories of JBoss

There is a number of different lib directories JBoss (5.1.0) uses: I can find jboss/lib, jboss/lib/endorsed, jboss/common/lib, jboss/server/default/lib and of course the jboss/server/default/deploy/myapp/WEB-INF/lib (am I missing something ?). From the above, I know that I need to use the last one (WEB-INF/lib) to put any jars my app ne...

Using an application managed connection pool in a JEE application server

Is it safe to run a database connection pool (like Commons DBCP or c3p0) as part of an application deployed to an application server like Glassfish or Websphere? Are there any additional steps over a standalone application that should be taken to ensure safety or performance? Update, clarification of reason - the use case I have in mi...

oracle JDeveloper 10g - Creating "Application Server" issue

i am quite new to oracle and its tools. i'm trying to connect our company server with jdeveloper i just clicked "application server" from the connection navigation panel, and i am having problems with these steps, although i read some documents about connection, i couldn't find the exact solution. the problem is in the connection tab(...

Swing Client authentication on Glassfish

Hi there, I have to authenticate a user in Glassfishv3 application server in a swing client. I can't find instructions on how to do so. Can anyone help me? ...

In-container testing vs. mock objects for integration testing

In-container testing is often opposed to testing with mock objects. However, as mock objects simply mimic the behavior of the real objects, isn't the in-container testing the only way to really test the system in its' real environment? As an partial alternative to in-container testing and mock objects, Spring provides the TestContext fr...

What is the main benefit of using an application server?

What are the main advantages (and disadvantages) of using of an Application Server, comparing to a standalone application? I'm interested in Java approach mainly. ...

Is there any particular benefit to deploying JBoss on a RHEL system?

I wouldn't expect so. Is there anything to point out? ...

Does a war file size affect in some way the application and/or application server performance?

Hi, we've bean struggling here at work by somebody suggestion that we should decrease the size of our war file, specifically the WEB-INF/lib directory size, in order to improve our production JBoss instance performance. Something I'm still suspicious about. We have around 15 web apps deploy in our application server, each about 15 to 2...

Is it portable to reference the request parameter map after a request-cycle?

I'd like to know if its conform to the java servlet specification 2.5 to reference/save the return value of request.getParameterMap() between requests. The final specification only states at page 203: Returns: an immutable java.util.Map containing parameter names as keys and parameter values as map values. The keys in the parameter map...

which server I should go for JBoss or GlassFish

I am project I will be using following tech. JSF 2.0, Hibernate, Spring, jBPM, JAX-WS so I am confused between chosing server and I am locked between JBoss and GlassFish please suggest me why I should use the one. I will be using Netbeans 6.8 ...

Java Hosting options in the market

What are the best Java hosting you know working with appservers like glassfish, geronimo or jboss.. I've developed an application in glassfish, now its time to take that app online... Based on your experience what hosting sellers/managers can you recommend? ...