Sunteți pe pagina 1din 4

Networking features - Byte code interpretation - Sockets - Secure sockets - Custom sockets -

TCP/ UDP datagrams - Multicast sockets - URL classes - Reading Data from the server - writing
data- Configuring the connection – Reading the header – Telnet application – Java Messaging
services.

2 Marks

1. List out the difference between TCP and UDP


2. Difference between DatagramPacket and DatagramSocket
3. What is port?
4. What is meant by URI and list its types
5. Differentiate URL and URN
6. What is a network socket? Also give use of server socket and client socket.
7. List out the difference between stateful server and stateless server
8. Define Network
9. Define Byte code
10. List out any five recent networking applications.

4 Marks
1. Write a simple program that can read a host name and convert it to an IP address.
2. Explain the connection establishment between the client and server using UDP with neat
handshaking diagram.
3. Name the seven layers of the OSI Model and describe them briefly?
4. What are the advantages and disadvantages of java sockets
5. Give the use of URL class and also give the syntax of constructor of URL class.
6. Write down the difference between custom socket and secure socket
7. List out the methods available in URL class
8. What are benefits of byte code conversion in java programs?
9. What is JIT and its use?
10. Write short notes on JVM?
11. How do you open and close the socket write syntax for the same?
12. Differentiate proxy server and web server.
13. How to display IP address and host name for local machine?
14. Differentiate between socket and server socket
15. List out the steps for creating a simple server program
16. List out the steps for creating a simple client program
17. Explain why the URL encoding is very important to web applications
18. Explain the client-server architecture via a simple example
19. List some well-known ports and explain the applications associated with them
20. Write short notes on producer and consumer concepts in JMS.
10 marks
1. Develop a Java program to establish the secure socket connection between the client and
server for chat application.
2. Write a java program to broadcast the message from server to multiple client using TCP
3. Summarize a java program to multicast the message from server using TCP
4. Write a java program to unicast the information using UDP
5. Write a simple program that can read a host name and convert it to an IP address.
6. Write a URL-based program that pulls content from www.saveetha.com.
7. Write a Socket-based Java server program that responds to client messages as follows:
When it receives a message from a client, it simply converts the message into all
uppercase letters and sends back the same to the client. Write both client and server
programs demonstrating this using TCP.
8. Write a Java code to execute the telnet application
9. Explain in Detail about JMS with necessary diagram and write a program for it
10. Summarize Byte code interpretation with necessary diagram and write a java program to
find the fibonacci value of the given number.
UNIT – 5
2 MARKS
1. What are the components of J2EE application?
2. What are the four types of J2EE modules?
3. Define message bean.
4. Define web server.
5. Define archiving.
6. List out the J2EE technologies.
7. Write notes on callback methods?
8. What is cascade delete?
9. List out the types of session bean?
10. Define a session.

4 MARKS
1. What are the differences between Ear, Jar and War files? Under what circumstances
should we use each one?
2. Compare and contrast client and server view of state-full Session bean and stateless
session bean.
3. Differentiate session bean and entity bean.
4. Describe how entity bean manages the persistence, give an example.
5. Explain the steps involved in the deployment of session bean.
6. Draw the life cycle of stateless session bean and list the steps involved in it.
7. Define connection pooling.
8. Differentiate Java EE and Java SE.
9. What is mean by bean-managed persistence and bean-managed transaction?
10. Difference between application client and thin client.
11. Write short notes on Java EE Components
12. What is mean by a web container? List few of web containers.
13. Write note on connection pooling.
14. Write about business components in Java EE application
15. Discus about EIS tier.
16. Give short notes on java EE containers and list out their services.
17. List out the J2EE development life cycle
18. Define annotations
19. Differentiate between HTML and XHTML
20. How do you assembly and deploy the Java EE application

10 marks
1. Explain J2EE architecture with necessary diagram?
2. Deploy a simple calculator program using stateless session bean
3. Create and deploy stateful session bean class named account bean and this class should
implements two business methods one for deposit and the other for withdraw
4. Explain the EJB architecture with necessary architecture diagram
5. Deploy the bean program for user login page for authentication.
6. Deploy the bean program for session tracking.
7. Explain the architecture for distributed multi-tiered applications in J2EE.
8. Explain J2EE development life cycle with necessary diagram?
9. What are the various ways of passing parameters in EJB? What factors should be
considered before giving local or remote access to beans?
10. Explain about the cookie and write a program for it.

S-ar putea să vă placă și