Skip to main content

Posts

Showing posts from November 10, 2014

JavaBeans

JAVA BEANS JavaBeans can be understood as java classes that can be easily reused and composed together into an application. Any java class that follows certain design conventions can be used as a javaBean component. JSP directly supports javaBean components using JSP elements. One can easily create and initialize the value of the Beans and set their properties. ·        useBean:    A JSP action element <jsp:useBean> initiates a JavaBean object into the JSP page.    Syntax: <jsp:useBean id=”object_name” class=”class_name” scope=”page|request|session|application” | /> ·        setProperty:  The <jsp:setProperty> action tag assigns a new value to the specified property of the specified bean object. Syntax: <jsp:setProperty name=”obj_name” property=”prop_name”  value=”prop_value”/> ·        getProperty:  The <jsp:getProperty> action element retrieves the value of the specified property of the specified bean ob

ABOUT LOGIC GATES ,TYPES OF LOGIC GATES

LOGIC GATES INTRODUCTION An implementation of a logic operation is called a logic gates . It is used to implement such devices are diodes, electronic switches, transistors and integrated circuits. An AND gate, for instance, is an implementation of the AND operation. Suppose it is    necessary to implement a logic gate for the function      R=F (A, B, C…) Where F is a Boolean function and R, A, B, C and so on are Boolean variable. The arguments A, B, C and so on will be the inputs to the logic gate R, the value of the function, will be its output. The structure of the gate will naturally depend on the nature of the function F. It is the normal practice to design logic gates to implement only a small number of elementary function such as AND, OR and NOT. Complex functions which are not available in the form of these ‘standard’ logic gates can be expressed in terms of the elementary functions and implement using networks of standard gates. Mainly, gate INPUTS are driven by