From: Matthew B. <mat...@ou...> - 2006-07-14 10:54:30
|
Peter Crowther wrote: >> From: Matthew Buckett >> I have had a quick look at removing the dependancy on RMI >> throughout the >> bodington code and have an initial attempt. Reasons for >> removing it include: >> >> - It is not used. Nowhere do we use the features of RMI. >> - It clutters up the APIs as all our methods throw RemoteException. >> - RemoteExceptions are just ignored when people write code. >> - It speeds up the build, the rmic task is the slowest bit of >> the build. > > Template compilation? I turn that off and let it happen in the container when doing development. >> - It allows project rebuilds by IDEs (eclipse) without needing ant. >> - If we needed it again adding it back in is simple. >> >> Comments? > > We either need a clean separation - awkward given the amount of database > code now in facilities, I suspect - or we need to accept the merge. I'm not advocating removing the session layer, just its dependency on the RMI API. I'd like much cleaner separation but that is a bigger nut to crack. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |