CS 802E ADVANCE JAVAPROGRAMMING SUGGESTION


questions:::DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

PAPER CODE:CS802E PAPER NAME: Advanced JAVA PROGRAMMING

  

CLIENT SERVER PROGRAMMING

1.Discuss 3-tier Client-Server architecture, compare with 2-tier.

2.What is Groupware Server and Transaction Server? 

3. Name any Groupware Server available. 

4.What is proxy server?

5.What is a Firewall?

 

 

ENTERPRISE ARCHITECTURE

 1.Explain the security in Java.

MVC ARCHITECTURE

 

1.Discus Model- View-Controller (MVC) design pattern in J2EE

J2EE WEB SERVICES-DIFFERENT COMPONENT & CONATINER

 

1.What are the roles containers play in J2EE Architecture?  

2.What do you mean by Directory Services?

3.What are the different types of J2EE webservices?Explain briefly?

4.What do you mean by naming service?

 

SERVLET

  1. What is the function of servlet context?
  2. What are Servelets? What is the use of servlets? What is the difference between Servelets and Applets?
  3. How do you communicate in between Applets and Servlets? What is the difference between applet and application? How will you pass values from HTML page to the servlet? How do you load an image in a Servelet?
  4. What is difference between the HTTP Servelet and Generic Servelet? Explain about their methods and parameters?
  5. What is the difference between CGI and Servlet?Can we use threads in Servelets?
  6.   Explain the fundamentals stages of servlet life cycle. How can you access the user information by means of Request and Response object. explain with a suitable example.
  7. How do you invoke a Servelet? What is the difference between doPost method and doGet method?
  8. In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify the same information whether it will connect to the database or it will be used previous information?

21. What methods do u use in Servlet – Applet communication ?

22.

23. What are the types of Servlet ? Difference between HttpServlet and Generic Servlets ?

24.

25. What are the methods in HttpServlet?

26. What are the types of SessionTracking?

27. What is Cookie ? Why is Cookie used ?

 

28. If my browser does not support Cookie,and my server sends a cookie instance What will happen ?

29. Why do u use Session Tracking in HttpServlet ?

30. Can u use javaScript in Servlets ?

31. What is the capacity the doGet can send to the server ?

32. What are the type of protocols used in HttpServlet ?

JSP-JAVA SERVER PAGE

1.What is the difference between 'Send redirect" and "forward" in JSP?

2.What is JSP? Briefly discuss the JSP architecture.

How JSP is related to Servlet?

3.Differentiate between scriptlets and declarations in a JSP tag.

4.What are the snippets? How wtI1 you access a bean within a JSP page ?

5.Differentiate between ASP and JSP.

6.What are the 'implicit objects' in JSP? Give examples?

 

 

ENTERPRISE JAVABEAN-EJB

1.What Session Bean ? What are the methods of session Bean? Describe its lifecycle.

2.What is difference between stateful and stateless session bean?

3.How does Stateful Session bean store its state ? Why does Stateless Session bean not store its state even though it has ejbActivate and ejbPassivate ?

4.What is Entity Bean?What are the methods of Entity Bean? Describe its lifecycle.

 

5. What is the difference between Container managed persistent bean(CMP) and Bean managed persistent entity bean (BMP)?   

6.What is Message Driven Bean?Describe its life cycle.When do you use this type of bean?

 

7.   What are the services provided by the ejb container ,web container?

8.   Types of transaction ? What are transaction attributes ?  What is bean managed transaction ?

 9.     Why does EJB needs two interface( Home and Remote Interface) ?

10.

11. What is J2EE ? What is scalable,portability in J2EE?

12. What is JTS ?

13. How many entity beans used and how many tables can u use in EJB project ?

14.

15. What is Connection pooling?Is it advantageous?

16. Method and class used for Connection pooling ?

17. How to deploy in J2EE(i.e Jar,War file) ?

18. How is entity bean created using Container managed entity bean ?

19. Sotware architechture of EJB ?

20. In Entity bean will the create method in EJB home and ejbCreate in Entity bean have the same parameters ?

21.22.What are CMP and BMP?

23.What is difference between stateful and stateless session bean?

24.

25.What do you mean by web container,ejb container?

26.What are Local.Remote,Home Interfaces in J2EE?

 

 

 

RMI-REMOTE METHOD INVOCATION

 

1.What is RMI?Explain  RMI Architecture? What is RMI Registry and what are the services in RMI?

2.What are the difference between RMI and Servelets?

3.What is the difference between RMI registry and OS Agent?

4.What are the difference between RMI and CORBA?

5. Difference between TCP/IP and IP protocol ?

6. Why do you use UniCastRemoteObject in RMI ?

7. How many interfaces are used in RMI?

8. Can Rmi registry be written in the code, without having to write it in the command prompt and if yes where?

9. Why is Socket used ?

10.How will you pass parameters in RMI? Why do you serialize?

11.

 

JNDI(JAVA NAMING & DIRECTORY INTERFACE)&LDAP

 

1.What is JNDI?

2.What is LDAP?Explain LDAP tree structure.

3. Citing examples. Compare LDAP with JNDI.

4.Show how data can be accessed from LDAP.

 

JDO-JAVA DATA OBJECT

 

1.What are Java Data Objects?

 

JINI TECHNOLOGY

 1.What is JINI ?

 

JDBC-JAVABASE CONNECTIVITY

 

1.What are different  drivers available in JDBC? At what situation are four of the drivers used? Describe their advantages and disadvantages briefly.

2.What are JDBC PreparedStatement , JDBC data sources AND CallableStatement ? Describe briefly.

What are the differences between a Statement and a PreparedStatement?

3.What is JDBC connection pool?What is JDBC-ODBC bridging?

4.What is Metadata and why should I use it?What is ODBC ? How do you connect the Database?

5.If you are truncated using JDBC , how can you that how much data is truncated?

6.How will you perform truncation using JDBC?

7.What is the latest version of JDBC? What are the new features added in that?

8 What are the types of JDBC drivers ?

9. Explain the third driver(Native protocol driver) ?

10. Which among the four driver is pure Java driver ?

11. What are the Isolation level in JDBC transaction ?

12. How do you connect with the database ?

13. How do you connect without the Class.forName (" ") ?

14. What does Class.forName return ?

15. What are the types of statement ?

 

XML-EXTENSIBLE MARKUP LANGUAGE

 

1.Why is XML used mainly? Why are XML documents useful with Java?

2. Do use coding for database connectivity in XML?

3. What is DTD?Briefly explain different types of DTDs.

 

4.   Write an XML document with an external DTD having employee as root element and having name, address, sex, emp_id, ph_no. and designation as child elements where each child element has at least on one attribute attached to it. Phone number element may have one cr more entry.

 

5.Write a Java program which will generate an XML document named as books.xml, based on the following structure:

 

                               <?xml version="l.O"?>

<books>

<book>

<name>Text Book </name> <price>Rs.200.00 </price> </book>

<book>

<name>Story Book </name> <price>Rs.IOO.OO </price> </book>

</books>

 6.What is XSD(XML Schema Definition).

7.What is XML parser?what are the role of XML parsers?

8.Describe SAX parser briefly.

9.Describe DOM parser briefly.

10.What are the differences between SAX and DOM?

12.Describe JAXP and JAXB shortly.

 

NEXTQUESTION ON ::::



What is bean? Where can it be used?

  1. What is the difference between java class and bean?
  2. Can we sent objects using Sockets?
  3. What is the RMI and Socket?
  4. What is CORBA? Can you modify an object in corba?
  5. What you mean by COM and DCOM?

 


Make a Free Website with Yola.