Quantcast
Channel: Oracle Bloggers
Viewing all 19780 articles
Browse latest View live

Catch the Early Bird Rate for Oracle OpenWorld 2016

$
0
0

Oracle OpenWorld may be months away, but the planning is in full swing. While we choose the content, the networking experiences, and the entertainment for the 2016 event, we encourage you to take advantage of our discounted registration rate. By registering with Early Bird, not only will you save US$500 off the onsite conference price, you'll get an pick of a nearby conference hotel. Did you know that in 2015 Oracle OpenWorld attendees booked 113,000 hotels in the San Francisco Bay Area? Talk about painting the town red!


We're so excited to share all the exciting plans for Oracle OpenWorld 2016. This year, we're promising even more learning, more networking, and more fun. To be notified of the latest and greatest Oracle OpenWorld news, be sure to RSVP to the Facebook Event. And, of course, follow the conversation on Twitter with the official event hashtag #oow16. 

Happy Registering,
The Oracle OpenWorld Team 


IoT Webcast May 26th 2016

$
0
0

imageOver the past year billions more smart devices have been deployed by Enterprises as they begin the journey to transform themselves. Knowing where to start is one of the biggest challenges faced by any Enterprise. That’s why we have created our unique Oracle IoT Discovery Workshop which is helping Enterprises, like yours, to not only formulate effective IoT strategies but then bring them to life.
Join us at our exclusive briefing webcast that will provide detailed information about the complimentary Oracle IoT Discovery Workshop offer.

This webcast will provide insight into our complimentary workshop offering:

  1. Why should your company invest in IoT?
  2. How do you identify prioritized areas of investment?
  3. What are the key priorities and use cases that help deliver quick ROI?
  4. How can this plan become reality?

Schedule: May 26th 2016 17.00 CET

For details please visit the registration page here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInimage[7][2][2][2]Facebookclip_image002[8][4][2][2][2]Wiki

What's New With Oracle Certification - May 2016

$
0
0


Stay up to date with the Oracle Certification Program, view exams released into production, get information on current promotions or learn about new program announcements below.


Make the Investment in Yourself!

Learn more about the Oracle Certification Program core and specialty tracks, skills, and job roles in this video overview.


Validate Your Skills and Expertise - NEW Exams


Digital Badge and Your Next Certification

Coming soon in your Acclaim digital badge profile is Next Steps and Recommendations. You’ll see the next level of certification and recommendations to achieve.


Test Your Oracle Database 12c skills.

In Oracle Magazine May-June 2016 issue, Inside OCP, test your depth of knowledge of SQL and how to use it with Oracle Database 12c. See if you’re ready to become an Oracle Database 12c SQL Certified Associate.


Special Certification Offer when you register for Oracle OpenWorld and JavaOne, San Francisco, September 18-22, 2016.

Get an Oracle Certification Exam Voucher for Only $100. This exam voucher can be redeemed for any Oracle Certification exam delivered by Oracle’s global testing partner, Pearson VUE. Oracle Certification exam vouchers are valid for six months from the month of purchase.

To take advantage of this offer, simply "Add-on" a discounted Oracle Certification Voucher to your conference registration.


Upcoming Retirements

Scheduled to Retire on August 31, 2016:

 Retiring Credentials


Learn more about Oracle Certification today!  

FRIDAY SPOTLIGHT: Oracle Linux 6.8 is now available

$
0
0

On Monday evening, we released Oracle Linux 6.8 to the Unbreakable Linux Network.  This release is the first ISO to incorporate Unbreakable Enterprise Kernel Release 4 (Quarterly Update 1) and includes several improvements and features.  You can download this update from yum.oracle.com or from the Oracle Software Delivery Cloud.  For more information regarding the release or for details on how to update your system, please review the release notes located here.

 This is a great time to remind users of the channel features available with Unbreakable Linux Network (ULN).  Here are a few tips:

  1. If you are subscribed to the _LATEST channel, you will receive all the latest updates, including update releases like Oracle Linux 6.8.  This ensures your system is always up to date with not only the latest update release but also critical bug and security errata.
  2. For more control over patches and updates, you can also subscribe to the _BASE and _PATCH channel for your respective release.  These channel stays locked to a given minor release.  For example, if you have standardized on Oracle Linux 6.7 across your data center and only want updates released during the 6.7 maintenance window - subscribe to these channels.  Once you are ready to move to Oracle Linux 6.8, simply subscribe to the 6.8 _BASE & _PATCH channels.  Keep in mind, once a later update release is available, all errata updates will move to the latest channel.  It is always recommended users stay up to date on errata to ensure systems remain secure.  For more information about ULN please refer to the ULN User Guide.
  3. Finally, remember if you are an Oracle Linux Premier Support customer you also have access to zero-downtime patching with Ksplice.  For more information, please review the Ksplice User guide.

