• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need Help Ranchers ..will be highly obliged....

 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi I have few J2EE related queries.Please help me out since i need to understand the concepts.

1> what are the differences between a component and a container ?

2> How do we measure Performance and improve performance in case of J2EE Web based Application ?

3> How do we measure the scalability and improve scalability of a J2EE we based Application ?

4> how do we apply Security features to a J2EE web based Application,If there is any API for Security.Please let me know ?

Help provided will be highly appreciated.



:!: :!: :!: :!: :!: :!: :!: :!: :!: :!: :!: :!: :!: :!: :!: :!: :!:

--
Deepak Lal
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepak,

The questions you are asking are non-trivial, so am not sure I can answer them in a forum post. Here are some pointers:

#1. A managed component (such as an EJB) runs inside a container (such as an application server).
#2. You may test Java EE application performance using load-testing tools such as LoadRunner and JMeter. You may analyze performance using application server monitoring tools as well as tools like JProbe and JProfiler. There are many factors in tuning Java EE applications starting from code tuning, JVM tuning, Web container tuning, EJB tuning, JPA tuning, caching, database tuning and the like.
#3. You can measure scalability through the same load testing tools used for performance tuning, but testing for failover, load balancing and clustering by adding and removing hardware and treating the software as a constant. You may improve Java EE application scalability by best utilizing the failover, load balancing and clustering features of your application server such as writing best-practices based components at the presentation, service, domain and persistence tiers.
#4 Don't know exactly what you mean here? Java EE has some well-known APIs for security at various tiers. There are also open source solutions such as Acegi (Spring) security.

Hope this helps,
Reza
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thanks Reza,

Your answers are really good.Helped me to understand the concepts clearly.






--
Deepak Lal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!