<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Richard Yhip on Medium]]></title>
        <description><![CDATA[Stories by Richard Yhip on Medium]]></description>
        <link>https://medium.com/@yhippa?source=rss-5908f75cdfbd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vugQzXmAM8_4k-pk.jpg</url>
            <title>Stories by Richard Yhip on Medium</title>
            <link>https://medium.com/@yhippa?source=rss-5908f75cdfbd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:26:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yhippa/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Legacy Mainframe Migration to JHipster]]></title>
            <link>https://medium.com/@yhippa/legacy-mainframe-migration-to-jhipster-2cc40120b414?source=rss-5908f75cdfbd------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cc40120b414</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[jhipster]]></category>
            <category><![CDATA[legacy-systems]]></category>
            <category><![CDATA[cobol]]></category>
            <dc:creator><![CDATA[Richard Yhip]]></dc:creator>
            <pubDate>Wed, 28 Nov 2018 19:08:13 GMT</pubDate>
            <atom:updated>2018-12-02T15:54:29.269Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*CUhbfGLY4reU-7nRR_XVZQ.jpeg" /><figcaption>AnonymousUnknown author [Public domain], via Wikimedia Commons</figcaption></figure><p>Believe it or not, we haven’t migrated all of the old legacy mainframe applications from the 1970s to the latest shiny new application platforms. Okay, so that was a little tongue-in-cheek. You <em>might</em> be surprised to know how many <a href="http://blog.syncsort.com/2017/06/mainframe/6-industries-mainframes-king/">critical features you use in your everyday life rely on mainframe functionality</a>, however.</p><p>Recently we here at Ippon Technologies were asked to help lead a transition from a COBOL application (that contained data from the 1800’s even) to a modern microservices architecture. We were asked to pitch in because of our famed application generator, <a href="https://www.jhipster.tech/">JHipster</a>. JHipster can be useful in certain situations such as:</p><ul><li>You are unfamiliar with the latest technologies, and you would like to see a solid “best practices” implementation</li><li>You need to accelerate application development, and the target application to build is some form of a <a href="https://en.wikipedia.org/wiki/Create,_read,_update_and_delete">CRUDL</a> application. You might be asking what the “L” is for at the end of “CRUDL.” It stands for listing, or pagination, with which JHipster can help you.</li><li>You have a large team of developers, with varying levels of expertise, and you need help standardizing development norms</li></ul><p>In our particular case, we faced all of those challenges. We also had a common problem that JHipster cannot solve that people performing migrations will: how do you extract every business rule and other pieces of functionality from the existing legacy system?</p><p>There is no great answer to this question, unfortunately. There are tools out there that attempt to auto-migrate existing COBOL code to Java or another target language. That can be fraught with its own set of <a href="https://compuware.com/converting-cobol-to-java/">difficulties</a>. If you’ve ever worked with any code generation tool based on an existing source (I’m looking at you, WSDL), it can be a messy and confusing experience.</p><p>Another way of doing this is to hire developers who know COBOL and Java to perform the migration. As the subset of developers who know COBOL and both a modern programming language, this is likely a small and expensive subset. I feel as time goes on and companies realize the need to migrate the competition for those developers will be very high and the reality is that you may not end up finding those people.</p><p>Our approach was impressive given the following circumstances:</p><ul><li>Huge United States Federal Government agency</li><li>A ratio of senior to junior developers of roughly 1:7</li><li>A fixed time deliverable</li><li>Little subject matter expertise from the development team on the business domain</li><li>Security clearances needed for the entire team</li><li>Because of in-process security clearances, no access to “real” or production data</li></ul><p>The approach we used involved:</p><ul><li>Understanding what technology was available to us and what we could use within this Federal Agency’s IT space</li><li>Interactive modeling with the current application Subject Matter Experts (SMEs)</li><li>Utilizing the out-of-the-box features of the JHipster application generator as often as possible to accelerate development</li></ul><h3>Understanding what technology was available to us and what we could use within this Federal Agency’s IT space</h3><p>One major constraint we had was being able to develop and deploy the application given the options we had within the Federal Government. For example, there were many databases we could have chosen from, and if you change which one you use, there are changes that do need to be made to the application even if you use external configuration (YAML files with Spring) or an ORM like Hibernate with JPA. You’ll find things like column name character limits that work in some databases but not in Oracle.</p><p>Another constraint was the chosen application deployment platform. We used OpenShift which was a great learning experience and a pretty cool tool to use. JHipster has a way to containerize applications to make it easy to deploy to Kubernetes, OpenShift, or any other container management solution.</p><p>A significant curveball was how we were to display the front-end. We would like to have used a modern UI with a modern CSS framework like Bootstrap, but due to the lack of training resources, we were to make the front-end look like and behave exactly like the existing “green screen” application. Emulating a terminal application, on the web, in the year 2018. Thankfully the flexibility and component reuse of Angular made this relatively easy.</p><p>One tool we used at the beginning of the process to build the application data model was <a href="https://start.jhipster.tech/jdl-studio/">JHipster Domain Language Studio</a>. We didn’t have access to fancy UML or other tools to develop our data model. Furthermore, this was not as simple as looking at existing app code, a database, or an existing data model diagram. The closest we got to that was a <a href="https://en.wikipedia.org/wiki/Data_structure_diagram#Bachman_diagram">Bachman diagram</a>. That helped but was not enough on its own to assist us. We opened up JDL Studio and projected it and quickly started iterating on the data model based on what we knew about the metadata surrounding the Bachman diagram, the SMEs, and knowledge about how modern relational databases work.</p><p>In my experience, this was a great way to “fail fast” and quickly build consensus. The ability for JDL Studio to let us make live changes and see it on the screen saved much time and encouraged us to play around with the data model. It’s important to be flexible early on because while you’re not locked in, it can be more time consuming to make significant structural changes to your data model once it’s generated.</p><p>That’s another significant benefit of modeling in JDL Studio: the resultant artifact can be used to implement your entity data model in the application! Collaborative development is an enormous timesaver, and you can generate an app off the bat with this to see visually if the data model makes sense, especially with relationships.</p><h3>Utilizing the out-of-the-box features of the JHipster application generator as often as possible to accelerate development</h3><p>The JHipster application generator is one of the ways we were able to quickly bring a mostly junior staff of developers up to speed on application development. I caveat this by addressing a common misconception about JHipster: it will not magically turn new or junior developers into seniors overnight. It doesn’t replace the knowledge that years of development and running into issues give you. Specifically:</p><ul><li>Clean code: JHipster strives to start that way by generating clean code, but developers have to maintain that for new functionality developed</li><li>Java enterprise concepts: small CRUD apps are a different ballgame from the needs of enterprise-size companies.</li><li>The Spring Framework: this is one of my favorite libraries I’ve ever worked with, but for new and junior developers this is a <em>daunting</em> hill to climb to learn the concepts involved</li><li>Angular: I’ve done most of my development in the days of multi-page apps (as opposed to today’s single-page-apps). Angular is probably one of the best SPA frameworks out there, but it has been described as “enterprise-y” and does take some studying to learn</li></ul><p>That said if you don’t have a lot of mentors or seniors on your project you can’t get a better teacher than JHipster. As long as your developers are willing to learn, they can see enterprise software development best practices through that generated JHipster application.</p><p>Lastly, JHipster incorporates the latest technologies into the generator, they are available for use by your team. Microservices were included within the past few years, and we were able to use the generator to make an application that utilized a microservices architecture. You have the choice to use a monolithic architecture (which has its merits), but due to our application’s size, complexity, and deployment environment, we went with a microservices architecture.</p><h3>Results</h3><p>I wanted to set the table that we used the Agile methodology with Scrum. We utilized all of the usual ceremonies that come with Scrum and had two-week sprints. The Scrum process gave us regular touchpoints with our customer to make sure that we were developing the applications to behave as close to the existing application as possible and that the behavior met business needs as close as possible.</p><p>We were able to develop 90% of the application within the tight timelines and roll that out to a subset of all production users to test.</p><p>Without JHipster and all of its components, it would have been a much more difficult task to achieve. It’s not a silver bullet, for sure, but it is a powerful tool that enabled us to travel farther than I would have thought given the circumstances.</p><p><em>Originally published at </em><a href="https://blog.ippon.tech/legacy-mainframe-migration-to-jhipster/"><em>https://blog.ippon.tech/legacy-mainframe-migration-to-jhipster/</em></a><em> on November 28, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cc40120b414" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>