Please send us your comments and feedback.

Getting Started with Java Jigsaw Services in NetBeans IDE

$
0
0

In the Project Jigsaw: Module System Quick-Start Guide, a section is included on Services. Idioms such as "service consumer" and "service provider" are part of the set of solutions provided by Project Jigsaw.

A full code sample is discussed in the section above, which I have successfully implemented in NetBeans IDE. Three Jigsaw modules make up the scenario—a service defined in "com.socket", a service provider defined in "org.fastsocket", and a service consumer defined in "com.greetings". 

Read this document, about the fact that "'module', 'requires', 'exports', 'to', 'uses', 'provides', and 'with' are restricted keywords", which are used in the ways described in that document in the "module-info.java" files below.

  1. Service (com.socket). Below, you see "NetworkSocketProvider", which is a pluggable API, accessed via "ServiceLoader.load" in "NetworkSocket". 

    The "module-info.java" above is as follows:

    module com.socket {
        exports com.socket;
        exports com.socket.spi;
        uses com.socket.spi.NetworkSocketProvider;
    }
    
  2. Service Provider (org.fastsocket). Below, you see an implementation of "com.socket.spi.NetworkSocketProvider" and notice that no packages are exported here.

    The "module-info.java" above is as follows:

    module org.fastsocket {
        requires com.socket;
        provides com.socket.spi.NetworkSocketProvider 
                with org.fastsocket.FastNetworkSocketProvider;
    }
    
    
  3. Service Consumer (com.greetings). Below, you see a service consumer, which needs to have the other two modules on its module classpath (while it still has "org.astro" available, which applied to an earlier sample). In NetBeans IDE, right now, the Libraries node does not visualize modules on the module path if they do not export any packages, as is the case with "org.fastsocket".

    The "module-info.java" above is as follows:

    module com.greetings {
        requires org.astro;
        requires com.socket;
    }

That's it—service provision and consumption natively built into the Java language for Jigsaw modules.

Deploying to the SOA Cloud Service by Greg Draheim Overview

$
0
0

clip_image001On Monday night we obtained access to the SOA Cloud Service here at Flexagon, where we hope to use it for on-demand capacity.  One of our goals with FlexDeploy is to make it easy to move components from one environment or instance to another, enabling a true “lift-and-shift” into the cloud.  Since the SOA Cloud Service is built on top of the same underlying Oracle infrastructure, configuring it as a FlexDeploy target is a breeze.

In this blog article, I will cover how to deploy a set of projects that are currently used on-premise into this new SOA Cloud Service.

Adding a SOA Cloud instance to FlexDeploy

To deploy our composites we had a few steps to complete:

· Added the required datasource and outbound connection pool entries

· Created the SOA partition we deploy to (“order”)

· Created customization and configuration plans for the new environment

· Added the new endpoint and instance to FlexDeploy

· Deployed the composites and OSB components into the SOA Cloud Service instance

The screen below is the configuration screen for the SOA Cloud instance in FlexDeploy. This one configuration page handles the instance specific configuration. 

Click image to enlarge.

As an interesting note, the instance of FlexDeploy above is running on the Java Cloud Service.

Executing the Deploy

I have a FlexDeploy application that contains 5 projects I plan to deploy:

· PackAndShipService (SOA Composite)

· ProcessOrder (SOA Composite)

· SBOrderEBS (OSB Project)

Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInimage[7][2][2][2]Facebookclip_image002[8][4][2][2][2]Wiki

Getting Further Modulerizing with Jigsaw in NetBeans IDE

$
0
0

Let's modulerize the Anagram Game using Jigsaw further than we initially did, using the Services idioms that are also part of Jigsaw, discussed in the previous blog entry.

Here's the use case, i.e., a small Anagram game: 

The category can be switched via the drop-down: 

The point of this blog entry is that "Technical" and "Animal" are both made available via service providers, each made available by a different Jigsaw module, "org.wordlibrary.technical" and "org.wordlibrary.animal":

Each of the service providers serve up an implementation of the same service, "com.wordlibrary", consumed by "com.toy anagrams".

The point is that the application is now pluggable. Simply introduce onto the module path new Jigsaw modules that implement the service and register them using their "module-info.java" class, as discussed earlier. It's all very similar to META-INF/services, except that here we're using modules instead of libraries, with all the advantages that modules bring over libraries, in particular the ability to hide the internals of a module from unintended access.

Pretty cool to have applied all the concepts discussed in the previous blog entry to a real example and it works.

HCM Atom Feed Subscriber using SOA Cloud Service by Jack Desai

$
0
0

clip_image002Introduction

HCM Atom feeds provide notifications of Oracle Fusion Human Capital Management (HCM) events and are tightly integrated with REST services. When an event occurs in Oracle Fusion HCM, the corresponding Atom feed is delivered automatically to the Atom server. The feed contains details of the REST resource on which the event occurred. Subscribers who consume these Atom feeds use the REST resources to retrieve additional information about the resource.

For more information on Atom, please refer to this.

This post focuses on consuming and processing HCM Atom feeds using Oracle Service Oriented Architecture (SOA) Cloud Service. Oracle SOA Cloud Service provides a PaaS computing platform solution for running Oracle SOA Suite, Oracle Service Bus, and Oracle API Manager in the cloud. For more information on SOA Cloud Service, please refer this.

Oracle SOA is the industry’s most complete and unified application integration and SOA solution. It transforms complex application integration into agile and re-usable service-based connectivity to speed time to market, respond faster to business requirements, and lower costs.. SOA facilitates the development of enterprise applications as modular business web services that can be easily integrated and reused, creating a truly flexible, adaptable IT infrastructure.

For more information on getting started with Oracle SOA, please refer this. For developing SOA applications using SOA Suite, please refer this.

Main Article

Atom feeds enable you to keep track of any changes made to feed-enabled resources in Oracle HCM Cloud. For any updates that may be of interest for downstream applications, such as new hire, terminations, employee transfers and promotions, Oracle HCM Cloud publishes Atom feeds. Your application will be able to read these feeds and take appropriate action.

Atom Publishing Protocol (AtomPub) allows software applications to subscribe to changes that occur on REST resources through published feeds. Updates are published when changes occur to feed-enabled resources in Oracle HCM Cloud. These are the following primary Atom feeds:

Employee Feeds

New hire
Termination
Employee update

Assignment creation, update, and end date

Work Structures Feeds (Creation, update, and end date)

Organizations
Jobs
Positions
Grades
Locations

The above feeds can be consumed programmatically. In this post, Node.js is implemented as one of the solutions consuming “Employee New Hire” feeds, but design and development is similar for all the supported objects in HCM. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInimage[7][2][2][2]Facebookclip_image002[8][4][2][2][2]Wiki


Java Community Event in Japan

$
0
0
JJUG CCC is the largest Java community event in Japan, held twice a year in spring and autumn. The one day event is organized by the Japan Java User Group and attracted over 1,300 attendees last Saturday. Top speakers presented sessions about all Java technologies in 7 tracks. The event closed with entertaining Ignite sessions including a blind sake tasting competition between NightHacking organizers, Sebastian and Stephen, and the community members. 

Some of the session topics were: 
  • Raspberry Pi with Java
  • Type Annotation for Static Program Analysis
  • Eclipse Collections
  • Jenkins 2.0
  • Introduction to JShell: The Java REPL Tool 
  • Java EE Web Profile
  • Python + GDB = Java
  • OpenJDK 
  • Gradle 
  • Play Framework 
  • Java Puzzlers 
  • Java EE 

Pictures of the event 


PaaS & Fusion Middleware Summer Camps VI only for Oracle OPN Partners – August 29th – September 2nd 2016 Lisbon Portugal

$
0
0

clip_image002

