Advanced Java Practice Questions

Advanced Java Practice Questions

1. When the ejbRemove method encounters a sysyem problem ,it should throw_________

Show Answer ?

2. ___________ is a block of java code in JSP that is used define class-wide variables and methods in the generated class file

Show Answer ?

3. Which of the following is not an implicit object ?

Show Answer ?

4. An Enterprise JavaBeans can be deployed in _______

Show Answer ?

5. Mapping files (*.hbm.xml) is used __________

Show Answer ?

6. Consider the following HTML page code: < html > < body > < a href=’/servlet/HelloServlet’ >POST< /a > < /body >< /html > Which method of HelloServIet will be invoked when the hyperlink is clicked?

Show Answer ?

7. Which of the following lines would you use to include the output of Data- Servlett into any other serviet

Show Answer ?

8. To determine the behaviour of the beans in an application , we make use of

Show Answer ?

9. Which of the elements defined within the taglib element of taglib descriptor file are required

Show Answer ?

10. Name the element within the tag element that defines the tag class that implements the functionality of tag

Show Answer ?