Last week we met with Chris Tonas, Vice President of Mobility and Application Development Tools at Oracle, to hear his take on the latest in the world of Java tooling and development frameworks.

Q: Can you tell us a little bit about your role at Oracle as it relates to development tools?
A: I lead the organization that is working on Oracle’s software development tools and frameworks, specifically, the teams that build our offerings for Java developers – whether in NetBeans, Eclipse or JDeveloper. Our team also builds the tools and frameworks that are used by developers working with Oracle’s cloud and mobile platforms.

Q: This week saw the release of JDK8 and NetBeans 8 along with it. How do you view this release?
A: The release of JDK 8 and NetBeans 8 this week represents a big step forward for both Oracle and the Java Community. A lot of hard work and collaboration went into this milestone and I’d like to take a moment to thank everyone who contributed to this achievement.

Q: With the new NetBeans 8.0 out, what are the plans for NetBeans going forward?
A: In the short term, an update release of NetBeans 8 is underway to align with Java ME 8. Additional NetBeans 8 releases that target specific bugs are anticipated to be released after that. Longer term, Oracle is committed to the continued success of both Java and NetBeans. Work on JDK 9 is now underway and we’re planning a NetBeans 9 release to go along with it, as usual.

dukeQ: As you mentioned Oracle supports more than just the NetBeans IDE. What’s the thinking behind that?
A: Oracle recognizes that developer tools aren’t a one-size-fits-all proposition. Oracle is a significant contributor to the Eclipse project and we are continuing to extend the capabilities of our Eclipse-based solutions as well. We offer JDeveloper for those who want the tightest alignment with the Oracle Fusion Middleware stack. In addition, we recognize that many JavaScript developers want to use light weight tools, and we are planning to address those needs as well.

Q: What are some of the key trends you see in the software development space right now?
A: It’s clear that several significant trends are shaping software development and tools. Oracle is at the forefront of these changes and a leader in almost every aspect. We see three main changes happening right now: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Introduction

When building ADF Mobile applications that go beyond displaying read-only data, you quickly find yourself programming Java code. If you want to use the on-device SQLite database to store data locally, for example to cache data or to enable working in off-line mode, the amount of code you have to write quickly increases, and while programming you probably realize that you are repeating the same coding patterns for each web service that you want to call to read or write data. This article introduces the second release a the ADF Mobile Persistence extension created by the A-team which avoids most of these coding patterns by using highly generic Java code driven by metadata. In addition, the few Java classes that are still needed are auto-generated for you, and a default mobile user interface can also be generated. This extension takes ADF Mobile development to the next level, effectively allowing you to create within a few minutes a fully functional ADF Mobile application that reads and writes data using a remote web service. In addition all data is stored locally on the device in the SQLite database, allowing you to use the application in offline mode. Basic data synchronization functionality is also provided to process transactions made in offline mode. This article explains how to use the three main wizards from this extension that do all the “magic”. At the bottom of this article, you can find a link to download the extension and links to some videos that illustrate the development process.

Main Article
In the first part of this article, Going Mobile with ADF – Implementing Data Caching and Syncing for Working Offline Part I, written in October 2013, we described the architecture and programming effort required to implement data caching and data syncing functionality to your mobile application.

We also introduced the first release of the A-Team ADF Mobile Persistence extension in this article. Since then we have enhanced this extension significantly by adding four powerful design-time wizards. After installing the new version of this extension, you will notice a new category “ADF Mobile” in the New gallery under Business Tier. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

ADF Code Corner is a blog style column that provides hints, tips and coding examples for ADF developers. The content on this page ranges from easy to complex and often contain advanced programming concepts. ADF Code Corner Logo
The content on this page is inspired by questions asked on the Oracle JDeveloper customer forum on OTN.

Disclaimer: All samples are provided as is with no guarantee for future upgrades or error correction. No support can be given through Oracle customer support.
Please post questions or report problems related to the samples in this series on the OTN forum for Oracle JDeveloper: here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Technorati Tags:

Wish you all a happy and peaceful Easter ;-)

photo 1 (2)

We have a special Easter egg for you – our free WebLogic Virtual Developer Day

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

The WebLogic Diagnostic Framework (WLDF) is an often overlooked feature of WebLogic which can be very powerful when configured properly. If it’s so great, then why aren’t more people using it?

I can’t give a firm answer to that, but I suspect that the answer is likely because WLDF is so large, so comprehensive, and so terrifying to the uninitiated! There are a lot of concepts to get your head round before you can make good use of it, such that people frequently don’t bother. After all, where do you start with something so big?
In this blog, I hope to remedy that feeling a little, by pointing out some of the low-hanging fruit so you can get to know enough of the basics that you’ll be able to make use of some of the features, while having enough of a knowledge of the framework to take things further yourself.

