application-server

What are "enterprise-level capabilities" for application servers?

I've been reading about application servers, and the term "enterprise-level capabilities" show up very often. It sounds like a vague term that we, developers, use a lot (just like "cloud"). What does it mean when the server has "enterprise-level capabilities"? What can the server do to support enterprise-level applications? What should...

How can I remotely watch logs on Win2003 servers?

(Briefly, like this question but for Windows servers.) I have several Win2003 servers running custom application services (C/C++, not Java) that write text-based logs in a custom format. [2009-07-17 12:34:56.7890]\t INFO\t<ThreadID>\tLog message... [2009-07-17 12:34:56.7890]\t *WARN\t<ThreadID>\tLog message... [2009-07-17 12:34:56.789...

Websphere Application Server 6.1 Connection Pool question - what happens when AS fails to get connection

I have studied the Websphere document "Connection Life Cycle" for Websphere Application Server Express v6.1 and and have searched the web for an answer to the following. Connection Pool State Pretest existing pooled connection is selected - retry interval is zero seconds Pretest new connections is selected - # of retries is zero and r...

How to split a data layer and business object layer, what are the appropriate duties of each?

If there was a line of business application layered like this, would this be an appropriate division of labor : Data Access Invokes only stored procedures, maps properties of DTOs to a hash tablse which are used to populate ADO.NET command's parameter collections. Only assembly with reference to SqlDataClient. Significant logic dealin...

Websphere vs Weblogic

Friends, Recently I was asked on how do I compare Weblogic vs Websphere, and what are the pros and cons of using one over another. I answered IBM support, DB2 backend, IBM stack as some of the factors but could not think of any technical pros and cons of one over another. Does anyone know the technical pros and cons of using one over an...

Web User Interface for a Java application

Hello, I'm trying to create a web user interface for a Java application. The user interface is going to be very simple, consisting of a single page with a form for users to pose their queries, and a results page -- sort of like Google's search engine or Ask.com. I'm quite familiar with the base API of Java, but I don't have much experi...

Is it possible to run OSGi components within Weblogic 10.3?

Is it possible to run OSGi components within Weblogic 10.3? From what i have read it is not possible but im asking just to be 100% sure. There is no option to swap out WL 10.3 so there is no need to list any other application servers or OSGi containers. Thanx ...

What alternatives exist to Spring Batch to handle queued jobs?

I have been looking in to Spring Batch to solve a batch processing scenario with huge amount of data involved in each job. Are there any other solutions that compete with Spring Batch? To be used in a JEE environment. ...

Are there reasons to place a dependency in a web server's lib directory instead of including it in the War file?

If I have an dependency Jar for my application is it better to place it in the war files lib directory or to place it in the global application server (like Tomcat) lib directory? What do I gain by using one approach over another? Diskspace springs to mind, but we live in a time when diskspace is cheap. Is there a memory usage differenc...

Comparison of application server startup times?

Some months ago I read a blog post which had a comparison of different (Java) application servers, with focus on the time it took to start/restart the servers after deploying a new/changed piece of code, and a discussion of the lost developer productivity all this restarting caused. I forgot to bookmark the blog post; I've tried Google,...

how to deploy client EJB on Sun Application server

I am new to EJB's and asked this question yesterday. that question went into lot of details and comments so I decided to ask the question again and get clear on some things. I have been given a .JAR file which is an EJB. I placed this .JAR file on my application's lib folder. But later found out that this .JAR file needs to be deplo...

JSON Asynchronous Application server?

First let me explain the data flow I need Client connects and registers with server Server sends initialization JSON to client Client listens for JSON messages sent from the server Now all of this is easy and straightforward to do manually, but I would like to leverage a server of some sort to handle all of the connection stuff, keep-...

Why not run a server side app with daylight saving time enabled?

I've implemented a server side application that records timestamps when records are created and updated. The app assumes that the server clock does not have daylight saving time enabled, (a) because I've read this is best practise and (b) because I imagine it would be tricky (if not impossible) to handle the ambiguities that occur, e.g. ...

Problem created by load balancing

I have an ASP.NET 3.0 application that works fine on one server. It uses application variables to check if a user has checked out a file and locks it for all other users. When I put the application on the load balanced servers, the application didnt work as expected since it multiple users got sent to multiple servers and each user could...

what is the difference between web servers and application servers?

what is the difference between web servers and application servers? I have googled but couldnt get clear... ...

Interoperate between C# and Java using web services without a Java EE application server?

I'm in a difficult position: We have a 3rd party enterprise system that exposes a Java-based API. However, we are a 100% .Net oriented development team. Essentially, I need to wrap the Java API with something that C# code can call. Web services would be great, but the only Java application server supported on our infrastructure is ...

How to store mail password on server side?

I need to send e-mails from my application that is deployed on Weblogic 10.0. I try to put mail session properties on server side. Properties like mail.host or mail.debug work OK. But how do I configure password? Now I have it in spring configuration file: <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSender...

Tomcat / jBOSS sessions - where are they usually stored?

Preface: I'm not a java developer. I have a question about Tomcat / jBOSS and other java application servers. Where are sessions (session data) stored? In PHP, sessions are usually stored in the database which means you can easily share session data in a load balanced environment. In Tomcat and other application servers, session seem...

Deploying .war file in Websphere application server 6.1?

When i was trying to install new application in WAS 6.1, I have given the .war file i've created for SampleApplication. The SampleApplication.war is successfully running in Tomcat server, but when i tried to deploy it in WAS 6.1, following error was shown. The exception **IWAE0022E** Exception occurred loading deployment descriptor fo...

Difference between application server and web server?

May I know the differences between application servers and web servers? Please list examples of each. ...