Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > BOOK: Professional Oracle WebLogic Server
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Oracle WebLogic Server
This is the forum to discuss the Wrox book Professional Oracle WebLogic Server by Robert Patrick, Gregory Nyberg, Philip Aston with Josh Bregman, Paul Done; ISBN: 978-0-470-48430-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Oracle WebLogic Server section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 2nd, 2009, 12:49 AM
Registered User
Join Date: Nov 2009
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default DTOs Insufficient w/ Contract-First Web Services ?

I have been hopping between chapters and haven’t read the book cover to cover (yet ;-)), so hopefully I’m not asking a question that is answered in a portion of the book I haven’t yet read. While I understand and like the DTO pattern for the most part, I was hoping to find some guidance for the situation where the business tier interface is a contract-first, Web Service (implemented as a SLSB). This leads to the issue of generated application domain classes (i.e., from the contractual WSDL) that don’t necessarily coincide w/ the application domain classes designed for the business logic and persistence layer, thus requiring translation. My current thinking is to put a 2nd façade layer between the web service implementation and the business service implementation, which will simply translate the service call arguments from WSDL generated domain objects to application domain objects and back. Is there some other more ‘standard’, best practice to address this situation?

  #2 (permalink)  
Old December 2nd, 2009, 06:47 AM
Registered User
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post


The last section of chapter 9 partly discusses this and the upshot for Interface/Contract First development is don't try to share the JPA DTOs as a common data model for both the EJB layer and the Web Services Layer and likewise don't use JAX-WS annotations on your SLSBs to generate Web Services. By definition, if you start from your SLSBs you are doing Code First development not Contract/Interface Development for your Web Services. You will get no re-use of any XML Schemas used across your Web Services and other parts of your systems in your enterprise which need to use your common XML based business data definitions.

More info here:


The Following User Says Thank You to pkdone For This Useful Post:
sdavi1010 (December 31st, 2009)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 : Message Contract Program Example thsun BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 16 January 11th, 2008 12:34 PM
Tracking of Contract Dates for Employees lushh Access 2 October 16th, 2006 03:50 AM
Web Services Error (Ch18) - No Web Disc. Info. ElPato BOOK: Beginning ASP.NET 1.0 2 April 13th, 2005 03:27 PM
Web Services qadeerahmad .NET Web Services 1 August 7th, 2004 11:46 AM
Web Services qadeerahmad Forum and Wrox.com Feedback 3 August 7th, 2004 01:02 AM

All times are GMT -4. The time now is 11:34 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.