You are working on large Fusion Middleware & PaaS opportunities & projects? Oracle is pleased to invite you to the PaaS & Fusion Middleware Summer Camps VI by the SOA & BPM and the WebLogic & Developer Partner Communities. Goal of the trainings is to support you to deliver a successful project. Most of the trainers are a member of the Oracle product management team.

Come to Lisbon to get a 5 days hands-on training in one of the following topics:

  • PaaS & IaaS
  • Enterprise Connectivity (SOA)
  • Mobile and Mobile Cloud Service
  • Java Cloud Services & WebLogic 12.2.1
  • Internet of Things (IoT)

For details please visit our registration page here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInimage[7][2][2][2]Facebookclip_image002[8][4][2][2][2]Wiki

Locked/Unlocked Icons on Packages Matching "module-info.java" File

$
0
0

Here's what I'm working on in the context of Jigsaw, which kind of proves the awesomeness of the NetBeans APIs, since this is provided by an external NetBeans module. Take a look at the icons on the packages in the Projects window. Two of them have an unlocked lock icon ("com.wordlibrary" and "com.wordlibrary.spi") while the other two have a locked lock icon. The unlocked lock icons indicate that those packages have been exported via the "module-info.java" file:

Yes. Those locked/unlocked icons, and the analysis of the "module-info.java" file, all that, can be done externally via a NetBeans plugin. That's pretty awesome.

Technology Evolution As Seen Through Conference Session Titles

$
0
0

I recently (last week) participated in JavaCro, a great Java conference in Croatia. I have participated in that event since its inception in 2012. Here are the titles of the keynotes I presented at JavaCro over the years:

  • "Unlocking the Java EE 6 Platfom" (29 - 30 May, 2012, in Tuhalj)
  • "Unlocking the Java EE platform with HTML5" (3 - 5 June, 2013, in Tuhalj)
  • "Consuming Java EE Backends in Desktop, Web, and Mobile Frontends" (12 - 13 May, 2014, in Poreč)
  • "Everything a Java EE Developer needs to know about the JavaScript Landscape" (11 - 12 May, 2015, in Rovinj)
  • "Oracle JET: Enterprise JavaScript for Visualizing Cloud Data" (18 - 20 May, 2016, in Rovinj)

More clearly than the above, the transition from fullblown Java EE to an increasingly HTML/JavaScript-centric frontend technology is hard to imagine! I think I can predict what my keynote session next year will be focused on—hybrid mobile development with Oracle JET, and related Cloud services, including REST endpoints via Java EE on the backend.

Now to think of a suitable title—maybe something like "Unlocking Mobile Devices with Oracle Cloud Solutions". 

Automated Unittesting of XQueries in Oracle OSB by Pascal Brokmeier

$
0
0

clip_image002In order to support a more agile project environment, OPITZ CONSULTING developed a Java/JUnit based SOA Unit Testing Framework. Among others, the framework was capable of using the Oracle libraries to run XQuery tests locally and verify their correctness. Over the course of time, Oracle released 12c and with it, changed its xquery files. A new extension (.xqy instead of .xq) was introduced and with it additional syntax. Oracle added a(:: OracleAnnotationVersion "1.0" ::) . After this, the testing framework needed to be updated to support such tags. Without an update, executing a query with the above annotation gave the following error: Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInimage[7][2][2][2]Facebookclip_image002[8][4][2][2][2]Wiki

Oracle GoldenGate for Big Data 12.2.0.1.1 update is available now!

$
0
0

Oracle GoldenGate for Big Data 12.2.0.1.1 update is available

I am pleased to announce the general availability of Oracle GoldenGate for Big Data 12.2.0.1.1.



What’s new in Oracle GoldenGate for Big Data12.2.0.1.1 ?

  • New Formats – Avro OCF and Sequence File
Oracle GoldenGate for Big Data can now write data in Avro Object Container Format (OCF) and HDFS Sequence File format.

  • Automatic Metadata / DDL updates to Hadoop.
Oracle GoldenGate for Big Data can now automatically provide DDL updates to Hive/HCatalog. Oracle GoldenGate for Big Data can also automatically provide the versioned schema files to HDFS directories as well.

  • Data Conversion – Hex Encoding and Character replacements
