Web Application Performance Monitoring

Jul 28, 2011

I want to monitor performance of web application, running in java JVM(Java version 1.5.0_22) using tomcat web server, for a given functionality want to find, methods and sql queries how much time taking for execution. i am looking for setting and free tools available.

View Replies


ADVERTISEMENT

Monitoring Performance Of J2ee Application Using Open Source Infrared Tool?

Jun 13, 2013

I am using infrared for monitoring performance of j2ee web application(using hibernate and spring),deploying on tomcat 7.0.23 and jdk 1.6.17.here infrared shows only http layer not sql and jsp layer.

View Replies View Related

Monitoring Java Threads From Another JVM

Feb 5, 2014

I have this web app in Glassfish which, among other things, monitors consultations in some DB. It's a JEE-EAR app, three layers. Pretty boring until now. Now, there's another WAR-app on Tomcat that processes files through threads. These threads represent an Excel file processed one row at a time.

I need to know when one of those threads are created, when they're alive and when they're terminated, from the Glassfish app.

I need to monitor these batch processes.

I think I could insert the thread ID from the tomcat app in some DB and when it dies, delete it. The glassfish app would query that BD and see if there is one of those batch processes running.

I understand that a thread ID can be recycled but I can find a way to make every process unique.

My first question, would this be viable?

My second question is, could I uniquely set the thread name and then ask for it from the glassfish app to the tomcat-app process thread set? I mean, without a DB in the middle?

View Replies View Related

Scalability And Its Relation To Performance

Mar 7, 2014

Have you ever did a design for an application with requirements such as X number of anticipated users of the application in the next 5 years, and should still perform as expected.

How do you usually implement design solution for this? the only solution I am familiar with when faced with this type of requirement is the use of EJBs (is that even a correct design for it?).

View Replies View Related

Achieving Performance On Large Data?

Oct 10, 2013

I have an application which has 10 million rows and 1000 columns in Oracle. Each value has a different set of calculations that are stored in User Defined PLSQL functions.

Data is displayed in form of data grid. When a user updates any value, the calculation is performed using plsql function and value is stored in database. Is there an easy way through which calculation is performed on the fly and i get maximum performance ?

View Replies View Related

How To Improve JSP Page Load Performance

Feb 18, 2015

How to improve jsp page load performance and i have use sessions in jsp page.i tried using with include tag rather than using jsp:include. also

View Replies View Related

JavaFX 2.0 :: Slow Performance On Linux For Visual Effects

Mar 6, 2015

Visual effects such as Transitions perform very poor on linux "wheezy" compared to windows. I noticed this on different PC's, checked for Java7 and Java8. If the UI contains many objects then the transition sometimes does not even appear.
 
I do not think this is graphic card related since videos play quite ok.
 
I use the default ATI driver without Xorg.conf file and  installed the xcompmgr
 
and tried several options, such as
 
Option "Composite" "Enable"
or
Option        "backingstore" "true"   
Option        "AllowGLXWithComposite" "true"
 
This did not speed up things, are there other things that I could do to improve the performance ?

View Replies View Related

JRE :: Java Certificate Revocation List / OCSP Performance

Dec 23, 2013

As the JRE environments and usage of applets has become more and more secure in through the evolution of enhancements to the JRE we have noticed a performance degradation in usage of these applets and launching of them.
 
As our customers are in the business to business environment they utilize our applets that are delivered from the server to the client.  We are looking at ways to reduce the time to validate that the certificates are still valid.  we are looking for ways to provide a means for our customers to validate against a CRL on our server or to cache the the checks against the OCSP so that not each and every client accessing our server needs to go out to the third party sites to get the checks completed.
 
Is there a means to store this information on our server and have the JRE validate against that system rather than the normal OSCP...

View Replies View Related

Storing Search Histories - Remove Duplication Without Affecting Performance

Aug 1, 2014

In our product we show search histories on the UI, means what ever user searches we make a history for that search in the database and show it on the UI.

At present we show duplicate histories also. for ex- if a user do a search with some criteria (say, abc), now if the user do search again with same criteria (abc), we show it twice on our history page.

What we need to do -

we need to remove the duplication, and only to show the search histories once if they have same criteria. also we need to save it only once in the database. means we neither display the same search histories nor store them in the database. ofcourse if we store it only once, it will be displayed only once. so we need logic in our storing part here.

