Where the CardLayout is used ?
CardLayout manages two or more components that share the same display space. It lets you use one container (usually a panel) to display one out of many possible... Read more »
CardLayout manages two or more components that share the same display space. It lets you use one container (usually a panel) to display one out of many possible... Read more »
The Canvas class of java.awt is used to provide custom drawing and event handling. It provides a general GUI component for drawing images and text on the screen.... Read more »
Java Foundation Classes include: Standard AWT 1.1 Accessibility interface Lightweight components: which are user interface components that do not subclass... Read more »
We can use the java.net.URLConnection and java.net.URL classes to open a standard HTTP connection and “tunnel” to the web server. The server then... Read more »
The simplest method is to use the static variables of a shared class since there’s only one instance of the class and hence only one copy of its static... Read more »
Whenever a screen needs redrawing (e.g., upon creation, resizing, validating) the update method is called. By default, the update method clears the screen and... Read more »
public void init() : Initialization method called once by browser. public void start() : Method called after init() and contains code to start processing. If... Read more »
notify() is used to unblock one waiting thread; notifyAll() is used to unblock all of them. Using notify() is preferable (for efficiency) when only one blocked... Read more »
Its a task scheduling method. With time slicing, or “Round-Robin Systems”, several processes are executed sequentially to completion. Each executable... Read more »
The JVM uses locks in conjunction with monitors. A monitor is basically a guardian in that it watches over a sequence of code, making sure only one thread at a time... Read more »
Tn the MVC design pattern, application flow is mediated by a central Controller. The Controller delegates requests to an appropriate handler. The handlers are tied... Read more »
Using JSP technology alone to develop Web page. Such term is used in the earlier JSP specification. Model 1 architecture is suitable for applications that have... Read more »
Using JSP and Servlet together to develop Web page. Model 2 applications are easier to maintain and extend, because views do not refer to each other directly. Read more »
J2EE 1.4 is an enhancement version of J2EE 1.3. It is the most complete Web services platform ever. J2EE 1.4 includes: *Java API for XML-Based RPC (JAX-RPC 1.1) *SOAP... Read more »
There are at least 5 roles involved: 1.Enterprise Bean Developer *Writes and compiles the source code *Specifies the deployment descriptor *Bundles the .class files... Read more »