In the init(ServletConfig) method of Servlet life cycle, what method can be used to access the ServletConfig object ? (a) getServletInfo()(b) getInitParameters()(c) getServletConfig()
EjbCreate() method of CMP bean returns (a) null (b) Primary Key class (c) Home Object (d) Remote Object
(a) Explanation: ejbCreate() method of BMP bean returns the Primary Key, where as ejbCreate() method of CMP bean returns null.
Which is thread safe ? (a) Only the variable num (b) Only the HttpServletRequest object req (c) Both the variable num & the HttpServletRequest object req
1. what are the different types of design patterns in core java ?2. what do we mean by value object design pattern ?
Latest Answer : Singleton class has only one instance, and to provide a global point of access to it.ex class Singleton { public: static Singleton* Instance(); protected: Singleton(); ...
Latest Answer : File f = new File(""); f.length(); ...
Service Oriented Java Business Integration Review | |
Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are |
|
Linux Thin Client Networks Design and Deployment Review | |
Linux Thin Client Networks Design and Deployment Review Introduction This book is written by David Richards a veteran Linux thin client network designer Designed for System Administrators Linux Thin Client Networks Design and Deployment goes over the concepts which are related to thin client network |
|
ODP.NET - OracleCommand Object | |
ODP NET More About the OracleCommand Object Till now we have seen OracleCommand working with OracleDataReader OracleCommand is not simply meant for OracleDataReader It has got a lot of functionality for itself Let us see few of the most commonly used features of OracleCommand in this section We will |
|
jQuery Three-color Alternating Pattern | |
Learning jQuery Three color Alternating Pattern There may be times when we want to apply more complex striping For example we can apply a pattern of three alternating row colors rather than just two To do so we first need to define another CSS rule for the third row We ll also reuse the odd and even |
|
jQuery - Sorting Other Types of Data | |
Learning jQuery Sorting Other Types of Data Our sort routine should be able to handle not just the Title and Author columns but the Publish Dates and Price as well Since we streamlined our comparator function it can handle all kinds of data but the computed keys will need to be adjusted for other da |
|
Microsoft AJAX Library - Creating Object Members on the Fly | |
Creating Object Members on the Fly One major difference between OOP in C and ASP NET and OOP in JavaScript is that JavaScript allows creating object members on the fly" This is true for objects and classes that you create yourself and also for JavaScript s own objects and types as well He |
|
Microsoft AJAX Library - Object-Oriented JavaScript | |
Object Oriented JavaScript Objects and classes are implemented differently in JavaScript than in languages such as C VB NET Java or C However when it comes to using them you ll feel on familiar ground You create objects using the new operator and you call their methods or access their fields using t |
|
Concepts of Object-Oriented Programming | |
Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a |
|
EDI Document Types | |
EDI Document Types EDI documents come in various forms each of which can appear differently depending on the company’ s internal computer system Also while each standard has code specificity each order may look very different a clothes company will send details of color and sizes while a f |
|
Listening Skills - Types of Bad Listeners | |
Types of Bad Listeners What are the main types of bad listeners You might find in your work environment that some individuals are simply not very good at listening This can create a myriad of problems and make the performance of the most mundane day to day tasks nearly impossible to accomplish mosgo |
|
|