This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello, Just want to have some feedback regarding my data implementation; > One thing bothering me is my design on data and "business logic" class..In my design, I have 2 calls requesting for a remote access; data class and "business logic" that will access the data class. In my assignment, there was a line stating that all public methods of the data class should be available to th client..Ok fine..I implemented the way they want; But knowing that the Data class shouldn't (IMO) be accessed directly, I implemented something like a "business logic" class...But then, I noticed that I need 2 remote invocation to succeed in my chosen design.. Is it something I need to change or can someone advise me on the implication of this kind of framework.. Thanks for your support luis
Joined: Mar 07, 2001
any comments/suggestion out there? glad if you can write a line or two...just want to have some insights here... still, thank you very much luis
Your idea of not letting the client directly access the Data class makes sense. Your "business logic" class should support remote calls. The client will make calls on the remote class and it will in turn call the Data class methods. There will be only one remote call. Other will be just a local call. -Paul. Your guide to SCJD! http://www.enthuware.com/jdevplus
[This message has been edited by Paul Anil (edited April 14, 2001).]
hi paul, thanks for your reply! I really appriciate your answer... Regarding the link that you have there in your reply, it seems that your involved in some kind of "helping-hand" kind of group, specifically to tackle the assignment towards obtaining the scjd title..Just want to ask you a question Paul; >Do you think you're really helping he/she to be a good programmer, I mean those people who will/have already buy any services/package (in jar file I suppose)? And to all those people who will/have already buy this services, can you ask yourself too? (only If you have read this article I think...) a bit disappointed, luis
Enthuware Software Support
Joined: Sep 23, 2000
Please don't form an opinion that soon. Only ones own efforts and experience can make one a good programmer. But there are a lot of people who do not have any experience but still want to learn things. Many people have jobs and they work after hrs. to pick up new technology. And many such people need some kind of assistance. In fact, we started this only after we receive numerous emails from JQPlus customers asking whether we have any package for SCJD. Of course, where there is a need there will be supply. So we started the JDevPlus package. Also, you probably did not see the full description. We have clearly stated that the sample impl. is not exactly same. If you submit it as it is, you'll fail. If you look at the Guidance Packagae, (I'll paste it here) .Help in designing your assignment. You must send us an initial/rough design first. We'll help you improve it. .Periodic review of your design and code. .Feedback and critial analysis to help you understand the issues involved. .Help on the written test. Now tell me why do you think this will not be helpful for SCJD aspirents. It is also clearly stated : .We DO NOT write any code for you. You have to write your own code. Of course, we'll provide enough help. You can also buy the sample project implementation. I truely think that it will be helpful. -Paul.