Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
what is the difference among using bind and rebind methods of naming classans bind method string name binds the specified name to a remote object
binding is a method of associating or registering a name for a remote object that can be used at a later time to look up that remote object a remote
the naming class gives methods for storing and obtaining references to remote objects in the remote object
the remote interface serves to recognize interfaces whose methods may be invoked from a non-local virtual machine any object that is a remote object
does rmi-iiop support dynamic downloading of classesans no rmi-iiop doesnt support dynamic downloading of the classes as it is complete with corba in
the rmi architecture is based on one significant principle the definition of behavior and the execution of that behavior are separate concepts rmi
there are three layers- a stub and skeleton layerthis layer lies just under the view of the developer this layer intercepts method calls made by
remote method invocation rmi is the process of activating a method on a remotely running object rmi offers location transparency in the sense that it
a beannameautoproxycreatorb defaultadvisorautoproxycreatorc metadata
1 around orgaopallianceinterceptmethodinterceptor2 before orgspringframeworkaopbeforeadvice3 after orgspringframeworkaopafterreturningadvice4
what are the different points where weaving can be appliedans there are three points compile time classload time
the process of applying aspects to a target object to form a new proxy object is known as weaving the aspects are woven into the target object at the
a proxy is an object that is formed after applying advice to a target object when you think of client objects the target object and the proxy object
a target is the class that is being advised the class can be a third party class or your own class to which you require to add your own custom
an introduction permits the user to add new methods or attributes to an existing class this can then be explained to an existing class without having
an aspect is the cross-cutting functionality that you are executing it is the aspect of your application you are modularizing an example of an aspect
a joinpoint is a point in the implementation of the application where an aspect can be plugged in this point could be a method being called an
advice is the execution of an aspect it is something like telling your application of a new behavior generally and advice is inserted into an
a pointcut is something that describes at what joinpoints an advice should be applied advices can be applied at any joinpoint that is supported by
there are four different parts by which autowiring can be done byname constructor autodetect
two types of bean injections are there-1 by setter2 by
when wiring beans if a bean element is embedded to a property tag directly then that bean is said to the inner bean the disadvantage of this bean is
there are two significant bean lifecycle methods the first one is setup which is called when the bean is loaded on to the container the second method
to integrate your struts application with spring we have two options configure spring to manage your actions as beans using the contextloaderplugin