Currently browsing

Page 151

java-thumbnail

How to use Enum in Switch?

Enums introduced in Java 5.0 (Read: New features in Java 5.0) allows switching to be done based on the enums values. It is …

java-thumbnail

Adding methods to an Enum

Enums introduced in Java 5.0 are just compiled java classes with some extra behavior. So you can basically do whatever you can …

wildfly-thumbnail

JBoss Portal Server Development

Enterprises need more than just basic services; they need value-creating entities, which are crucial for running a successful business. Portals offer tremendous …

Servlets Interview Questions

1) Is it the “servlets” directory or the “servlet” directory? For Java Web Server: on the file system, it’s “servlets” c:\JavaWebServer1.1\servlets\DateServlet.class in …

JDBC Interview Questions

1) I have the choice of manipulating database data using a byte[] or a java.sql.Blob. Which has best performance? java.sql.Blob, since it …