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


ADVERTISEMENT

How To Add Server Client Relation In Program

Feb 17, 2014

I have to develop a code in parallel which is implemented in sequential yet. How to add the server client relation in the program so that work can be divided into multiple clients.

View Replies View Related

EJB / EE :: Relation Between Entity On Server And In Library

Nov 6, 2014

I have the following problem:

I need to make a relation (OneToMany) between a entity on my server and a entity in my library (ManyToOne).

My program consists of 3 main components:

- a client (who uses session beans to query the server)
- a server (which contains entity's)
- a lib which is shared between the client and the server. (which also contains entity's)

Here is the thing I want to do:

Class on my Server:

@Entity
public class ClassOnServer implements Serializable{
@Id
private int uid;
@OneToMany(cascade=ALL, mappedBy="relation")
private Set<ClassOnServer> relation1; //This is no problem, because the server can import the library
}

Class on my Library:

@Entity
public class ClassInLibrary implements Serializable{
@Id
private int uid;
@ManyToOne
private ClassOnServer relation2; //This gives an error because ClassOnServer can not be imported into the library
}

It's not an option to move ClassOnServer to my lib because this would ruin the whole architecture.

View Replies View Related

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 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

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







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