Posts

Showing posts from February, 2019

SOA: Compensation Handling vs WS-AT

Image
In SOA world there are multiple ways to handle failures within the services developed. Many projects makes usage of SOA / BPEL services which invokes other SOA / OSB services which are deployed in a different domain s. The most common one I see are has been the Compensation Handler For those not familair with it, the Compensation Handler is an alternative flow to be executed in case of Error or issues in your SOA Composites. Another alternative (when services are out of your domain) is the usage of WS-AT (Web Service Atomic Transactions). To use Global Transactions within Web Services you need to know if the services you are calling are supporitng it or not. More information of WS-AT (and how to enable it) is in: https://docs.oracle.com/en/middleware/ws-manager/12.2.1.3/wscpt/introduction-using-web-services-atomic-transactions.html#GUID-8D2891C8-641B-4A1A-910E-77946380A31F What is exactly WS-AT I am not going to repeat the documentation and explain it with my own w

OJET: Internationalization - Localization

Image
In this post I will bring my thoughs and first experience by making an Oracle JET Application ready for Multilanguage. Probably, not the best practices yet, but it is an initial step My application (ojet-internationalization) can be found in: https://github.com/DanielMerchan/ojet-examples How to make your Oracle JET Application ready for Multilanguage? This is well explained in the official documentation: https://docs.oracle.com/en/middleware/jet/6.1/develop/internationalizing-and-localizing-applications.html  But, in this post I will bring what I did and my feelings. I created a Factory utility Module called Languages.js in js/utils . This factory contains an array of the supported languages in Oracle JET and some wrapper methods I used / un-used meanwhile my app was changing. setLocale: (newLocale, langCallback) => { console.log(`Old locale: ${Languages.getCurrentLocale()} and New Locale: ${newLocale}`); oj.Config.setLocale(newLocale, () => {

My journery from Oracle ADF to Oracle JET

Image
Hi, The following posts will be completily focus on my experience from a typical Java EE - JSF - Oracle ADF Architect / Developer learning and acquiring the knowledge of the Front-End technologies. I will focus in my journey about solving typical Enteprise Application problems in Oracle JET and comparing them with Oracle ADF. There is lot of information of Oracle JET such as the Cookbook , Official Documentation , The Community Forum and other bloggers. First of all let's introduce a bit more of Oracle JET... What is Oracle JET? Oracle JET (JavaScript Extension Toolkit) is a Toolkit or Framework which uses known free third-party JavaScript libraries + a set of UI components developed by Oracle to allow front-end developers to build Web Applications or Hybrid Mobile Applications. Should I stop using Oracle ADF and move to Oracle JET? My answer is NO. Depends of the use case and also the skills of the developers. We need to remember that Oracle ADF is a Framewo

Do not try to make a fish to fly

Hi all, Typical sentence I heard many times... : "What???? XXX/€ day for a Java Programmer? Are you crazy? I can have 3 for the same price!". Yes, there are... Programmers and Programmers. Usually an advocate programmer who enjoys programming can: Deliver much quicker. Deliver robust code with less bugs. Deliver maintainable code with quality. Deliver on time. <- Wow.... maybe less cost? Less angry fights? So...: Do not force the fish to fly : Do not force your good programmers to grow to something they do not like. If a techie likes programming, let it there!. If you bought a Renault then do not complain it does not run as a Ferrari . Let's teach  Customers the value of good programmers and to why to pay for them. It is not the same a Java Programmer Junior than a 12+ Years Java Programmer who also contributes online. Yes... I am a Programmer and I hate how IT is currently evolving to "reduce costs" and programming slavery.

2019: Oracle JET, Oracle ADF, Jakarta EE and more

This 2019 I will focus on Oracle JET, Jakarta EE, MicroProfile and other technolgies Java Based also. New posts are coming soon! Stay tunned.