8

I'm looking forward to start developing a new server side enterprise communication framework in Java and I'm wondering if anyone knows a good book on the subject? Some best practices and advice would be welcome.

Thanks.

Facundo Casco
  • 10,065
  • 8
  • 42
  • 63
Andrejj
  • 83
  • 1
  • 3
  • 6
    Could you please explain _why_ first? – Thorbjørn Ravn Andersen Sep 27 '10 at 13:09
  • 4
    Yet another framework? Are you sure there is a need? – meriton Sep 27 '10 at 13:10
  • It will be (in case of success) a framework for communication between two eDMS. There are no frameworks that would fit the profile, especially since both eDMS are our. – Andrejj Sep 27 '10 at 13:26
  • Is eDMS = Electronic Document Management System? If so, you could look at writing JCA adapters, but then you would know better on whether that is viable. – Vineet Reynolds Sep 27 '10 at 13:31
  • Yes, it is. I must say I didn't know about JCA. We will give it a shot. THX! – Andrejj Sep 27 '10 at 13:36
  • I did forget one important aspect - usually the DMS vendors tend to offer JCA adapters. Writing an adapter on your own is therefore a choice that is viable only when you are the vendor of the system itself. I believe systems like Documentum have JCA adapters that can be used by system integrators. – Vineet Reynolds Sep 27 '10 at 14:04

4 Answers4

15

"Practical API Design: Confessions of a Java Framework Architect" by Jaroslav Tulach (NetBeans architect) sounds like the best fit you're going to find.

But the best advice on developing new frameworks is: don't. Especially if you have to ask. It's very unlikely that you'll do a better job than all the people who wrote the multitude of frameworks already out there.

Michael Borgwardt
  • 342,105
  • 78
  • 482
  • 720
  • The problem is that there is no framework that fits my needs. Thanks for the book, sounds promising. – Andrejj Sep 27 '10 at 13:17
  • @user459493, not to sound like a prick here, but are you really sure that no framework suits your needs in enterprise communication (presumably, messaging is the right word) ? That topic is more or less well studied, and certainly an existing framework would take care of **most of your** needs. – Vineet Reynolds Sep 27 '10 at 13:25
  • Well most it's not enough, we are integrating two eDMS systems, both proprietary. So if you can suggest a framework that could fit the profile I will be very grateful. – Andrejj Sep 27 '10 at 13:29
4

"How To Design A Good API and Why it Matters" by Josh Bloch.

http://www.youtube.com/watch?v=aAb7hSCtvGw

mindas
  • 26,463
  • 15
  • 97
  • 154
1

A couple of recommended books:

Péter Török
  • 114,404
  • 31
  • 268
  • 329
0

I don't know how exactly your eDMSs should connect which each other, if they are code compatible etc. But this may be helpful for you.

Check Java Content Repository (JCR) standard and JBoss ModeShape as implementation. Most of content (also document) repository software providers are JCR-Compliant, e.g. Alfresco but also other not related with Java.

Instead of writing own framework, just write simple ModeShape JCR connector for your eDMS. Then you can easly do federated DMSes, replication, use existing repository management tools, expose your repos via Web Dav, REST, comunicate with other protocols, and do many many other things with opensourced and commercial tools - your repository just must provide JCR connector.

gertas
  • 16,869
  • 1
  • 76
  • 58
  • They should be fully integrated (2 way communication, document search, etc.), one is written in Java and the other one is in .net. They are both written by us so there is maybe some room for modification of the existing code. Thanks for the suggestion. – Andrejj Sep 27 '10 at 15:14
  • Check also this article http://dev.day.com/content/ddc/blog/2008/01/fudbusting2.html about using JCR outside Java. – gertas Sep 27 '10 at 16:20