Java in Telecommunications – Order Management API

Posted by Gero Vermaas in the early afternoon: May 14, 2007


In the previous two episodes in this series we described the position of Java in the Telecommunications industry, Telemanagement Forum and the basics of OSS/J. This episode focuses on the Order Management API (JSR 264), this is one of the OSS/J APIs being developed using the JCP process (proposed final draft 2 will be released May/June '07). It is also the API we covered during last weeks session at JavaOne.

Order management is a common process and virtually every organization does some sort of order management to ensure that it can process requests from it's customers and deliver the requested product (for example book, car, drivers license) or service (for example telephony, health insurance, TV). The Order Management API is (as far as we know) the only open and standards based API available for order management and therefore is relevant for many organizations developing an order management solution (not telecommunications only). By using this API as a basis for your order management solution you can reuse the knowledge of others (not reinventing the wheel) and reduce your integration costs.

The key features are:

  • Supports both simple and complex use cases

  • Supports long running transactions

  • Defines the managed entities on which the Order Management operations work (Order, OrderItems, etc). These are extended from the Telemanagement Forums Shared Information/Data Model, the items used from the TMF SID are the non Telecommunications specific ones.

  • Defines the (extendible) state model for Orders.

  • Support for creation, starting, updating and removing Orders.

  • Support for bulk operations to create, update, remove orders. These are available in an atomic (all must succeed) or best effort (failing ones will be reported back) flavor.

  • Support for notification to keep clients informed of progress of an Order (not only clients that submitted an order but also other interested clients).

  • Notifications that requests the client for validation of certain aspects of the order (before it continues processing).

  • Notifications that requests the client for additional input (before it continues processing).

  • Extensibility. The types of orders (and all contents) and the order states can be extended for your specific needs.

  • Flexible query possibilities like query by key, query based on a template and defining named queries (comparable to JDBC Prepared Statements).

  • Support for static and dynamic typing of attributes of an Order.

  • Support meta-operations that (for example) enable a client to discover at runtime what orders are available.

The Order Management API is not bound to telecommunications specific orders. The API allows for definition of your own order types and and thus can be customized to the specific needs of other industries. To ensure that the operations exposed by the Order Management API are not bound to any specific industry, a generic type 'Request' is defined. This Request type is the supertype of all Orders and all Order Management API operations operate on Requests. It is possible to define your own Order types as subtype of Request, or as subtype of one of the four predefined Request subtypes: ProductOrder, ServiceOrder, ResourceOrder, WorkOrder (the latter requires human intervention).

“All nice and dandy”, I hear you think, “but can't I achieve the same with BPEL?”. From a functional perspective you could realize the same functionality with BPEL (or many other technologies), however you would be inventing you own API instead of building on a standards based one. For example, BPEL will not give the standardized information model, state model or set of operations. You would need to define them yourself and thus you're creating a proprietary solution. The advantage of reduction in integration costs is lost.

<meta name="GENERATOR" content="OpenOffice.org 2.0 (Linux)" /><meta name="AUTHOR" content="Gero Vermaas" /><meta name="CREATED" content="20070329;13524000" /><meta name="CHANGEDBY" content="Gero Vermaas" /><meta name="CHANGED" content="20070514;14401000" /><br /> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <p style="margin-bottom: 0in">The Order Management API does not attempt to boil the ocean, the following items are out-of-scope and not defined in the API:</p> <ul> <li> <p style="margin-bottom: 0in">Workforce management: Management of staff, schedules etc. is not part of Order Management.</p> </li> <li> <p style="margin-bottom: 0in">Inventory Management: There is a separate Inventory API defining this (JSR 142). Because the will often be a close relation between Order Management and Inventory it can make sense to implement both APIs in one product. Both APIs build on the same OSS/J concepts and interaction is smooth.</p> </li> <li> <p style="margin-bottom: 0in">Order decomposition: This is implementation specific and cannot be defined in the API.</p> </li> </ul> <p style="margin-bottom: 0in">This blog entry roughly covers the first part of the <a href="http://www28.cplan.com/cc158/session_details.jsp?isid=286860&ilocation_id=158-1&ilanguage=english">presentation </a>we did at JavaOne, the second part was answering the question “How does the Order Management API fit into a Service Oriented Architecture?”. Guess what the subject of the next entry in this series will be...</p> <div><a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?pub=&url=http%3A%2F%2Fblog.xebia.com%2F2007%2F05%2F14%2Fjava-in-telecommunications-%25e2%2580%2593-order-management-api%2F&title=Java+in+Telecommunications+%E2%80%93+Order+Management+API', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank"><img src="http://s3.addthis.com/button1-bm.gif" width="125" height="16" border="0" /></a></div> <p class="comments_link"><img src="http://blog.xebia.com/wp-content/themes/xebia/images/file.gif" title="file" alt="*" /> Filed under: <a href="http://blog.xebia.com/category/java/" title="View all posts in Java" rel="category tag">Java</a>, <a href="http://blog.xebia.com/category/telecommunications/" title="View all posts in Telecommunications" rel="category tag">Telecommunications</a><br/> </p> <!-- You can start editing here. --> <h3 id="comments">One Response to “Java in Telecommunications – Order Management API”</h3> <ol class="commentlist"> <li class="alt" id="comment-18100"> <span class="commentmeta"><cite><a href='http://blog.xebia.com/2007/09/25/jsr264-order-management-api-released/' rel='external nofollow'>Xebia Blog</a></cite> Says: <br /> <small class="commentmetadata"><a href="#comment-18100" title="">September 25th, 2007 at 9:03 am</a> </small></span> <div class="commentbody"><p>[…] The Order Management API 1.0 has been released. The Order Management API is (as far as we in the JSR264 Expert Group (EG) know) the only open and standards based API available for order management and is relevant for any organization developing an order management solution. By using this API as a basis for your Order Management solution you can reuse the knowledge of others (not reinventing the wheel), reduce your integration costs and create a flexible Order Management solution. In a previous blog post I already described the features of the API in detail, so I’ll just repeat the most important features: […]</p> </div> </li> </ol> <h3 id="respond">Leave a Reply</h3> <form action="http://blog.xebia.com/wp-comments-post.php" method="post" id="commentform"> <p><input type="text" name="author" id="author" value="" size="22" tabindex="1" /> <label for="author"><small>Name (required)</small></label></p> <p><input type="text" name="email" id="email" value="" size="22" tabindex="2" /> <label for="email"><small>Mail (will not be published) (required)</small></label></p> <p><input type="text" name="url" id="url" value="" size="22" tabindex="3" /> <label for="url"><small>Website</small></label></p> <!--<p><small><strong>XHTML:</strong> You can use these tags: </small></p>--> <p><textarea name="comment" id="comment" cols="50" rows="10" tabindex="4"></textarea></p> <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> <input type="hidden" name="comment_post_ID" value="228" /> </p> </form> </div> </div> </div> <!-- begin sidebar --> <div id="sidebar"> <h2>About</h2> <p> <a href="http://www.xebia.com/" title="Go to Xebia website.">Xebia</a> is a specialist consultancy firm devoted to enterprise Java architecture, middleware, portal and integration technology. </p> <h2>Articles</h2> <p><a href="/articles">Article page</a></p> <h2>Archives</h2> <ul> <li><a href='http://blog.xebia.com/2008/10/' title='October 2008'>October 2008</a></li> <li><a href='http://blog.xebia.com/2008/09/' title='September 2008'>September 2008</a></li> <li><a href='http://blog.xebia.com/2008/08/' title='August 2008'>August 2008</a></li> <li><a href='http://blog.xebia.com/2008/07/' title='July 2008'>July 2008</a></li> <li><a href='http://blog.xebia.com/2008/06/' title='June 2008'>June 2008</a></li> <li><a href='http://blog.xebia.com/2008/05/' title='May 2008'>May 2008</a></li> <li><a href='http://blog.xebia.com/2008/04/' title='April 2008'>April 2008</a></li> <li><a href='http://blog.xebia.com/2008/03/' title='March 2008'>March 2008</a></li> <li><a href='http://blog.xebia.com/2008/02/' title='February 2008'>February 2008</a></li> <li><a href='http://blog.xebia.com/2008/01/' title='January 2008'>January 2008</a></li> <li><a href='http://blog.xebia.com/2007/12/' title='December 2007'>December 2007</a></li> <li><a href='http://blog.xebia.com/2007/11/' title='November 2007'>November 2007</a></li> </ul> <li id="linkcat-47" class="linkcat"><h2>Xebia Sites</h2> <ul> <li><a href="http://www.xebia.com" rel="me">Xebia Corporate</a></li> <li><a href="http://www.xebia.fr" rel="me">Xebia France</a></li> <li><a href="http://www.xebiaindia.com" rel="me">Xebia India</a></li> </ul> </li> <h2>Categories</h2> <ul> <li class="cat-item cat-item-2"><a href="http://blog.xebia.com/category/java/" title="View all posts filed under Java">Java</a> (169) </li> <li class="cat-item cat-item-20"><a href="http://blog.xebia.com/category/agile/" title="View all posts filed under Agile">Agile</a> (80) </li> <li class="cat-item cat-item-5"><a href="http://blog.xebia.com/category/general/" title="View all posts filed under General">General</a> (39) </li> <li class="cat-item cat-item-29"><a href="http://blog.xebia.com/category/podcast/" title="View all posts filed under Podcast">Podcast</a> (28) </li> <li class="cat-item cat-item-18"><a href="http://blog.xebia.com/category/performance/" title="View all posts filed under Performance">Performance</a> (26) </li> <li class="cat-item cat-item-15"><a href="http://blog.xebia.com/category/testing/" title="View all posts filed under Testing">Testing</a> (22) </li> <li class="cat-item cat-item-13"><a href="http://blog.xebia.com/category/hibernate/" title="View all posts filed under Hibernate">Hibernate</a> (20) </li> <li class="cat-item cat-item-35"><a href="http://blog.xebia.com/category/scrum/" title="View all posts filed under Scrum">Scrum</a> (20) </li> <li class="cat-item cat-item-28"><a href="http://blog.xebia.com/category/project-management/" title="View all posts filed under Project Management">Project Management</a> (19) </li> <li class="cat-item cat-item-10"><a href="http://blog.xebia.com/category/spring/" title="View all posts filed under Spring">Spring</a> (18) </li> <li class="cat-item cat-item-23"><a href="http://blog.xebia.com/category/soa/" title="View all posts filed under SOA">SOA</a> (18) </li> <li class="cat-item cat-item-38"><a href="http://blog.xebia.com/category/architecture/" title="View all posts filed under Architecture">Architecture</a> (15) </li> <li class="cat-item cat-item-19"><a href="http://blog.xebia.com/category/maven/" title="View all posts filed under Maven">Maven</a> (13) </li> <li class="cat-item cat-item-37"><a href="http://blog.xebia.com/category/groovy/" title="View all posts filed under Groovy">Groovy</a> (11) </li> <li class="cat-item cat-item-14"><a href="http://blog.xebia.com/category/eclipse/" title="View all posts filed under Eclipse">Eclipse</a> (10) </li> <li class="cat-item cat-item-36"><a href="http://blog.xebia.com/category/ajax/" title="View all posts filed under Ajax">Ajax</a> (9) </li> <li class="cat-item cat-item-7"><a href="http://blog.xebia.com/category/articles/" title="View all posts filed under Articles">Articles</a> (8) </li> <li class="cat-item cat-item-30"><a href="http://blog.xebia.com/category/flex/" title="View all posts filed under Flex">Flex</a> (8) </li> <li class="cat-item cat-item-34"><a href="http://blog.xebia.com/category/grails/" title="View all posts filed under Grails">Grails</a> (8) </li> <li class="cat-item cat-item-42"><a href="http://blog.xebia.com/category/moving-to-india/" title="View all posts filed under Moving to India">Moving to India</a> (8) </li> </ul> <br/> <h2>Search</h2> <form id="searchform" method="get" action="http://blog.xebia.com/index.php"> <ul> <li><input type="text" name="s" size="18" value="search" onclick="resetText();" /></li> </ul> </form> <br/> <script type="text/javascript" src="http://embed.technorati.com/embed/2c8tevqr6.js"></script> </div> <!-- end sidebar --> <!-- begin footer --> </div> <div id="footer"> <a href="www.xebia.com">Xebia</a> page in 0.237 seconds. </div> </div> </body> </html>