The purpose of annotations have been well put forward with the recent upgradation of EJB to EJB 3.0 and also in the web services field by JAX-WS. Annotations help in reducing the learning curve associated with these specifications by avoiding the need to learn the deployment descriptors which are necessary to properly deploy an EJB or a JAX-WS web service respectively.
Annotations – a boon or a curse?
Due to the above situation, the influence on the usage of annotations is steadily rising. It is but natural that programmers would try to do their work quickly without having to waste the time in learning the XML Schema’s required for deployment. Annotations are purposely aimed at this programmer’s dilemma. In fact when I was working in JAX RPC, I used to think as to when I would get a tool to code those ugly descriptors in an easier fashion. With annotation based web services creation in JAX-WS, half of my work is done when I put them in the POJO itself.
All of this can be attributed as a boon to the presence of annotations. But the point of worry is, Read the rest of this entry »
It is always beneficial to have a development and a deployment structure when building an application. It is a perfect way to build a web application. First of all let’s see what is the difference between them.
It is the structure or hierarchy of files that you make in order to make a separation of content based on factors like
- project modules – every module has its own folder structure
- repository policy – your company might follow some standardized hiearchical pattern for versioning
- separation of source code from compiled one – they must not be mixed anytime
- separation of tiers in the application – each tier might use different components so they better remain separated
An example for the development structure might be as follows:
Read the rest of this entry »
Before the actual exam it is always a better thing to give some mock tests to get a feel of how to prepare for the final exam and also to find out the weak points and to do a revision of the course material for them. You would be excited to know that there are in fact a couple of nice mock tests for SCDJWS. The ones I have tried and would advice include the following: Read the rest of this entry »
Where do I learn from for SCDJWS? Its a good question and probably the best question. In the arena of SCDJWS you should mark my words, you would never go through with a single source of material in your hand. Well its not to scare you though, its just a matter of fact. The vast scope of SCDJWS makes you learn from various sources. I have told you about how to get a kick start in preparing for SCDJWS, but haven’t yet mentioned from where you should prepare. It was a whole new section in itself and requires a detailed information. You don’t have to fret because Ill give you the thing you crave for. The material of course. Not in a bundled form but a set of links which would see you through in flying colors in the final test. Read the rest of this entry »
If you are looking for getting started with preparing for SCDJWS (Sun Certified Developer for Java Web Services) certification then its very normal that you will be stuck on the material required for it. SCDJWS in nature is very vast in its scope. So you have to be very careful in choosing the appropriate resources. There are many varied implementations on the usage of the API’s which help you implement J2EE web services but you have to remember one thing. You are giving the SUN certification, so its but obvious that you have to use the API’s that SUN provides for creating the J2EE web services. There are many different API versions of the same J2EE web services specifications like those from Apache, BEA, IBM, but since the implementations can be somewhat different from each other, you always have to study the core API’s provided by SUN. This will help you avoid confusion. Moreover, studying SUN API’s is more beneficial since they are present in any vendor implementation. The vice versa is not true. Read the rest of this entry »