Lalit Bhatt

Ranch Hand
+ Follow
since Dec 27, 2007
Lalit likes ...
Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lalit Bhatt

This question cannot be answered just from the technology perspective. It has to be answered in the context of business value that clustering brings. If the investment justifies in terms of increased business than why not?
In Spring MVC, there are two context. One is the application context or global context which is booted up by ContextLoaderListener. It takes all the configuration file mentioned in contextConfigLocation parameter.

Now if you are are using Spring MVC also than Dispatcher servlet is required, which boots up another container which is also known as web application container. This container takes the global container as a parent.

If you are using Spring in the backend only, then the global context is good enough. However if you are using Spring MVC also for front end than you need Dispatcher Servlet also.
13 years ago
You can also look into the annotation way of handling the transactions. It's better than writing aspects to handle transactions in XML
13 years ago
There is one instance of dispatcher servlet which than traps all the request.

Again there is no reason to have more than one Context loader listener.
13 years ago
Also DD overrides the annotations. That means the final say is what is in DD. If DD is not there than annotations are taken into effect.
I donot think so that JSF tags has anything to do with search engines as everything is converted to html and js when the page is delivered to client.
check MTOM. There is support for same in JAX-WS. If you are in JAX-RPC than use SAAJ api's. It has capability to attach the attachments.
14 years ago
Can you tell more details about how you have created your client? Also looking at exception it seems you are using JAX-RPC client. IF possible use JAX-WS client.
14 years ago
Rest is a style of webservice when you deal directly with XML. A basic requirement for building a rest service is:
- A servlet which can handle http request.
- XML parser which can read the incoming XML messages and create response XML.

14 years ago
When you are trying to save instance of A, than instance of B attached to it is transient? If instance of B is transient it will try to save instance of B because you have cascade behavior set to save-update.

If possible use annotations to configure your mapping.

Check (Sorry this link is considered blatant advertising as it is promoting a site that the poster created)

Hope it will be useful.
14 years ago
Do in the following order:

- XML and XSD
- SOAP and WSDL
- JAXB
- JAX-WS (For further insight just understand JAX-RPC and Axis)

You can check some of the tutorials here. Check the webservices section in particular.
14 years ago
An observation:

- You have put mappedBy on User side, that means the role side is the owning side. I think it's better to make the User side as the owning side. Because the roles are attached or detached to users and not the other way round.

Just a doubt to understand better:

Two Questsions:
- Are the two machines in different Operating system ?
- Did you put the path with directory structure which got changed? If you paste your spring config XML, that might help better to get some clue.