Approaches we are trying -

Approach 1 - We thought to remove duplicate search histories by comparing their criteria's, but here the problem is that single search history itself can have so many criteria's and we store around 30 search histories in the database, so if we compare criteria of all of them one by one. we will loose the performance. so we dropped this approach.

Approach 2 - The second approach we are thinking is, at the time of creation of search histories, we will generate checksum based on their criteria, so if the criteria is same for two search histories the checksum generated would be same, and before creating (storing into database) the search history we first check if the checksum is already exist in the search history table for any search history or not, if it is already there, don't create the search history, as it is already there.

The problems with this approach is -

First Problem - we will need to create one more column in the Table which will impact our upgrade process, and we don't want to have an upgrade impact.

Second Problem - if user changed the sequence of criteria of search, for e.g. name criteria first and then number criteria but the values are same. and in the another search number criteria first then name criteria and values are same as first search, here the search results would be same as the criteria are same but only the sequence is different, so in this case two histories will get created (as we generate checksum based on criteria so if sequence gets changed checksum would also be different), however we want only one search history in this situation. we don't want to consider the sequence.

We store the search histories in XML format and we convert this xml to blob to store it into database, i thought to first sort them then generate checksum, but as they are in xml format, so i can't even sort them because the tags are similar to all the criteria's.

View Replies View Related

EJB / EE :: Convert Standalone Java Thread Application Into Web Application In Tomcat

Nov 17, 2014

convert or move standalone java thread application into Tomcat server container for accessing its JNDI services? Also is it possible to schedule this thread application in Tomcat server? is it possible to keep this app in tomcat as web application and schedule in window's scheduler.

View Replies View Related

Deploying JNLP Application In WebSphere Application Server

Mar 11, 2014

I am new to work on JNLP program. I have created a SWING program, JNLP file when i deploy the ear file i am getting 404 error. Please find the steps in details.

1.Created a dynamic web project JWStartProject in eclipse

2.Create a HelloWorld.java class under default package.

