I've created a java client(jar) using Axis2 wsdl2java tool and running on Geronimo/Tomcat server.
I've xmlbeans databinding while creating the client from the wsdl.
It was working fine. But if the size of the message grows, I'm getting the below exception.
Why can't we use length() and where his this length located?
Because, in Java, to get the size of an Array, the language designer prefer to define a field called length, instead of a method length (). The reason is unknown. Since the length is a runtime property, it is not defined anywhere as an API. You can not change the size of an array
Tight coupling means difficult to refactor. Let us take a simple example of HAS-A relationship- A car HAS-A wheel. Now, suppose in future you want to refactor your code and want to move out the Wheel object out of the Car object, it will be bit difficult. That�s why HAS-A is tightly coupled.