|By Laurence Moroney||
|August 12, 2005 03:00 PM EDT||
For many businesses, the Web storefront is the only point of contact for customers, and for others it's a major one. As such, it's important that this architecture meets the needs of your business, not just from a technology point of view but from a strategic one. No business likes to have an important asset be vulnerable to the whims of a particular vendor, and this is particularly true of a technology asset. As you probably know in IT there are two broad options that can implement your business needs: the Microsoft family of Windows and .NET products, and the open standards community.
The Microsoft option is compelling given the Visual Studio.NET development tools that are so incredibly productive in implementing software - and this is key in the success of the .NET framework. However, if you use Microsoft you're locked into a single vendor and potentially exposed to changes in its strategy or technology. If your inclination is to migrate to architectures that are no longer single vendor-dependent then J2EE provides a runtime environment that's generally considered superior to .NET insofar as scalability, security, manageability, and flexibility are concerned, and you have a choice of operating systems on which to run including Windows, Unix, Solaris, and of course Linux.
If you've ever considered taking your existing .NET server code and migrating it to run on J2EE and Linux or any other operating system, you would probably have deduced or heard that despite the surface similarities between C# and Java, the differences between the underlying class libraries and runtimes will make it unfeasible to migrate and easier to re-architect from the ground up. However, using the right combination of best practices and a tool from Mainsoft called Visual MainWin for J2EE, you'll find out that it isn't just possible to do this - but in some cases it's actually easy. By following these best practices for application design and using this tool for application migration, you'll find that the process will be orders of magnitude faster than trying to port by hand.
The Price of High Productivity
The Visual Studio.NET development environment is a very impressive tool that empowers developers to build applications quickly. It comes bundled with many controls that let you do drag-and-drop development, saving you from writing many hundreds of lines of code. However this productivity leads a developer to write monolithic applications.
Take the case of a simple Web app that retrieves data from a database, enriches the data through analytics, and then presents the data in a Web-based user interface. Using the Visual Studio.NET IDE you can easily create a Web application with an ASPX Web Form for the user interface. On this form you drag-and-drop controls that manage the connection to the database, generate data classes that represent the data for you, bind the visual controls to the data, and off you go. In some cases, you can build the application without writing any code whatsoever.
The cost of such high productivity is that the entire application is effectively a single tier. There's no separation of the retrieval, representation, logic, and presentation tiers; they're all blended into a single application domain in a 'Solution Workspace' in the Visual Studio.NET IDE.
It's important to note that Visual Studio.NET doesn't force this on you - there's nothing to stop you from building an application in separate tiers, but, it's a typical scenario that the IDE is designed to handle and is optimized for.
In trying to port an application like this to Java to run on the J2EE framework, you'll face a number of problems. Much of the C# code that's been generated for you by the IDE uses the .NET class libraries, and these libraries have a different structure than the corresponding Java ones, which makes the code that uses them impossible to port without rewriting. In many cases, C# supports functions that Java doesn't, and vice-versa, so you can end up either having to rewrite your code in the first case, or having code that isn't optimized for Java in the latter. In addition many user controls, or user interface controls that make the high-productivity, low-coding environment possible, don't have source code available for you to translate, so you'll have to rewrite them from scratch.
It makes for a difficult and expensive porting proposition.
If you have a monolithic .NET-based application there are a number of best practices in architecting your .NET application that will make the porting process easier and let the Java version of your application use your mainframe's full J2EE capabilities. Depending on your requirements, you could simply use the Visual MainWin for J2EE tool to port it as-is, getting yourself up and running quickly. But before jumping into that, it's worth looking at the best practices that will help you get the most out of the J2EE platform after migration. Then you can decide.
Best Practice 1: Design as an N-Tier Loosely Coupled Architecture
The same application can be re architected to be loosely coupled and operate in tiers. You can see a sample high-level architecture in Figure 1. The overall application has been split into four application domains, each one being a tier in the architecture. These are:
- Data Tier: This is where the data is stored usually in a relational database, but it can also be in a flat file format, or a service behind a HTTP, or other server that delivers data to you. When implementing your database behind a data retrieval tier, you're not limited to Microsoft SQL Server, and can use various Open Source or low-cost databases such as PostgreSQL or MySQL.
- Data Retrieval Tier: This is a tier that understands the Data Domain and how to access data on it. So if for example the Data Domain contains a DB2 database, the data retrieval tier has JDBC connectors for DB2 and logic that wraps these connectors that your application can use. This tier has knowledge of the specific queries or stored procedures that your application needs, and can execute them on the data store.
- Data Enrichment and Business Logic Tier: This tier gathers information from one or more data retrieval applications and applies business logic to this data. The business logic can take many forms including analytics, data enrichment and data aggregation as shown in the diagram.
- Presentation Tier: This tier contains the logic to present a visual interface to your users and all logic required to pass their input to the business logic tier as well as return information to them from the business logic tier.
Best Practice 2: Use Web Services in the Middleware
The data retrieval tier and the business logic tier make up the middleware of the system. They're the hub around which the system runs and the important value-added middle ground between the user interface and the underlying data. If they could be implemented as Web Services, you could buy a lot of flexibility for your port.
This is because a Web Service isn't a physical implementation of logic. It's an abstract entity that defines the interface to the underlying physical implementation. This interface is defined using an XML-based language called WSDL (Web Services Description Language), an open standard supported by all vendors that lets you communicate with the underlying functionality using a document constructed out of another standard XML-based language called SOAP (Simple Object Access Protocol).
The 19th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Digital Transformation, Microservices and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportuni...
Jul. 28, 2016 03:15 AM EDT Reads: 2,634
Large scale deployments present unique planning challenges, system commissioning hurdles between IT and OT and demand careful system hand-off orchestration. In his session at @ThingsExpo, Jeff Smith, Senior Director and a founding member of Incenergy, will discuss some of the key tactics to ensure delivery success based on his experience of the last two years deploying Industrial IoT systems across four continents.
Jul. 28, 2016 03:00 AM EDT Reads: 1,616
The Internet of Things will challenge the status quo of how IT and development organizations operate. Or will it? Certainly the fog layer of IoT requires special insights about data ontology, security and transactional integrity. But the developmental challenges are the same: People, Process and Platform. In his session at @ThingsExpo, Craig Sproule, CEO of Metavine, demonstrated how to move beyond today's coding paradigm and shared the must-have mindsets for removing complexity from the develo...
Jul. 28, 2016 02:30 AM EDT Reads: 1,538
SYS-CON Events announced today that MangoApps will exhibit at the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. MangoApps provides modern company intranets and team collaboration software, allowing workers to stay connected and productive from anywhere in the world and from any device.
Jul. 28, 2016 02:15 AM EDT Reads: 1,400
IoT is rapidly changing the way enterprises are using data to improve business decision-making. In order to derive business value, organizations must unlock insights from the data gathered and then act on these. In their session at @ThingsExpo, Eric Hoffman, Vice President at EastBanc Technologies, and Peter Shashkin, Head of Development Department at EastBanc Technologies, discussed how one organization leveraged IoT, cloud technology and data analysis to improve customer experiences and effi...
Jul. 28, 2016 02:00 AM EDT Reads: 2,052
The IETF draft standard for M2M certificates is a security solution specifically designed for the demanding needs of IoT/M2M applications. In his session at @ThingsExpo, Brian Romansky, VP of Strategic Technology at TrustPoint Innovation, explained how M2M certificates can efficiently enable confidentiality, integrity, and authenticity on highly constrained devices.
Jul. 28, 2016 01:45 AM EDT Reads: 1,104
In today's uber-connected, consumer-centric, cloud-enabled, insights-driven, multi-device, global world, the focus of solutions has shifted from the product that is sold to the person who is buying the product or service. Enterprises have rebranded their business around the consumers of their products. The buyer is the person and the focus is not on the offering. The person is connected through multiple devices, wearables, at home, on the road, and in multiple locations, sometimes simultaneously...
Jul. 28, 2016 01:15 AM EDT Reads: 842
“delaPlex Software provides software outsourcing services. We have a hybrid model where we have onshore developers and project managers that we can place anywhere in the U.S. or in Europe,” explained Manish Sachdeva, CEO at delaPlex Software, in this SYS-CON.tv interview at @ThingsExpo, held June 7-9, 2016, at the Javits Center in New York City, NY.
Jul. 28, 2016 01:00 AM EDT Reads: 1,619
"We've discovered that after shows 80% if leads that people get, 80% of the conversations end up on the show floor, meaning people forget about it, people forget who they talk to, people forget that there are actual business opportunities to be had here so we try to help out and keep the conversations going," explained Jeff Mesnik, Founder and President of ContentMX, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
Jul. 27, 2016 10:30 PM EDT Reads: 1,410
Internet of @ThingsExpo, taking place November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with the 19th International Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world and ThingsExpo Silicon Valley Call for Papers is now open.
Jul. 27, 2016 10:00 PM EDT Reads: 2,669
The IoT is changing the way enterprises conduct business. In his session at @ThingsExpo, Eric Hoffman, Vice President at EastBanc Technologies, discussed how businesses can gain an edge over competitors by empowering consumers to take control through IoT. He cited examples such as a Washington, D.C.-based sports club that leveraged IoT and the cloud to develop a comprehensive booking system. He also highlighted how IoT can revitalize and restore outdated business models, making them profitable ...
Jul. 27, 2016 09:45 PM EDT Reads: 2,007
"delaPlex is a software development company. We do team-based outsourcing development," explained Mark Rivers, COO and Co-founder of delaPlex Software, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
Jul. 27, 2016 08:00 PM EDT Reads: 2,037
We all know the latest numbers: Gartner, Inc. forecasts that 6.4 billion connected things will be in use worldwide in 2016, up 30 percent from last year, and will reach 20.8 billion by 2020. We're rapidly approaching a data production of 40 zettabytes a day – more than we can every physically store, and exabytes and yottabytes are just around the corner. For many that’s a good sign, as data has been proven to equal money – IF it’s ingested, integrated, and analyzed fast enough. Without real-ti...
Jul. 27, 2016 07:30 PM EDT Reads: 1,116
"There's a growing demand from users for things to be faster. When you think about all the transactions or interactions users will have with your product and everything that is between those transactions and interactions - what drives us at Catchpoint Systems is the idea to measure that and to analyze it," explained Leo Vasiliou, Director of Web Performance Engineering at Catchpoint Systems, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York Ci...
Jul. 27, 2016 06:45 PM EDT Reads: 2,075
I wanted to gather all of my Internet of Things (IOT) blogs into a single blog (that I could later use with my University of San Francisco (USF) Big Data “MBA” course). However as I started to pull these blogs together, I realized that my IOT discussion lacked a vision; it lacked an end point towards which an organization could drive their IOT envisioning, proof of value, app dev, data engineering and data science efforts. And I think that the IOT end point is really quite simple…
Jul. 27, 2016 06:45 PM EDT Reads: 1,188
A critical component of any IoT project is what to do with all the data being generated. This data needs to be captured, processed, structured, and stored in a way to facilitate different kinds of queries. Traditional data warehouse and analytical systems are mature technologies that can be used to handle certain kinds of queries, but they are not always well suited to many problems, particularly when there is a need for real-time insights.
Jul. 27, 2016 04:30 PM EDT Reads: 1,883
Big Data, cloud, analytics, contextual information, wearable tech, sensors, mobility, and WebRTC: together, these advances have created a perfect storm of technologies that are disrupting and transforming classic communications models and ecosystems. In his session at @ThingsExpo, Erik Perotti, Senior Manager of New Ventures on Plantronics’ Innovation team, provided an overview of this technological shift, including associated business and consumer communications impacts, and opportunities it ...
Jul. 27, 2016 04:30 PM EDT Reads: 222
You think you know what’s in your data. But do you? Most organizations are now aware of the business intelligence represented by their data. Data science stands to take this to a level you never thought of – literally. The techniques of data science, when used with the capabilities of Big Data technologies, can make connections you had not yet imagined, helping you discover new insights and ask new questions of your data. In his session at @ThingsExpo, Sarbjit Sarkaria, data science team lead ...
Jul. 27, 2016 04:15 PM EDT Reads: 1,150
Extracting business value from Internet of Things (IoT) data doesn’t happen overnight. There are several requirements that must be satisfied, including IoT device enablement, data analysis, real-time detection of complex events and automated orchestration of actions. Unfortunately, too many companies fall short in achieving their business goals by implementing incomplete solutions or not focusing on tangible use cases. In his general session at @ThingsExpo, Dave McCarthy, Director of Products...
Jul. 27, 2016 04:00 PM EDT Reads: 1,745
Is your aging software platform suffering from technical debt while the market changes and demands new solutions at a faster clip? It’s a bold move, but you might consider walking away from your core platform and starting fresh. ReadyTalk did exactly that. In his General Session at 19th Cloud Expo, Michael Chambliss, Head of Engineering at ReadyTalk, will discuss why and how ReadyTalk diverted from healthy revenue and over a decade of audio conferencing product development to start an innovati...
Jul. 27, 2016 04:00 PM EDT Reads: 1,073