import javax.swing.*;
public class HelloWorld extends JFrame {
private static final long serialVersionUID = 4968624166243565348L;
private JLabel label = new JLabel("Hello Java Web START!");
public HelloWorld() {
super("Jave Web Start Example");
this.setSize(350, 200);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE );
this.setLayout(null);

[Code] ....

Now I exported this project as JWStartProject.war contains following code.

Created Server in Websphere Admin console

Deployed this war file under the server and started.

I have added MIME types also.

I am unable to launch the application. I am getting 404 errors. May I know where I went wrong?

View Replies View Related

JSP :: How To Set JVM On Web Application

Dec 24, 2014

today so many website giving facility so can compile and run program online so tell me this process how can i do in my web application.

View Replies View Related

Best Way To Run A Swing Application On The Web?

Sep 13, 2014

What is the best way to run a Swing application on the web? Should I convert it to an applet or do something else?

View Replies View Related

JSF :: How To Refresh Whole Application

Feb 5, 2014

I want to know the how to refresh the jsf application after doing something like Faceboook... i.e if i comment or post in my application so automatically the whole application have refresh.

View Replies View Related

Use DLL On Java Application

Sep 10, 2014

I am working with DLLs in java.

A while ago, I developed an application in VB.net, and I'm trying to "convert" this application to Java. But this VB.net application uses some specific DLLs and I need to use them in my Java application. However, my knowledge in this respect are quite limited in manupulate DLLs on Java.

Up to this point, I can already load the DLL. I've read some documentation on how to use functions that are in the DLL; but I have some doubts. For example, how can I translate this piece of code to Java?

Java Code:

API = New MyDLL.Base
With API
.para1= "1"
.para2= 2
.para3= True
.para4= False

[Code] ....

View Replies View Related

Java Web Application

May 13, 2015

I am currently faced with a task of creating a web application. This application is meant to be accessed by an admin and also a customer. On the customer side the app should prompt the user to fill in an application for of sort and also allow the user to upload a CV to a database. The information entered by the customer will also be saved on the database. The admin should have the ability to look through all the candidates and their information and CV`s. He should also be allowed to search for candidates with specific key words...I am not a professional programmer but know the core of Java programming. I have a tiny bit of knowledge of MySql.

View Replies View Related

Application Activation Before Using

Nov 13, 2014

I am working on an app that would require an activation code in order to be used after being downloaded (user will get teh code from me) am using Java pro.

View Replies View Related

How To Send SMS Using Java Web Application

Dec 3, 2014

I am working on a Java Web Server application.In which server needs to send message to a Mobile no?

What are the way to send message to a mobile no by Java application.

by reading online threads i found like

[URL]

which one I should use and any other approach other than these to send a message using java application?

View Replies View Related

Using Enterprise Application Client?

Jan 5, 2015

Say I have a EAR file. Inside, it has a EJB jar, web war and app client jar file. The (enterprise) app client here is a desktop GUI calling the EJBs accordingly. Now if this EAR is deployed to some app server like JBoss or Glassfish, to access the app client, users will basically use java web start/ JNLP to run the client.

Given this is the case, I'm wondering if the effect is the same as separating the app client (not part of the EAR), have that EJB jar in its library path, and deploy the GUI app as a jar. Hence users not use web start. The only disadvantage I can think for separating the app client is if the EJBs get changed, the client's version will be outdated. But other than that, are there any justification for using an enterprise app client?

View Replies View Related

Compiling Java Application

Feb 27, 2015

So say I write up a program like a dice roll game, which I see on the forums here. It's all written and good to go and when I hit Run it does what I want it to do, no errors..What do I do with those .class and .java files? Do I compile it somehow into an app I can put on the google play store? What is the NEXT STEP after the program is all written?

View Replies View Related

Class Diagram For Application

Feb 13, 2015

I'm having trouble doing out a class diagram for an app I'm trying to create.The app is a quiz app for students to use in their study. The following objects I have to put in the class diagram are:

Basic Questions attributes:
questionText
correctAnswer
mark (representing the mark awarded for a correct answer)
Answer (representing the answer entered by the user).

Multiple choice question attributes:
questionText
correctAnswer
mark (representing the mark awarded for a correct answer)
option a, option b and option c (representing each of the possible answer)
answer (representing the answer chosen by the user)

Essay Question attributes:
questionText
correctAnswer
mark (representing the mark awarded for a correct answer)
answer (representing the text entered by the user)
maxWordCount (representing the maximum word count for the essay)

Picture Question attributes:
questionText
correctAnswer
answer (representing the text entered by the user)
imageName (representing the image to be displayed with the question)

View Replies View Related

Difference Between Application And Applet?

Apr 13, 2014

Can explain difference between applet and application?

What are differences in code? How to write application?

What are differences in use? I looked for some answers, but I can't understand what they are talking about.

For example:

Application:

Called as stand-alone application as application can be executed from command prompt

Applet:

Requires some third party tool like a browser to execute

But... While I export applet in exclipse I can use it without any browser, just like application(as I and avarage user knows it).

Ok, I understand difference like "Applets cannot read from or write to hard disk files."

So. What should I use while creating what?

For example, something as simple as windows calc, some 2d simply platformer, some more expanded app, like idk, spotify or media player or whatever?

Since after update 51 of java web applets are nearly useless(as I know, maybe I'm wrong?), what is better?

Can application have GUI or it is only applets thing(stupid question?)?

Where can I find any application tutorial? Everything that I found was for applets. Why?

View Replies View Related

Execution Of Swing Application On Another PC

Apr 6, 2014

I am writing a Java Swing GUI application on my pc. I have to give this application to my cousin with another pc, where he is not aware of programming. then how can he execute that application? are there any ways of skipping the "javac" and "java" procedures while executing the app on his computer?

I am using win7 x86 and same at my cousin's place. I am also using eclipse-kepler sr1 ide for app development.

Are there any easy ways of automating this "javac" and "java" process(compilation and execution)? something like...scripting?

View Replies View Related

How To Send SMS Through Java Application

Jan 16, 2014

how can I send a sms through java application?

View Replies View Related

How To Write Zip File Like Application

Feb 2, 2014

I want to write an application which stores files inside of itself, like a Zip file, but it will not be a zip or have the zip compression class.

View Replies View Related

Java Application For PHP Website

Dec 29, 2014

I have a blog hosting service (like Wordpress) written in PHP and MySQL, I'm gonna make Java Application for it (Runs on Windows, Linux and ...).

My Questions:

1. Can I use Connector/J to connect to my website database (MySQL)?

2. Which one is better? 1.Connect to website database, 2.Use Socket programming.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved