Owner: Interview Questions In Java And Java EE URL:http://interviewjava.blogspot.com/ Join Date: Fri, 08 Jun 2007 16:46:10 -0500 Rating:0 Site Description: World of tricky Core Java Q&A Covering Object Oriented Analysis and Design,JVM Internals,Java Language Fundamentals(Datatypes,Keywords,Operators and Assignments,Identifies etc.,Declarations and Modifiers,Conversion,Casting and Promotion,Flow control,Asser Site statistics:Click here
Good Bye Bill-Gates Open For a Rockstar 2008-06-29 11:09:28 Hi folks, this post is deviated from the theme of this blog to honor Mr. Bill Gates
who logged out from Microsoft on 28th June,2008. He made PCs a household success.What next Mr. Gates....giving Bono run for his money...phew...that is what I call a dreamer.
Read more:Rockstar
, Good Bye
Java Coding Standards:Layout 2008-06-20 08:58:18 In this post, some of the best practices of Layout used while coding in Java, has been enumerated. This helps better readability of code and hence better understanding for people who are going to maintain code.Some thumb rules which are nice to follow: · Where possible the lines of code within a method should fit on one screen (1024 resolution). If not the method should be decomposed fur Read more:Coding
, Standards
Learning Eclipse IDE 2008-07-05 04:22:00 Recently stumbled upon some good tutorials on Eclipse IDE.I just thought of sharing with you all who are new to Eclipse and want to try their hands on it.An Eclipse-Java Tutorial for Total Beginners:An Eclipse-Java Tutorial on Introducing Persistence:An Eclipse Tutorial on Using Debugger:There are more Java learning video tutorials from Eclipse tutorials portal which can be downloaded from the fol Read more:Learning
Java Coding Standards:Exception Handling,Logging,JUnits 2008-07-26 01:10:22 At enterprise level writing robust code is essential and test driven development technique is helping one in achieving that. So while you code your business components then writing JUnits in parallel is an essential exercise. This helps in checking all positive and negative scenarios which your code can get exposed to. While putting erroneous conditions, your code will behave erroneously,throwing Read more:Coding
, Standards
, Handling
Java Coding Standards:Naming Conventions 2008-07-21 11:48:58 While coding it is significant to stick to naming conventions of the language and Java is also no exception in that.The reason of this practice is to make your code look consistent and easy to comprehend.In most of the situations these conventions are set at organization level but some of them on a broader level are summarized under points given below:Package-Capitals should not be used in the pac Read more:Coding
, Standards
, Naming
What is JAXP ? 2008-08-08 10:52:00 JAXP represents set of APIs which are used to parse, transform, validate and query XML documents.JAXP is used seamlessly in XML based applications' integration ,web publishing and e-commerce solutions. JAXP supports a number of different industry-wide standards to process XML documents.JAXP 1.3 is Production Quality in J2SE 5.0, and the latest JAXP 1.4 is Production Quality Development in Ja
Java Coding Standards: Best Practices 2008-08-04 09:56:00 This is my last post in series of Java coding standards posts. It focuses on best practices or dos and don'ts while coding. I am sure these good practices once observed while writing code will make your Java code consistent and in most cases bugs free. If you make these practices a habit, it ensures better code quality,less rework and robustness of one's application.Here goes the list:·Put each c Read more:Coding
, Standards
, Best Practices
What is webhosting and how it works? 2008-09-06 14:31:53 Web hosting service is a type of Internet hosting service.It allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. These web hosts can also provide data center space and connectivity to the In
Simplifying Service Oriented Architecture 2008-09-06 05:52:37 What is SOA?Why SOA?What are the constituents of SOA?Who suits best for SOA?When to avoid implementation of SOA?How to avoid risks in SOA implementation?How SOA makes things better or even worse?How to develop,test and maintain SOA based solutions?How to register Web Service
s with UDDI4j?Webservices, Apache Axis WayWebserivces With Apache Axis Continued...Apache AXIS with IBM's WSAD/RAD
Read more:Oriented
, Architecture
Apache AXIS with IBM's WSAD/RAD 2008-09-06 05:45:07 All major IDEs from different Vendors support webservices using Apache
Axis.In this post my objective is to demonstrate a simple web service development and deployment using IBM
's Websphere Application Developer(WSAD)/Rational Application Developer(RAD).They both provide support for Apache Axis and can use Axis libraries as required for runtime environment for web services.In following heads all t
What is JAXP ? 2008-08-08 12:13:22 JAXP represents set of APIs which are used to parse, transform, validate and query XML documents.JAXP is used seamlessly in XML based applications' integration ,web publishing and e-commerce solutions. JAXP supports a number of different industry-wide standards to process XML documents.JAXP 1.3 is Production Quality in J2SE 5.0, and the latest JAXP 1.4 is Production Quality Development in Ja
Java EE,Open Source,Advanced Technologies Interview Questions 2008-08-08 12:00:47 I hope my post on Java Interview Questions will be doing some good to all my targeted audience on Core Java and in this blog, I have essentially focussed on interview questions in several Java EE technologies(erstwhile J2EE).Apart from Java EE, I will also be covering interview questions on most widely used open source technologies like Struts,Hibernate,Spring and Velocity and more.I have constant Read more:Source
Core Java Interview Questions 2008-08-06 12:02:41 Every year many thousand technocrats choose Java careers across the globe,after formally taking Java training classes,courses and/or Java certifications like SCJP etc.While appearing for technical interviews,these budding Java programmers face variety of technical questions, are asked to write code snippets to prove their mettle in relevant topics of Java.They are not only assessed on language bas
Master List Of Java EE,Open Source,Advanced Technologies Questions(Release I ) 2008-08-06 11:55:26 ServletsWhat is a servlet? Explain its lifecycle.What is the difference between CGI and servlets? What is a middleware and what is the functionality of Webserver?Can there be more than one instance of a servlet at one time ?Why there are no constructors in servlets?What is a Servlet Context?What is meant by Session tell me something about HttpSession? What is the difference between GenericServlet Read more:Source
, Master
, Release
Java Coding Standards : Layout 2008-08-04 10:41:20 In professional Java programming world, it is essential that your developed code should follow some coding standards as per guidelines set by your organization or your client is technical enough to send you those details. A question arises why do I need such a practice, answer is very simple. To make life easy for those who are going to maintain or enhance your code. A better documented, neat-clea Read more:Coding
, Standards
Java Coding Standards:Exception Handling,Logging,JUnits 2008-08-04 10:30:29 At enterprise level writing robust code is essential and test driven development technique is helping one in achieving that. So while you code your business components then writing JUnits in parallel is an essential exercise. This helps in checking all positive and negative scenarios which your code can get exposed to. While putting erroneous conditions, your code will behave erroneously,throwing Read more:Coding
, Standards
, Handling
Java Coding Standards: Best Practices 2008-08-04 10:26:07 This is my last post in series of Java coding standards posts. It focuses on best practices or dos and don'ts while coding. I am sure these good practices once observed while writing code will make your Java code consistent and in most cases bugs free. If you make these practices a habit, it ensures better code quality,less rework and robustness of one's application.Here goes the list:·Put each c Read more:Coding
, Standards
, Best Practices
Master List Of Core Java Questions 2008-07-21 21:49:32 OOPSWhat is an Object? What is a Class? What is OOAD? What is Data Abstraction ? What is Data Encapsulation? What is the difference between Data Abstraction and Information Hiding? What is Inheritance and what are different types of it? Why Java uses Singly rooted hierarchy? Why does Java not support Multiple Inheritance? Why is Java not 100% pure OOP language? What is Early Binding? What is Polym Read more:Master
Java Coding Standards:Naming Conventions 2008-07-21 11:48:58 While coding it is significant to stick to naming conventions of the language and Java is also no exception in that.The reason of this practice is to make your code look consistent and easy to comprehend.In most of the situations these conventions are set at organization level but some of them on a broader level are summarized under points given below:Package-Capitals should not be used in the pac Read more:Coding
, Standards
, Naming
Learning Eclipse IDE 2008-07-05 04:57:04 Recently stumbled upon some good tutorials on Eclipse IDE.I just thought of sharing with you all who are new to Eclipse and want to try their hands on it.An Eclipse-Java Tutorial for Total Beginners:An Eclipse-Java Tutorial on Introducing Persistence:An Eclipse Tutorial on Using Debugger:There are more Java learning video tutorials from Eclipse tutorials portal which can be downloaded from the fol Read more:Learning
Good Bye Bill-Gates Open For a Rockstar 2008-06-29 11:09:28 Hi folks, this post is deviated from the theme of this blog to honor Mr. Bill Gates
who logged out from Microsoft on 28th June,2008. He made PCs a household success.What next Mr. Gates....giving Bono run for his money...phew...that is what I call a dreamer.
Read more:Rockstar
, Good Bye
Java Coding Standards:Layout 2008-06-20 08:58:18 In this post, some of the best practices of Layout used while coding in Java, has been enumerated. This helps better readability of code and hence better understanding for people who are going to maintain code.Some thumb rules which are nice to follow: · Where possible the lines of code within a method should fit on one screen (1024 resolution). If not the method should be decomposed fur Read more:Coding
, Standards
Java Coding Standards:Documentation 2008-05-23 23:19:29 A proper documentation of code ensures better maintainability and code management.Writing documentation may not be fun but it is necessary.The focus is practical tips, practices to be followed religiously while documenting code . When you are a beginner in coding world this seems to be a insignificant and time consuming exercise but as you grow in experience you know how important it is to follow Read more:Coding
, Standards
, Documentation
What is obfuscation? How this technique works in Java? 2008-05-13 01:31:51 Java code gets compiled in bytecode and getting this bytecode decompiled with readily available Java decompilers makes it unsafe. The code obfuscation is a technique with which Java code can be protected. A threat to reverse engineer Java code has been taken very seriously. As the language was designed to be compiled into bytecode which is portable and can get executed within its own runtime envir
Webserivces With Apache Axis Continued... 2008-04-17 11:27:52 In continuation with my previous post,this post explores various ways of deploying a webservice using Apache
Axis and how stubs can be generated with tools provided in Apache Axis.Deploying A Webservice:Web services can be deployed in axis in two ways-JWS (Java Web Service) Files - Instant Deployment-Custom Deployment - Introducing WSDDJWS Deployment:-Copy the *.java file into your web directory,
How to register Web Services with UDDI4j? 2008-04-16 13:24:04 Here we go with a snippet of code to register a web service using UDDI4j****BEGIN****proxy.setPublishURL(uddiPublishingURI);AuthToken token = proxy.get_authToken(mUserName, mPassword);Vector entities = new Vector();BusinessEntity be = new BusinessEntity("", mBusinessEntityName);// set all related dataBusinessDetail bd = proxy.save_business(token.getAuthInfoString(), entities);Vector businessEntiti Read more:Services
Webservices, Apache Axis Way 2008-04-16 13:14:04 AXIS,is a complete frame work for developing and assessing Web Services.The current stable version of Axis in use is 1.2,though Axis 2 is on the anvil of release.You can find more information and download information about Axis C++ and Java on their official website.Axis is essentially a SOAP engine.It is an implemetation of SOAP which provides abstarction from dealing with SOAP and WSDL directly. Read more:Apache
How to develop,test and maintain SOA based solutions? 2008-04-16 13:03:38 Most significant part of any develop
ment life cycle is Analysis and Design phase and SOA is also not an exception.IBM has been consistently working in direction to lay down systematic approaches to identify and realizes services for SOA.As I have discussed earlier, analysis and design part of SOA centers around three approaches SOAD,SOMA and BDD.If you want to recap these concepts then read my blo Read more:solutions
How SOA makes things better or even worse? 2008-04-11 12:06:39 With all the hype that SOA has brought to organizations, they have to brainstorm whether this will do any good to their business anyway.The organizations first have to understand that SOA can not be implemented by introduction of certain software products or services but it is an architectural approach which has to analyze existing systems,IT resources,ever changing business processes and requirem Read more:makes
, things
, better
How to avoid risks in SOA implementation? 2008-04-11 12:03:36 SOA project may go haywire if things are not planned,managed and designed properly.It is very important to know your customer's requirements,expectations and improved business processes in advance before starting any analysis and design exercise.A continuous communication with your client is must so that you can understand their business processes very well and should be able to identify p