Simple Homework!

Imebatilisha Ilichapishwa Apr 24, 2007 Kulipwa wakati wa kujifungua
Imebatilisha Kulipwa wakati wa kujifungua

Deadline is 6 Hours! I can pay 10 usd coz its a simple 1/2 hour work i think so

Hi, can you help me with this homework? Please let me know the cost and how fast can you finish it. Thanks.

Questions on Marshalling.

Base on the following java code, let say you’re required to send the object instance stored in DevilBlack to another system (given that the main method has been done).

You have two options: If you prefer Java-like object serialization then draw a diagram. Otherwise write an XML document in SOAP environment, (definitions of data types is not required) that illustrates how DevilBlack can be represented as a sequence of bytes (marshaled). You are not able to send the DevilBlack object instance on its own. Besides, you have to send other object instances if they can be accessed from DevilBlack. Keep in mind AngelBlue is a rival of DevilBlack.

public class AngelBlue

{

public static void main ()

{

Person DevilBlack = new Person ();

Person AngelBlue = new Person ();

Person cupids[] = new Person[7];

[url removed, login to view] = "Devil Black";

[url removed, login to view] = 65;

[url removed, login to view] = null;

[url removed, login to view] = new Person[] { AngelBlue };

[url removed, login to view] = "Angel Blue";

[url removed, login to view] = 18;

[url removed, login to view] = cupids;;

[url removed, login to view] = null;

for (int i=0; i < 7; i++)

{

cupids[i] = new Person ();

cupids[i].name = "Cupid" + [url removed, login to view](i);

cupids[i].age = 101;

cupids[i].friends = null;

cupids[i].rivals = null;

}

/* We have a “send operation” to send the object instance that

* stored in DevilBlack to another system.

*/

}

}

public class Person

{

public string name; // Name of the person

public int age; // Age of the person

public Person friends[]; // People who are friends of this person

public Person rivals[]; // People who are rivals of this person

}

Java

Kitambulisho cha Mradi: #140790

Kuhusu mradi

4 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

4 wafanyakazi huru wanazabuni wastani wa $43 kwa kazi hii

ahello2007

Hello,Please refer your PMB.Thankyou.

$30 USD kwa siku 0
(Maoni 0)
0.0
sachin6870

I have done with assignment

$30 USD kwa siku 0
(Maoni 0)
0.0
gr8naveed

tell me the detail and procces to deliver the money?

$80 USD kwa siku 2
(Maoni 0)
0.0
pankajsingh199

please check pm

$30 USD kwa siku 0
(Maoni 0)
0.0