Is it acceptable for a J2EE container to provide an implementation that complies with the public review version of a JSR, as opposed to the final draft (or even proposed final draft) ? I'm not sure on how to quantify/qualify the word 'acceptable' in this context, but what would be the 'gold standard' for stating that an implementation is...
What are the (dis)advantages of deploying ear with source file? Is that the right way to deliver/deploy code ? Apart from making the ear bulky does this have any advantage?
...
Hello Stackoverflow Users,
Sorry for the big wall of text, but its mostly logs
Thx for any help in any of my problems
I've been trying to get help from Seam forums, but in vain.
I'm trying this Setup mentioned in the title, but unsuccessfully.
I have it all installed correctly and the problems start with the seam-gen.
This is my bu...
In NetBeans 6.7.1, I have made a j2ee project,
In this project I have Servlet that extends HttpServlet,
Of whatever little I know about servlets, they should have a service method however in the class in NetBeans I find only thefollowing methods.
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
...
How do I implement a web application with a Servlet that is listening on a port for socket connections?
...
Hello,
I would like to know how is possible to read a file placed in WEB-INF direct into a variable.
My intent is to load (and process a page) into a var, than save it to a file and besides that, use the same html result to be displayed (like included) directly into another JSP.
is it possible?
...
Any re-sources or best-practices for implementing dynamic class re-loading feature into a J2EE WebApp on WebSphere App Server?
The point is I don't want to bring down my web-application while certain classes are updated.
...
from http://directwebremoting.org/dwr/reverse-ajax/index.html , it stated it supports polling, comet,piggyback. does that mean when we implement this approach, we can change to this 3 options in configuration without changing codes? what does dwr implement different from atmosphere api? dwr can be used on all j2ee containers also right?...
Is it possible to edit the config files, which are in a deployed EAR? If yes, please let me know how to do that without re-deploying the EAR.
...
So I'm trying to add some ability to my project to allow user-defined properties in my deployment artifact - a simple key:value .properties file. I place the service.properties file in
war/WEB-INF/my-service.properties
And in my ServiceImpl.java constructor I have the following:
String propertiesFileName = "my-service.properties";...
In MVC (such as JSP and Spring), is it bad practice to view related code in the controller?
In my case, the controller does some work and then hands off the results to the view (JSP). In the case of a status message, I can pass the entire message text to the view, or pass a key and let the JSP map it to the message text.
Example:
Mess...
I have an old J2EE application (J2EE 1.3), which packages into an EAR, and in the EAR, there are WARs and EJB JARs. Now one of the EJB JARs needs to refer to some 3rd party library JARs, so what's the best place to package those JARs and how?
...
I'm trying to deploy an application to Google App Engine that will eventually interface with JIRA and other services over SOAP. The J2SE 6 java.xml.soap.* APIs are not supported by the GAE JRE. What other simple libraries are available for building requests and parsing results over a URLConnection?
Axis and CXF seem to be the general...
What is the standard/best practice for reading external property files for a J2EE app in geronimo?
...
I've never come across this extension before. It's being used for a front-end interface to a j2ee backend.
...
We work with IBM products and we typically use IBM Http Servers (read Apache) as a reverse proxy for our application servers. For performance reasons we serve static content (.gif, .jpg, .css, .html etc.) from our http servers, to ease the burden a bit from the application server.
So far, we have to distribute files to http server and c...
I have a simple CRUD project that I'm using richfaces and toplink for. I've noticed some of the pages are rather slow to load, so I turned the logging level for toplink to FINE. When loading my page that lists all of my course objects in a rich:datatable, toplink appears to be running the same select all query 9 times. When using the r...
I'll try to describe the situation. We have a web service; on each request web service starts a JTA transaction. It performs several database calls through XA datasource within that and calls some other web services (out of transaction context) and also makes a couple of remote EJB calls on other server.
The problem is that container s...
Hi
I was wondering why do we need separate Remote and Local intefaces for EJB 3.0 Session beans. I guess most of the time they would both be defining the same contract. Why cant I have a common interface and in my Bean I should just be able to say that I want this bean to be accessed remotely and/or locally.
thanks
Vikas
...
Hi
This is a design pattern question. Here is the scenario:
I am using EJB3.0 with JPA. For example lets say I have a user who can belong to groups. So in my User entity I have a method getGroups() which fetches the groups lazily. And I have a UserDao which is a stateless session bean which has a method
User getUser(int uid)
Now in my ...