You will now be able to deliver your CDC data in hex encoding format in addition to base24 format. Oracle GoldenGate for Big Data will be able to find and replace using regular expressions. You can now include primary key in JSON format. Oracle GoldenGate for Big Data can convert time-stamp to ISO8601 format. .

  • Security Improvements – Oracle Wallet Integration and Kafka SSL
Oracle GoldenGate for Big Data can now integrate with Oracle Wallet. Kafka integration now provides integration with Kafka SSL which is available from Kafka 0.9.x.
  • Kafka Multiple Topic support
Oracle GoldenGate for Big Data can now automatically create target topics based on the source tables, if you would like to segregate the data from one table to a topic.
  • ·Newer Certifications and many more !!!

Note: The 12.2.0.1.1 installer is available as an update installer for 12.2.0.1.0. So please look carefully for the update release file which contains the description with 12.2.0.1.1 release version.

More information on Oracle GoldenGate 12.2.0.1.1

Mind the Gap - How Can Young Job Candidates Increase Employer Satisfaction?

$
0
0

Written by Nicole Fornacon, Marketing Director OU EMEA/APAC 

Being young these days has a lot of perks: from access to evolving technology and free information to borderless labor markets.

But despite all these opportunities, young people often experience difficulty finding a job after they graduate. Some might even say telling a young person to “just get a job”is like going to the Sahara desert and yelling “just rain!”

What is Causing this Epidemic Unemployment?

What can young people do to avoid becoming "Generation Jobless?"

According to a study conducted by McKinsey & Company, employers are dissatisfied with candidates’ poor skills, calling them "Generation Unprepared."

Many employers prefer to leave a vacancy open, as they struggle to find candidates with the right skills. The lack of skills is also causing major business problems, in the form of cost, quality, or time.

So why are young people not developing the skills employers need?

Your High School Education isn't a Secure Ticket to Employment

The accelerating pace of technological, demographic and socioeconomic changes is transforming industries and business models, changing the skills employers need and shortening the life of employees’ existing skill sets.

Current technological trends are creating an unprecedented rate of change in the core curriculum content of many academic fields.

Nearly 50% of subject knowledge acquired in the first year of a four-year technical degree is outdated by the time students graduate, leading to a growing need for continuous training.

Meet the Employer's Skills Expectations

In such a competitive labor market, sometimes having a university degree is not enough to set you apart in the candidate pool. Today’s job markets and in demand skills are very different from those of 10 or even 5 years ago - and the pace is only going to accelerate.

As a result, it's essential for those who want to get a good job to update their skills through continuous, hands-on training and certification courses.

Ask yourself this question: if you were given the choice between two different pilots - one took hands-on training and the other did not – but both had the same diploma, which one would you choose? The pilot with more training, of course!

This is exactly how employers look at hiring candidates. Investing in the right professional training is key to getting the job you want!

Get Ahead of the Trends - Develop Your Knowledge of the Cloud

And if the job you want is in the tech industry, Oracle University can help prepare you. 

Themove to the Cloudis on!

Industry trends for 2016 revealed a huge demand for both hybrid cloud architecture and skilled staff on this technology. More and more organizations are modernizing their databases and moving them to the Cloud. 

The Computer and Mathematical job family is going to experience very high growth centered on data analysis and software and applications developers– as a result of the digital transformation every industry is experiencing.

Our lives are becoming increasingly connected to our devices and other people.

Smart machines get smarter, the Internet of things will be the great next trend, and a new IT reality must evolve with technology architectures and platforms to support the advancement of a digitally connected world.

  • Computing power and Big Data Analytics will be significant driver of employment growth.
  • Individuals who can process, analyze, visualize and present data will continue to be in demand.
  • If you're passionate about databases and want to develop in demand skills, Oracle Database training courses will empower you in the job market.

Get your head in the Cloud, fulfill the need for Big Data analysts and get playful with Java to get on the track to professional success.

Explore Oracle University's hands-on training courses today to empower your job search!

Oracle Big Data 2017 Implementation Essentials moved to production!

Apply SOA/BPM Bundle Patch 3 to JDeveloper 12c (12.1.3.0.3) by Arda Eralp

$
0
0

clip_image002Step 1: Download Bundle Patch 3

Go to "Oracle Support" and Search bug number (20900599)

