Dear Experts,
my problem is: this design is working fine for one ball but i m unable to get it work for multiple balls, i have basically problem in replacing the "this" keyword in updateClients ().
i thought i need to do something like this but i m failed:
System.out.println("in ballimpl" + j.size());
for (ICallback aClie...
Recently we got a project which can be developed either in J2EE or Asp.Net (no restriction from client). Client is asking to give best solution to maintain the project in long run.
Here I don't want to discuss about "Java vs .NET" but need to know which one is preferable to reduce maintenance cost. If I choose any of these technologies...
I would like to use variable calculated in freemarker inside Struts tag. How can I do this in following situation:
<#assign val0=100 />
<#assign val1=1000 />
<@s.select value="amount" name="amount" label="Amount" id="amount"
list=r"%{#{val0:'text100', val1:'text1000'}}"/>
Currently this select is empty.
...
Is there any reason that people often tend to develop enterprise applications using J2EE than .NET? Is the cost only main reason to choose technology?
Can't we develop LinkedIn type of applications in .NET?
...
In Eclipse Java EE perspective, how does one add a thridparty Jar to a Utility Project?
To elaborate: In a "normal" Java (Not Java EE) project, there's Referenced Libraries where you can put jars. In a Dynamic Web Project, there's Web App Libraries. In a Utility Project, there's only EAR Libraries, which don't appear relevant (well, the...
I want to know if there exists an annotation or object that gets the open connections in JBoss so they can be closed, and so avoid leaks in the situation where I kill a thread that still has connections opened. I'm using JBoss 4.2.3.
Thanks for your help.
...
For a couple of reaons we have a project-commons.jar located in the lib directory of our ear.
project.ear
project-web.war
project-ejb.jar
lib
project-commons.jar
Currently if I annotate a class that is placed in project-commons.jar as the
@Name("authenticator")
@Scope(ScopeType.APPLICATION)
SEAM reports a stack trace (be...
Hello I wish I could define two filters like this
<filter-mapping>
<filter-name>SecurityFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>ContextFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
with the same pattern /* in my web.xml file, and ...
Hi,
Could someone please explain the purpose of this option and what exactly it is for.
It looks like the default is on my eclipse installation is 3.0 but it wont run on a Tomcat 5.5 server and probably not Tomcat 6.0
Is it related to the servlet spec that the Tomcat server supports? If so which version do i need to use for Tomcat 5....
Hi,
We can say Servlets are back end right? An interviewer once said "Servlets are not back end and for example Spring, EJB do". Is it right? Even spring MVC internally uses servlets to handle the requests right?
Thank You.
...
The code has been written and still so many developer are working. I need to increase the performance of the code. The code uses struts 1.2, Jdk 1.5.
I am reviewing code to increase the performance.
What I need is steps to find bottlenecks in the code.
How to avoid in future?
How to refactor the code and tools for the same?
...
Hello to everybody)
Imagine we have 2 wars to deploy. First war should load some data into JCR repository, or any other storage. Second war uses data that is loaded by first war in storage.
Now we have situation when first war is successfully deployed, but it is in the middle of initialization process(loading data). Second war is start...
Does anybody know which mean this error java.io.NotSerializableException: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection, this throws when i'm to pass a java.sql.Connection to my service
...
Can someone provide a comparison of the middleware difference (pros/cons) of .NET vs J2EE.
If not, at least provide a useful link for me to read to is concise.
...
I have been looking into how interceptors can be applied to session beans etc in EJB3.0. Can these be applied to servlets as well?
...
I intend to make a service where in people could submit tasks(specifically transcoding tasks) to the system and they should get serviced soon but at the same time it should not starve anyone else, ie it must be fair. If a person submits 2000 tasks the system should not cater to only him all the time but instead do a round robin or someth...
Dear Experts,
I am working on a distributed animation of moving BALLS with RMI.
My goal is to move multiple balls in a way, so that multiple clients observe the same movement/position of balls, i m using ball object which is remote object.
registering objects:
public MyMultiRemoteBallServer() {
try {
RMIball[0] = new R...
Hi Gangs,
I have a web service created in JDeveloper using J2EE 1.4 (JAX-RPC) wizards.
I need to run it over a SSL on an Oracle Application Server that is configured for supporting HTTPS.
EDIT: I have created the web service following the following instructions:
http://st-curriculum.oracle.com/obe/jdev/obe1013jdev/10131/devdepandmanag...
Hi,
For servlet lifecycle stuff, what do you guys recommend doing in response to an exception...
For example,
public class Foo implements ServletContextListener {
@Override
public void contextInitialized(ServletContextEvent event) {
try {
// something nasty
} catch (Exception e) {
throw ...
Imagine collecting all of the world's high-school students' grades each month into a single table and in each student's record, you're required to include the final averages for the subject across the student's class, city and country. This can be done in a post-process, but your boss says it has to be done during data collection.
Cons...