Alpesh Padra

Ranch Hand
+ Follow
since Jan 10, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Alpesh Padra

What is the UML notifications for static method and static variable in class diagram?
Its working. I tried just now.
13 years ago
Probably, In Netbeans it will start looking from current directory and get it.

In either case , you need set context path explicitly while using console.
13 years ago
Rephrase Question : Can anyone mentioned the application names in which custom class loader is used?

Now its your turn.
13 years ago
Application of user defined class loader?
13 years ago
When Synchronization is applied on a static Member or a static block, the lock is performed on the Class and not on the Object, while in the case of a Non-static block/member, lock is applied on the Object and not on class. [Trail 2: There is a class called Class in Java whose object is associated with the object(s) of your class. All the static members declared in your class will have reference in this class(Class). As long as your class exists in memory this object of Class is also present. Thats how even if you create multiple objects of your class only one Class object is present and all your objects are linked to this Class object. Even though one of your object is GCed after some time, this object of Class is not GCed untill all the objects associated with it are GCed.
This means that when ever you call a "static synchronized" block, JVM locks access to this Class object and not any of your objects. Your client can till access the non-static members of your objects.

No , test case should not be part of deliverables.

but sometimes if your client is technical then they will ask you explicitly about test cases and help you to design test case too....

otherwise most of the time, we are using JUnit for covering all scenario of test case and after making any code changes we have not regress any thing in basic functionality.

13 years ago
You can provide static int variable as member of singlton class which can increament n decrement on every login - logout.

By using singlton pattern you can restrict number of instance for class like 5, 10...

if you know then connection pooling n thread pooling concept over there . we are using same concept...

you can use same concept here.
13 years ago
Use java -classpath <DirectoryOfClass> classname.

Hope this will resolve your problem.
13 years ago
Normally it occures in Unit Testing by developer end.

Sometimes it drops under Integration test.
13 years ago
find out static and dynamic part of application .

Divide your application pages in menu /header/footer/ breadcum n all and apply tiles on that.
13 years ago
This might help to understand filter better way

http://java.sun.com/products/servlet/Filters.html
13 years ago
Remove name="lookupForm" type="com.form.LookupForm" attribute since thay are no more part of <html:form>
13 years ago