application-server

Including Source in Archive File

I was considering including the source code in my archive file (EAR, JAR, WAR) so we could see what the deployed application looks like. This will obviously make the archive much bigger. Does the size of the archive file affect performance on the application server at all? Is this a good idea or not? ...

What kind of application would serve as a dedicated application server?

In a very popular ecommerce store, I'd imagine the actual processing of the credit card would be moved to some sort of dedicated application server, and made into more of a asynchronous process. What sort of java application type would that be? i.e. a service that would take a message of the queue, and start processing the request and ...

Unit testing CRUD operations when data source is configured in application server properties

Hi all! Please, tell me: How can I write unit test (e.g. with JUnit) for operation "insert into some table" when many properties for normal application work are saved in config files for application server? Thanks!a ...

How to begin writing an Application Server over Apache?

For my college project, I want to create a simple application server in C that runs over Apache. Like .php, .asp, .jsp, the extension of my files would be .sas. I have already written a parser which reads the .sas files and generates the output. For example, consider a file index.sas with the below code: <% echo "Hello"; %> ...

Why does the .net world not have application servers like the Java world ?

I know about IIS being the web/application server. Why not have full fledge enterprise application servers like Web Logic / Tomcat / JBoss that are so scalable like they have in Java world. EDIT1: I am not a Java developer myself. I called those servers only because "scalable and configurable and optimized" are the buzz words associated...

what is application server? What are Rich Internet Applications?

I'm from a PHP background. All I know is that web server handles the http request PHP interpreter that is embedded into web server compiles the PHP script The result of above will be HTML, which is returned to client again by the webserver. Now, I don't understand one thing. what is application server? What is the difference between...

Client side sessions

I want the clients of several related web apps to hold their own authentication state. This improves scalability, because no session replication between cluster nodes is needed. And it makes integration of different server technologies like Java Servlets and PHP easier. My plan is as follows: Set a signed and encrypted cookie with th...

Maintaining state in the application server or in the database?

REST advocates web applications without client state on the server. The famous shopping cart example is translated to a resource which typically resides in a database. I wonder if it is a good practise to use a database for that kind of data, since the database is already the bottleneck in many applications. Wouldn't it be better to use...

How do I access Glassfish V3 Administration Console Website from a remote host

I have installed Glassfish v3 on a standalone server running ubuntu-server 9.10. I can open the Admin website if I use a browser running on the server by browsing to: http:// localhost:4848/ I would like to access it from a remote machine by browsing to something like http:// mydomain.com:4848/ The firewall is definitely allowing tra...

"Unable to Load Servlet Class in specified module" shown while adding servlet to war file

I'm using sun java app server 8.0 PE, I have created webapplication and added some servlets and deployed successful. after some time I again, tried to add someother servlet as a webcomponent, while adding I got following error , what is problem exactly? "Unable to load servlet calss specified in module, java.lang.ClassNotFoun...

question about application instance management

I am currently working on a rather large project with a team distributed across the United States. Developers regular commit code to the source repository. We have the following application builds (all are managed by an application, no manual processes): Continuous Integration: a monitor checks to see if the code repository has been ...

How a war file gets deployed in any application server?

I know that when a war file is created of my web application, i have to deploy it, that is if i am using JBoss i have to copy it to deploy folder and if using WAS i have to install it. But i want to know, When i start the server from where the server starts deploying my application. that is which is the entry point to start loading my cl...

Java EE without Application Server

Since EJB 3 we have embeddable EJB containers, JPA implementations can be used without an application server, there is Weld for contexts and dependency injection and so on. Since on many systems is only Tomcat available, I wonder, if Java EE could be used without an application server but with a Servlet container like Tomcat. What woul...

Stand - alone application with JBoss or Tomcat

Hallo, I have a more specific question about deploying a Java-application. I have created a Java application, it is a WAR file and can be installed on any Java application server. This works perfect. Now for users who do not have Java experience I want to package somehow my application together with the application server and distribut...

Choosing an Open Source Application Server for J2EE

Hello, I know this may be a recurring topic, but I have read a lot of articles and I still have doubts. Also, I would like to hear more recent opinions about this. The main requirements of my application server are: flexible configuration, support for a extremely high number of concurrent users. It will be a system for the mobile comm...

Choosing an application server for web application development

My manager has asked me to suggest an application server for web application development work. What are the factors that needs to be considered before we select any application server for web application development in Java J2EE development? If I select one now and IN future and I want to change to some other application server, is tha...

EJB Local/Remote interface within separate applications in a single application server instance

Assume a single application server instance that has two EARs deployed. The first EAR invokes EJBs from the second EAR using remote EJB interfaces. It is rumored that even if the invokation is implemented using remote interfaces, the application server knows that everything is within the same JVM and internally uses the remote interface...

How to modularize a b2b webservice transformation application

How would you modularize a large application that has some incoming (SOAP) webservices, some outgoing webservices, transformations between them and internal formats, internal logging services, accesses external archiving webservices, delays stuff and works on this asynchronously and so forth? One way is to split the functionality into a...

JavaEE Application Server or Lightweight Container?

Let me preface this by saying this is not an actual situation of mine but I'm asking this question more for my own knowledge and to get other people's inputs here. I've used both Spring and EJB3/JBoss, and for the smaller types of applications I've built, Spring (+Tomcat when needed) has been much simpler to use. However, when scaling u...

Is there any Application Server Frameworks for other languages/platforms than JavaEE and .NET?

I'm a CS student and has rare experience from the enterprise software industry. When I'm reading about enterprise software platforms, I mostly read about these two: Java Enterprise Edition, JavaEE .NET and Windows Communication Foundation By "enterprise software platforms" I mean frameworks and application servers with support for th...