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
ADVERTISEMENT
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
View Related
Jan 28, 2014
In our J2EE web application we have so many critical functionality which is handled by various component. Say if one of the critical object or the respective critical system is down. How we can serve the request and still get the response from those systems? How this can be handled technically through code? I know we can go for service virtualization and create a system which will emulate the behavior of critical object or system. But for that we need to use the respective tools which is quite costly. How the same can be handled using java code , whether we can create a clone of that critical object and still serve the request even though the original critical object is down or can we create a proxy of that critical object? How we can handle it in java through code?
View Replies
View Related
Mar 27, 2015
How can I connect my j2ee application to a fingerprint reader...
View Replies
View Related
Mar 26, 2015
In a web Application we have to identify labels and the associated fields using some Heuristic ways.
What is the best Java API for this? Also any other API or open source widely used for Heuristic search?
View Replies
View Related
May 28, 2014
I am looking for pure java API to be able to create/read outlook tasks.
Any open source API's available for the same.
View Replies
View Related
Feb 10, 2015
I created a src folder called doc within my jar, and have several word documents stored there. When a button is clicked I request a document from this src folder to be opened in Microsoft Word. Right now I am using the following code:
JButton btnUn3E1 = new JButton("Unit 3 Ex 1");
btnUn3E1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
Desktop desktop = Desktop.getDesktop();
try{
File f = new File("docs/UNIT 3 EX 1.docx");
desktop.open(f);
}
catch(Exception ex){
}
}
});
When my program is run within the ide, all works well, but when compiled and converted to .exe it doesn't work. I have also tried the complete file path and still a no go.
View Replies
View Related
Mar 18, 2013
I would like to know the J2EE architectural explanation with respect to HTML5 and Adobe Flex technologies. It is just like knowing over all J2EE architectural aspects and how HTML5 and Adobe Flex technologies are used to satisfy those aspects in order act as client side components.
View Replies
View Related
Aug 30, 2014
I am using itext to create pdf files , i have filtered some records (preferably i can say around 90) which has the option to open pdf for individual record. Now I need to open all the pdf's of filtered records on a single click , without asking for a open dialogue box. How to go about this ??
View Replies
View Related
Feb 21, 2015
How to deploy Java Swing application as windows software. I have tried the following to do this :
I have created jar file for my project after that created exe file using Launch4j and Advanced installer, exe file produced by both software are working fine but those are placing the jar file inside that exe file, My problem is any one who has that exe file can extract and view the source code by decompiling java class file. Is there any way to deploy java application without decompiling the code.
View Replies
View Related
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
Jul 24, 2014
Is it possible to develop huge enterprise applications without any particular framework?
Just with JSP, Servlets and Javascript/Ajax stuffs?
View Replies
View Related
Jul 3, 2014
I am stuck in making a C/S video chat program using JAVA RMI technology. I am more familiar with Java RMI.
View Replies
View Related
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
May 28, 2014
How can I replace each letter for example "abcde" to "edcba" with StringBuilder only and without the reverse tool. This is what I tried:
StringBuilder str=new StringBuilder("abcde");
int indexBegin=0;
int indexEnd=4;
for(int i=0;i<str.length();i++){
str.setCharAt(i, str.charAt(indexEnd));
indexEnd--;
}
System.out.println(str);
The output is:edcde with i understand why its wrong ,the last two letters already swap so it didnt take from the original str.
View Replies
View Related
Oct 11, 2012
I'm writing a desktop client for simple soap service (axis), and when i create a web-service client lib using netbeans wsimport tool, I don't understand why for that entity :
import javax.persistence.*;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
import javax.validation.constraints.NotNull;
import org.hibernate.cfg.*;
[Code] ....
My question is why generated artifact doesn't have "overral" property and what i must rewrite to fix that issue ?
View Replies
View Related
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
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
Dec 2, 2014
I am doing project on glossary in java. Basically what i need to do is, i have a case study in the text field, when i mouse over the certain text that i already store in database. The text will be highlighted and automatically display the tool tip and content the data that i stored in my database.
View Replies
View Related
Jul 29, 2014
Things in mind while designing a secure, standard login system in J2EE . Code snippets ....
View Replies
View Related
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
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
Apr 8, 2014
I need to generate reports for huge data (around 2 to 5 lakh records) in different file formats (PDF , XLS , RTF , XML) in my web application.
Data will be fetched from database.
I have been searching for a best open source report generation tool and ended up on choosing on Dynamic Reports.
Aspose , is licensed and unluckily we could not afford to at this moment.
Whether i can use Dynamic Reports , or is there any other tool available.
View Replies
View Related
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
Dec 8, 2014
I have i am trying to implement tooltip through javascript, like when we click on an image link tooltip should be displayed and it should have close button/ close image to close that tooltip.like the same way i will have multiple images on page, when ever i click on the images all tooltips should be displayed on the page when ever i want to close that then only it should close through close button on tooltip.can we do it through java script or will go for jquery.
View Replies
View Related
Mar 3, 2015
I am a first-timer using J2EE and here on coderanch.com and wanted to make a Simple Email-like System which a Registered User can Send Message/Email to another Registered User. how to do it. I have already my register/login process done but I'm stuck on how to make the Email. And I have an sample Bootstrap for my UserInterface which I want to use.
View Replies
View Related