I'm working in J2EE web project, which has lots of Java, SQL scripts, JS, AJAX stuff. Its been 5 years for project still running fine.
I have assigned with work of performance evaluation on the project as there might be some memory usage issues, DB fetching logic delays and other similar weak performance areas. From where should I begin...
Exception preparing module: EJBModule(Basic.jar) Unable to deploy EJB: Basic.jar from Basic.jar: There are 1 nested errors: weblogic.utils.compiler.CodeGenerationException: Error in RDBMSCodeGenerator.generateCmrGetterMethod: weblogic.utils.compiler.CodeGenerationException: Exception: 'java.lang.NullPointerException' while trying to invo...
Could anyone point me towards some good, detailed, sample Spring applications?
Ideally those with good test coverage!
...
In Netbeans or in Eclipse, you can use "Find Usages" or "References" from the right click context menu. If a() calls b(), using the functionality from b() will show you a(). However, what I want is to be able to see some kind of tree or have an option to see all usages of a given/class or method, such that if z() calls a() that using the...
A day ago my application was one EAR, containing one WAR, one EJB JAR, and a couple of utility JAR files. I had a POJO singleton class in one of those utility files, it worked, and all was well with the world:
EAR
|--- WAR
|--- EJB JAR
|--- Util 1 JAR
|--- Util 2 JAR
|--- etc.
Then I created a second WAR and found out (the hard w...
I've downloaded the Websphere community server examples and gotten them to compile and run with Maven. I'd like to run these on Websphere 7.0. When trying to deploy the calculator example to Websphere 7.0 as an ear file I get the following error.
Getting Error executing deployment: java.lang.NoClassDefFoundError. Error is com.ibm.ws.ast....
While configuring the security constraints for a web-module's roles in J2EE application I'm having the following problem:
Application:
Giving a servlet named customersServlet, which receives two parameters in the URL:
A string representing an operation (INS, UPD, DLT and DSP).
An identification number to identify a customer on which ...
Is it possible to get a list of all the currently logged in users in an application running on glassfish? I'm user container managed authentication, so I know the information is somewhere. I would like to display this information on my own JSP page as opposed to finding it in the admin console, but either will work fine.
...
I'm in the process of migrating an EJB 2 application to EJB 3 (and what a satisfying task it is to delete all those deployment descriptors!). It used to run on Weblogic and now runs on Glassfish.
The task is going very smoothly, but one thing makes me wary: The current code takes great care to ensure that EJBObject.remove() is called on...
Scenario: Server is glassfish with jax-ws web services and clients is php based
What type of authentication for web services is more computable with php based clients ?
HTTP Basic Authentication
HTTPS Client Authentication
Mutual Authentication (is it supported ?)
Digest Authentication (is it supported ?)
Description :
Specifying ...
I am trying to resolve a design difference of opinion where neither of us has experience with JMS.
We want to use JMS to communicate between a j2ee application and the stand-alone application when a new event occurs. We would be using a single point-to-point queue. Both sides are Java-based. The question is whether to send the event ...
I want to access a inventory system which is accessible through webservice, What is the best way to integrate, I thought of directly expose the entity facade as a web service using @WebSerive it's possible but don't know whether it's a good approach or not, need some advice.
Thanks.
...
I've got a J2EE web application that I'm working on and when an exception occurs, I'd like to get some basic details about the exception and log it. The message that I'm logging should be pretty basic, something that might mean something to the people running the web server(s).
Would using e.getMessage() be the best thing to log? Than...
This should work if multiple windows are open.
My application is in J2EE.
I already tried some javascript like on window.unloadn but this kind of solution is not solid.
...
Hi all,
I am experiencing problems creating a connection pool in glassfish v3,
just for reference i am using the Java EE glassfish bundle.
my enviroment vars are as follows
Url: jdbc:oracle:thin:@localhost:1521:xe
User: sys
Password : xxxxxxxx
which i think is all i need to make a connection. but i get the following exception
W...
I am looking at this question from someone with a Microsoft background. If I wanted to get to know the EJB world, who are the leading players in terms of implementations?
...
Can some one explain on how typical sessin bean's life cycle is and who hadle those?
...
I'm integrating with an existing servlet that pulls some properties out of the HTTP header. Basically, I'm implementing an interface that doesn't have access to the actual request, it just has access to a map of k->v for the HTTP headers.
I need to pass in a request parameter. The plan is to use a servlet filter to go from parameter t...
I want to set custom Post-Login Destinations based on user ROLES in my application. for example :
If a form login isn't prompted by an attempt to access a protected resource, I want to show different pages, based on different roles.
by using target-url I can't do this.
how can I do this by using Spring security ?
...
Hello.
I'm PHP-programmer, but I'm extremely interested in learning Java. So I decided to change speciality from PHP to Java. At the moment I have an opportunity to try to make quite simple web-application (it should contain 2-3 forms, several pages with information from the database and authorization module) and also I have a chance to...