Re: [jgroups-users] Porting-Guide/Release-Notes between 3.6.14 and 4.0.15
Questions/problems related to using JGroups <[email protected]> Wed, 29 Jan 2020 12:07:38 -0500
| Newsgroups | gmane.comp.java.javagroups.general |
|---|---|
| Message-ID | <mailman.39637.1580317704.1370.javagroups-users@lists.sourceforge.net> |
--===============5004373938290665223== Content-Type: multipart/alternative; boundary="000000000000d2295f059d4a6263" --000000000000d2295f059d4a6263 Content-Type: text/plain; charset="UTF-8" > > > On 27.01.20 15:49, Questions/problems related to using JGroups wrote: > > Hi: > > Can someone point me to a porting guide - trying to port code between > > 3.6.14 and 4.0.15. (e.g. things that will break and must be chagned > between 3 and 4?) > > There is not porting guide. I suggest recompile your app against 4.x and > fix the compilation errors - it's as simple as that. > We ran into some issues, but I don't remember the details now *except* our main class, defined with: extends ReceiverAdapter implements RequestHandler ...used to be able to implement receive() (for simpler messages) and handle() (for things that needed to return info). With 4.x none of the receive calls worked any more. It had something to do with us using a MessageDispatcher, but I don't recall the details. We had to pull out receive/cast message and move all those things. The questions I had are in the users archive back around Nov 2017 and have "v3->v4" in the subject if it helps. There was also a change that our objects needed to move to streamable instead of serializable, which wasn't hard, but I don't remember it being obvious. I can go back and try to find all my commits to see if there's anything useful there, but anything I couldn't figure out easily is in the users list already with that string in the subject. Cheers, Bobby --000000000000d2295f059d4a6263 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex"><br> On 27.01.20 15:49, Questions/problems related to using JGroups wrote:<br> > Hi:<br> >=C2=A0 =C2=A0Can someone point me to a porting guide - trying to port c= ode between <br> > 3.6.14 and 4.0.15. =C2=A0(e.g. things that will break and must be chag= ned between 3 and 4?)<br> <br> There is not porting guide. I suggest recompile your app against 4.x and <b= r> fix the compilation errors - it's as simple as that.<br></blockquote><d= iv><br></div><div>We ran into some issues, but I don't remember the det= ails now *except* our main class, defined with:</div><div><br></div><div>ex= tends ReceiverAdapter implements RequestHandler<br></div><div><br></div><di= v>...used to be able to implement receive() (for simpler messages) and hand= le() (for things that needed to return info). With 4.x none of the receive = calls worked any more. It had something to do with us using a MessageDispat= cher, but I don't recall the details. We had to pull out receive/cast m= essage and move all those things. The questions I had=C2=A0are in the users= archive back around Nov 2017 and have "v3->v4" in the subject= if it helps.</div><div><br></div><div>There was also a change that our obj= ects needed to move to streamable instead of serializable, which wasn't= hard, but I don't remember it being obvious.</div><div><br></div><div>= I can go back and try to find all my commits to see if there's anything= useful there, but anything I couldn't figure out easily is in the user= s list already with that string in the subject.</div><div><br></div><div>Ch= eers,</div><div>Bobby</div><div><br></div></div></div> --000000000000d2295f059d4a6263-- --===============5004373938290665223== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5004373938290665223== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ javagroups-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/javagroups-users --===============5004373938290665223==--