aspose file tools*
The moose likes Beginning Java and the fly likes Modular RMI design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Modular RMI design" Watch "Modular RMI design" New topic
Author

Modular RMI design

Matt Kim
Greenhorn

Joined: Mar 01, 2004
Posts: 26
Hi everyone,
I'm faily new to java and I don't have any formal training in Software Engineering so here's my question to you.
I'm looking into designing a modular application (nothing complex). How extreme would you recommend in modularizing the app? For instance, if I had the following components within an app:
InventoryManager.java
DeliveryManager.java
SiteManager.java
OrderManager.java
If one class required the other, should they be "passed" into one another i.e.
InventoryManager inventoryManager = new InventoryManager(orderManager);
Or should they be discussing over an RMI connection?
Thanks in advance,
Matt
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Hi,
Welcome to JavaRanch!
Have all the classes in one program. Use RMI only when you have to write two programs and they need to communicate -- for instance, when the two programs have to run on separate machines.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Modular RMI design