Microservices, Pivotal CF, and Spring Cloud combine to create an operationalized architecture that enables enterprises to continuously deliver value at scale through rapid, iterative development, and to meet the needs of a mobile-first world.
In this article explained how errors are handled when using the messaging system with Spring Integration and how to handle route and redirect to specific channel.
I had the pleasure of delivering the closing keynote at the DevDay 2014 conference in Krakow, Poland last month. It's a one day event, with a bias towards the .NET platform, and one of my favourite conferences from this year. Beautiful city, fantastic crowd and top-notch hospitality.
This article explains how I built a REST API using JAXB, Spring Boot, Spring Data and Liquibase. It was relatively easy to build, but required some tricks to access it with Spring's RestTemplate. Figuring out how to customize JAXB's code generation was also essential to make things work.
Oracle SOA Suite provides a subprocess extension to BPEL. A subprocess is a fragment of BPEL code that can be reused within a particular processor by separate processes. BPEL process code reusability, which reduces the need to create the same activities multiple times to perform the same tasks. Subprocesses are only supported with BPEL version 2.0. There is no support with BPEL version 1.1. Subprocesses cannot be shared between multiple composites.
In Servlet, you may get the Session object by "httpServletRequest.getSession(true)". The "true" flag will create the session if it doesn't already exist, else it gets the existing session.
ORM is a by and large proven technique that has been around for a long time now (believe it or not TopLink was created in the early nineties for Smalltalk and then ported to Java).
SAML, OpenID, OpenID Connect, WS-Federation all support identity federation - cross domain authentication. But, can we always expect all the parties in a federation use case to support SAML, OpenID or OpenID Connect ? Most of the federation systems we see today are in silos.
In the first two blogs in this series, we tackled the issue of how REST is a solution to a connected enterprise followed by discussions on What is REST. Then we discussed why use REST for database access. This article discusses how to build the REST infrastructure and what are the requirements of solutions from vendors.
There was some code that I needed to test that ultimately called into the database. Since this is a UNIT test and all I was interested in testing was one specific function and the state of one specific field in another object, I had neither the need, nor the desire, to let that call to the database happen.
Remember 10 years ago when we had to order hardware 6 months in advance? At that time, all webapps were deployed on the same application server – which weren’t always clustered.
As software becomes the force driving industries of all types and sizes, the nature of app development and management is changing. Gone are the days of centralized control via complex, interdependent, hierarchical architectures. Welcome to small pieces, loosely joined via the microservice architecture.
In this blog post, let see how we can implement XACML to authorize the APIs. I wish you are familiar with OAuth 2.0 and lets directly go through the diagram. So, if we want to provide fine-grained authorization for API, The best way is to use XACML based Authorization approach.
Make sure you didn't miss anything with this list of the Best of the Week in the Enterprise Integration Zone (October 17 - October 24). This week's topics include error out testing with Gradle, web services with Apache Camel, developing Java EE 7 apps, Spring Boot conventions, and top 10 traits of an architect.
I wanted to find an easy way to stream a Map in Java 8. Guess what? There isn’t!
From time to time I like to test my bundles in a real environment. Because of that the plugin is a great way to save the steps of unzipping a new Karaf, adding my feature and installing it. The plugin basically serves my laziness but before the lazy part starts we have to do some work to get the plugin running.
A connected enterprise offers more opportunities, along with new challenges for IT leaders. On the one hand, it enables organizations to grow the business by taking part in the growing mobile, cloud and social networking revolution by reducing transaction costs with direct customer engagement.
Companies who identify and expose core capabilities as well-defined, well-managed APIs are essentially making their business “programmable.” For these businesses, APIs act as an innovation layer that allows them to quickly capitalize on new market opportunities and engage with their customers.
The Java Extension Mechanism is described in the Java Tutorial as a "standard, scalable way to make custom APIs available to all applications running on the Java platform.
If we write our build code in a file build.gradle then we don't have to specify the build filename when we run tasks.
Here is the slide deck to my JavaOne 2014, San Francisco, talk Developing Java EE 7 Applications with Scala (CON2644)
Some of you may be aware that MVC 1.0 was launched as JSR 371. Targeted for Java EE 8 the goal of the JSR is to provide a standards based action-oriented web framework for Java EE.
This article represents my opinion on top 10 traits of a software architect. Recently, I came across a need of my fellow colleague who asked me to take a shot at defining, what would it take for someone to become an architect. The below could be applied to architect in any technologies.
Open API represent the leading edge of a new business model, providing innovative ways for companies to expand brand value and routes to market, and create new value chains for intellectual property. In the past, SOA strategies mostly targeted internal users. Open APIs target mostly external partners.
I love the fact that JDK comes with a ScriptEngine. It's so flexible when you want to evaluate and troubleshoot your application that's already deployed in an server environment.