Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is the fundamental of published or pre-created objects in Remoting ?
.NET INTERVIEW QUESTIONS - What is the fundamental of published or pre-created objects in Remoting ?
✍: Guest
In scenarios of singleton or single call the objects are created dynamically. But in situations where you want to pre-create object and publish it you will use published object scenarios.
Dim obj as new objRemote
obj.Initvalue = 100
RemotingServices.Marshal(obj,”RemoteObject”)
As shown in above sample following changes will be needed on server side.
RemotingConfiguration.RegisterWellKnownServiceType is replaced by
RemotingServices.Marshal(obj,”RemoteObject”) where “obj” is the pre-created objected
on the server whose value is initialized to 100.
2009-08-18, 3785👍, 0💬
Popular Posts:
What is Service Oriented architecture? “Services” are components which expose well defined interface...
Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As Sys...
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= +...
How To Use Subqueries in the FROM clause? - MySQL FAQs - SQL SELECT Statements with JOIN and Subquer...
How will you freeze the requirement in this case? What will be your requirement satisfaction criteri...