Step 2: Run "Command Prompt (cmd)" as Administrator

Step 3: Set "ORACLE_HOME" and add OPatch directory to "PATH" variable

SET ORACLE_HOME=C:\Dev\Oracle\Middleware12c (Oracle direcotry)
SET PATH=%PATH%;C:\Dev\Oracle\Middleware12c\OPatch (OPatch direcotry)

Step 4: Extract the downloaded patch and browse folder via cmd

cd ......\p20900599_121300_Generic\20900599

Step 5: Run "opatch apply" Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInimage[7][2][2][2]Facebookclip_image002[8][4][2][2][2]Wiki

New WebLogic Classes Releasing in June, 2016 – Enroll Today!

$
0
0

If you need to develop and deploy applications across cloud environments, engineered systems and conventional systems, get started today - invest in WebLogic training.

Taking hands-on courses through Oracle University will help you develop the skills you need to work with Oracle’s #1 application server.

WebLogic Server is the foundation for the entire Oracle Fusion Middleware portfolio of products.

Oracle experts will help you do the following:

  • Make the most of your WebLogic applications.
  • Monitor results across your systems and utilize modern development tooling. 
  • Show you how to take advantage of advanced APIs for application innovation.

Enroll in a newly released WebLogic Server course:

Oracle WebLogic Server 12c: Administration II

27 June- 1 July, 2016, Reston, VA

This 5-day classroom course is a continuation of Oracle WebLogic Server 12c: Administration I. It teaches you how to perform important administrative tasks, employing best practices that enable you to make the most of your WebLogic applications.

Oracle WebLogic Server 12c: Performance Tuning Workshop

22 June- 24 June

This 3-day Live Virtual course teaches you how to monitor the effects of a running Oracle WebLogic Server application on the overall system.

    Explore Additional Web Logic Server 12.2.1 courses:

    Oracle WebLogic Server 12c: Administration I
      This 5-day course teaches you how to install and configure Oracle WebLogic Server 12c. It gives administrators an overview of the basic concepts and architecture of WebLogic Server.
      Oracle Fusion Middleware 12c: Multitenancy Administration

        This  2-day training teaches you about the new multitenancy capabilities in WebLogic Server 12.2.1, including details about the administration, monitoring, deployment, and SaaS-enabling features, and integration with Oracle Traffic Director and Oracle Coherence.

        Learn how Oracle Fusion Middleware 12c Multitenancy offers density, efficiency, application isolation, pluggable application packaging options, and enhanced automation capabilities, all in an easy-to-adopt package, and all engineered to enable easy movement to the cloud.

          Questions? Let us know in the comments section below.

          Please, use HTTPS for your APEX apps

          $
          0
          0
          Why use HTTPS?When you Google this question you get many different answers, but this answer of Google Developers answers it for me in short (click the link for more details):HTTPS protects the integrity of your website/APEX appHTTPS protects the privacy and security of your usersHTTPS is the future of the web; many new... [Read More]

          Putting Hypermedia Back in REST with JAX-RS

          $
          0
          0
          Implementing a fully-fledged hypermedia-driven REST API in your Java enterprise application enables more flexibility and resilience. Sebastian Daschner asserts in his new article that many developers claim they are using REST when, in fact, most web APIs are something between "RPC style" and "basic resources with HTTP semantics," except they are built without hypermedia.

          Using real-world examples, he proves his point and shows how to accomplish a main goal of REST: having the server alone be in control of URLs and actively guide the client to the needed resources. Another REST benefit he discusses is having business logic reside only on the server to avoid duplicating the logic on the client. To accomplish that, he explores hypermedia-aware content types, such as Siren, that not only allow you to define links but also so-called actions--to describe how resources are accessed in ways other than by using simple GET calls.

          Building on his examples, Daschner shows how to use the UriInfo component of JAX-RS to programmatically create URIs with information derived directly from JAX-RS classes and to construct the protocol, host, and ports depending on a given HTTP request. Finally, he shows how to use JSONP to programmatically create JSON structures, which enables you to be in full control of how a response can look and what content type is used.

          To see these examples, learn about some important upfront choices, and access more examples he provides on GitHub, read the article.

          Viewing all 19780 articles
          Browse latest View live




          Latest Images