What can I get out of it?
WLDF, according to the documentation, lets you “create, collect, analyse, archive and access diagnostic data generated by a running server and the applications deployed within its containers.”

To get all that functionality into WebLogic, Oracle has implemented lots of different components as part of the WLDF service including:

Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Adam Bien: What is the relation between C2B2 and GlassFish?
Steve Millidge: We’ve had a long history helping customers to use GlassFish in production environments. In fact my first ever conference speech in California was at Sun’s CommunityOne conference on Monitoring and Tuning GlassFish back in 2009, so we go back a long way. We were Sun partners back then, promoting GlassFish, and our now Oracle Gold Partners. We have a number of customers we support on GlassFish and we also run the London GlassFish User group. With the announcement from Oracle we are now gearing up our effort to build up the community of contributors on the core GlassFish source to ensure a good response when bugs and patches are needed.

AB: What is C2B2′s Commercial GlassFish support? What will a customer get for the money?
SM: We provide 24/7 operational support to customers deploying GlassFish in production.  Read the complete article here.

Expert GlassFish Support

  • Do you run mission critical Applications on GlassFish?
  • Do you wish there was somebody to turn to if you had GlassFish performance, GlassFish scalability or GlassFish availability problems?
  • Do you find it difficult to recruit GlassFish operations specialists with deep knowledge?

C2B2 provide expert GlassFish support services 24/7 to customers running mission critical GlassFish applications. Our GlassFish engineers provide 2nd and 3rd line expertise as backup to your GlassFish operations team. Our expert GlassFish consultants can login to your servers and assist with triage, remedial action and root cause analysis of GlassFish problems rapidly reducing diagnosis and fix times.

When combined with a support subscription from Oracle we can liaise with Oracle to isolate test cases and get a GlassFish patch if that is the root cause. We can also liaise with your GlassFish development teams to identify application problems and suggest application fixes to increase GlassFish availability, GlassFish scalability and GlassFish performance. Get more support details here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Every WebLogic Server installation comes with SSL support. But for some reason many installations get this interesting error message at startup:

Ignoring the trusted CA certificate “CN=Entrust Root Certification Authority – G2,OU=(c) 2009 Entrust, Inc. – for authorized use only,OU=See http://www.entrust.net/legal-terms,O=Entrust, Inc.,C=US”. The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.

This looks odd and many people ignore these error messages. However, if your strategy is to show real error messages only, you are quickly looking for a solution. The Internet is full of possible solutions. Some recommend to remove the certificates from the JDK trust store, some recommend to use a different trust store. But is this the best solution and what are the side effects?

Main Article

Our way to the solution starts by understanding the error message. Here it is again.

Ignoring the trusted CA certificate “CN=Entrust Root Certification Authority – G2,OU=(c) 2009 Entrust, Inc. – for authorized use only,OU=See http://www.entrust.net/legal-terms,O=Entrust, Inc.,C=US”. The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.

The first sentence is the result while the second sentence explains the reason. Looking at the reason, we quickly find the “certificate parsing exception“. But what does “PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11” tell us?

  • PKIX stands for the Public Key Infrastructure (X.509). X.509 is the standard used to export, exchange, and import SSL certificates.
  • OID stands for the Object Identifier. Object Identifiers are globally unique and organized in a hierarchy. This hierarchy is maintained by the standards bodies in every country. Every standards body is responsible for a specific branch and can define and assign entries into the hierarchy.

With this background information we can lookup the number 1.2.840.113549.1.1.11 in the OID Repository (see References for the link) and get this result “iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1) sha256WithRSAEncryption(11)“.

 

Combining the certificate information in the first sentence and the information from the OID lookup we have the following result:

The certificate from CN=Entrust Root Certification Authority – G2,OU=(c) 2009 Entrust, Inc. – for authorized use only,OU=See http://www.entrust.net/legal-terms,O=Entrust, Inc.,C=US uses SHA256WithRSAEncryption which is not supported by the JDK!

You will probably see more messages for similar or different encryption algorithms used in other certificates.

The Root Cause

These factors cause this (and similar) error messages:

  • By default the Java Cryptography Extension (JCE), that comes with the JDK, implements only limited strength jurisdication policy files.
  • The default trust store of the JDK that holds this and other certificates can be found in JAVA_HOME/jre/lib/security/cacerts.
  • WebLogic Server versions before 12c come with the Certicomm JSSE implementation. The Certicomm implementation will not be updated because the required JDK already comes with the standard SunJSSE implementation.

Read the complete article here.

 

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki