deprecate PeerGroupFactory how to solve it
I am newbie in jxta and I try to do a peer Group with jxta 2.4.1. I put
netPeerGroup = PeerGroupFactory.newNetPeerGroup();
But it is said that is:
[deprecate] net.jxta.peergroupfactory in net.jxta.peergroup has been deprecated
[deprecate] net.jxta.peergroup() in net.jxta.peergroupfactory has been deprecated
Can a person tell me where the error is and how to solve it?
Thank you very much for your very precious help.