Skip to main content

Posts

Showing posts from February, 2017

HTTP vs HTTP/2

HTTP was first proposed by Tim Berners Lee in 1990 and many websites follow the same till today. As Google's SPDY got introduced in 2009 with few advancements, HTTP/2 seems like a response to SPDY. Before I dive into the main differences let me recollect the basic concepts like What is HTTP/ HTTP2? or What is protocol? Protocol: Protocol defines the rules for data communication mechanisms between clients and servers. Three basic components that makes a protocol are: Header -- Provides info on size, type, source and destination addresses. Payload -- Actual message transmitted using protocol. Footer -- Similar to header, contains control fields. Two most often used commands over HTTP :  Get - Requests data from a specified resource. Post - Submits data to be processed to a specified resource. Other methods include: HEAD - gets HTTP headers PUT - Uploads a representation of the specified URI DELETE - Deletes specified resource OPTIONS - Returns HTTP methods...

Part I: Migrating to 12c not so easy - Oracle ADF Jdeveloper 12c Findings

This post is part of 12c Migration project which lists all updates and deprecated stuff in 12c from its predecessors. These are all known findings so far I'll try to update this as I come across new stuff, bugs or fixes: Java8 👏👏👏👏 - you know what it means 👼 No Groovy Expression to Generate Sequence: Common requirement is to use a database sequence to populate key attribute and you can achieve this by adding a groovy expression to the expression tab of attribute in entity object. (new oracle.jbo.server.SequenceImpl("YOUR_SEQUENCE_NAME", adf.object.getDBTransaction())).getSequenceNumber() Trying to use the same logic in 12C will result in following runtime exception: JBO-25152: Calling the constructor for class oracle.jbo.server.SequenceImpl is not permitted. Here's a quick fix for this issue: Open EO in the source view. Search for trustMode. Change trustMode="untrusted" to trustMode="trusted". R.I.P  InvokeAction, comman...

Web Services N Buzz words

WebService: A service that is available to access across internet or intranet. Provides communication between different applications built on different platforms. Why Webservices? To avoid reinventing the wheel by exposing existing functionalities built on any platform to be exposed to consumers on internet or developers within same network. Webservices are loosely coupled they can updated without disturbing other modules in application. Ease of integration for applications built across enterprise. Web Service Jargon: WSDL (Web Service Description Language) Interface that describes the implementation details of web service. A contract between producer and consumer for exchanging data. Written in standard XML format. WSDL consists information about function names, arguments, return types and End point to be used. SOAP (Simple Object Access Protocol) Protocol to exchange structured information in XML format. UDDI (Universal Description, Discovery a...