Since we can create managed bean by two ways as, we can define the bean name in faces-config.xml file so that page can use that OR we can write annotation on bean class so that it is automatically assign to page but I want to know which one is good programming practice ? And also mention disadvantage of other which should not prefer ... Thanking you...
1873I am newbie in J2EE & looking for strong basic behind each concept as, Why do we use private access specifier before each variable of type property bcoz ultimately to access it outside the class we use public method as getter & setter ? If we use getter & setter to access it outside the class so better we make variable as public so that it is easily available outside of the class... Please guide me why do we use as private ????
CTS,
3 4969for example we are login into the irctc server from there it will go to the selected bank and deduct amount and come back to the irctc. so if we are developing this in java means will it be run on the same session. but as per my knowledge bank is separate and irctc is separate URL's so it will use two different sessions then how it is maintaining same session through out application and even it uses the payment gateway? how it is working can any one help me on that??
3855what is interface in java ?can you explain with simple example?and what is the difference between abstract and interface?
HCL,
2050
What is the difference between java and j2ee?
What is java technology stack?
What is component contract?
What is considered as a web component?
What does java ee stand for?
Why primitive data types in java are not objects?
What software is needed for java programming?
What is data?
What is web container in j2ee?
Is core java and j2se same?
How do you compile java?
Why is j2ee needed?
Which framework is best for java?
What is a thin client?
Why awt is used in java?