<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5867470283615504632</id><updated>2024-02-19T01:24:17.909-06:00</updated><category term="11.1.1.7"/><category term="11.1.16"/><category term="Audio"/><category term="BigData"/><category term="CMS"/><category term="Command"/><category term="Concurrent Mark Sweep"/><category term="Configuration"/><category term="Date Time Format Settings"/><category term="GC"/><category term="Garbage Collection"/><category term="HTML5"/><category term="JDEVELOPER"/><category term="JMS"/><category term="JVM"/><category term="Log Analysis"/><category term="Message Listner"/><category term="MongoDB"/><category term="Oracle"/><category term="Oracle WEBCENTER VERSION"/><category term="SOAP"/><category term="SOLARIS"/><category term="SQL Developer"/><category term="Settings"/><category term="UNIX"/><category term="VERSION"/><category term="WEBCENTER"/><category term="WEBCENTER Framework"/><category term="WEBCENTER UPGRADE"/><category term="WEBLOGIC 10.3.6"/><category term="broadcasting"/><category term="documentum acl"/><category term="documentum custom object type admin"/><category term="google site hack attack"/><category term="ie"/><category term="internet zone"/><category term="intranet zone"/><category term="java 8"/><category term="lambda"/><category term="lambda expressions"/><category term="security"/><category term="tamil audio"/><category term="video streaming"/><category term="webservice"/><title type='text'>Vijayaraaghavan Manoharan</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-1695060893601201015</id><published>2017-09-17T18:07:00.000-05:00</published><updated>2017-09-17T18:07:02.319-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java 8"/><category scheme="http://www.blogger.com/atom/ns#" term="lambda"/><category scheme="http://www.blogger.com/atom/ns#" term="lambda expressions"/><title type='text'>Lambda Expressions in Java 8</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;What is Lambda Expression? &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Lambda Expression is a feature to implement functional logic without method name, class name in a object oriented programming. It simplifies the way functional logic implemented in object oriented programming.&lt;/span&gt;&lt;/div&gt;
&lt;b id=&quot;docs-internal-guid-6d5d8ea6-9216-374f-312d-8ba5fb2e4dd1&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Where Lambda Expressions can be used? &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;In Object Oriented Programming, A complex method would be broken into multiple methods by grouping logic statements to reduce complexity for better reading and maintenance. But those new methods would not be reused for any other purposes. Here, Lambda expression can be used to implement the functional logic in elegant way rather than creating multiple methods or anonymous classes.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Syntax:&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;interface type=&quot;&quot;&gt; &lt;interface name=&quot;&quot;&gt; = (parameters as comma separated) -&amp;gt; { &amp;nbsp;&amp;nbsp;&lt;implementation&gt; &amp;nbsp;};&lt;/implementation&gt;&lt;/interface&gt;&lt;/interface&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;interface name=&quot;&quot;&gt;.&lt;method name=&quot;&quot;&gt;(parameters&amp;gt;);&lt;/method&gt;&lt;/interface&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Here, (parameters as comma separated) are not mandatory, it can be empty parenthesis if no parameter required. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Simple Example: &lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;public class LambdaCalculate { &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;public static void main(String[] args){&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int var1 = 6;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int var2 = 5;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Calculate addition = (int a, int b) -&amp;gt; { return a+b; };&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int result1 = addition.calculate(var1, var2);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&quot;lambda.LambdaCalculate.main() :: &quot; + result1);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Calculate subtraction = (int a, int b) -&amp;gt; { return a-b; };&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int result2 = subtraction.calculate(var1, var2);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&quot;lambda.LambdaCalculate.main() :: &quot; + result2);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;} &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;public interface Calculate{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public int calculate(int a, int b); &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/1695060893601201015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/1695060893601201015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1695060893601201015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1695060893601201015'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2017/09/lambda-expressions-in-java-8.html' title='Lambda Expressions in Java 8'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-994024877187779685</id><published>2017-05-25T19:43:00.001-05:00</published><updated>2017-05-25T19:43:32.491-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BigData"/><category scheme="http://www.blogger.com/atom/ns#" term="MongoDB"/><title type='text'>MongoDB Introduction and Basics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 16pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;color: #666666; font-family: Arial; font-size: 15pt; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 16pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;color: #666666; font-family: Arial; font-size: 15pt; white-space: pre-wrap;&quot;&gt;Big Data&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Big Data is a concept to define data as a key value pair structure which provides high scalability and performance for persistence, retrieval, and maintenance. As name stands, it handles large volume data and complex structure easily. &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 16pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #666666; font-family: Arial; font-size: 15pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Mongo Database&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;MongoDB is open source big data type database. Record in MongoDB is a document defined using key value pair. MongoDB is NoSQL database, User need to use MongoDB Shell and MongoDB syntax to create database, insert document, and query the data.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;MongoDB document would be&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&quot;fieldName1&quot;: &quot;value1&quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&quot;fieldName2&quot;: &quot;value2&quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&quot;fieldName3&quot;: &quot;value3&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;There are some rules for field names: &lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;“id” is reserved for Primary Key field.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Field name has to be unique in a document.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Field name should not start with null, $. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Field name should be alphanumeric. &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 16pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #666666; font-family: Arial; font-size: 15pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Basics&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;MongoDB comprises databases &amp;gt; collections &amp;gt; records as listed order in BSON format. Collection will have 1 or more number of records, Database will have 1 or more Collections, and there can be 1 or more databases. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Structure would be: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;312&quot; src=&quot;https://lh5.googleusercontent.com/SNyNrkH4LJlIihshhHIhsPp_PQyj-7jLA8v6lV2AKMrwuYopqLk-YNX8YGvIwE2MIAvCuVpWzqbwKToq1RTsbjD4hpb1-o5PWJ4VCPciE1Ud5n87EAwJprMv6rVqQHNLHq7LB__1&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;416&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 16pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #666666; font-family: Arial; font-size: 15pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Commands: &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To create new database &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Use &lt;database name=&quot;&quot;&gt; &amp;nbsp;&lt;/database&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To insert new record in a collection: &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;db.&lt;collection name=&quot;&quot;&gt;.insert(&amp;lt;{structure}&amp;gt;}) &lt;/collection&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To insert one record in a collection: &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;db.&lt;collection name=&quot;&quot;&gt;.insertOne(&amp;lt;{structure}&amp;gt;}) &lt;/collection&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To insert many record in a collection: db.&lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;collection name=&quot;&quot;&gt;.insertMany(&lt;structure1&gt;,&lt;/structure1&gt;&lt;/collection&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-left: 324pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: yellow; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;structure2 span=&quot;&quot;&gt;&lt;/structure2&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To find record in a collection: &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;db.&lt;collection name=&quot;&quot;&gt;.find(&lt;condition&gt;)&lt;/condition&gt;&lt;/collection&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To find one record in a collection: &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;db.&lt;collection name=&quot;&quot;&gt;.findOne(&lt;condition&gt;)&lt;/condition&gt;&lt;/collection&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;When we insert a record into collection, MongoDB will create database and collection if it doesn’t exist. &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;User has to connect to MongoDB Shell, and insert record. &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/994024877187779685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/994024877187779685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/994024877187779685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/994024877187779685'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2017/05/mongodb-introduction-and-basics.html' title='MongoDB Introduction and Basics'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh5.googleusercontent.com/SNyNrkH4LJlIihshhHIhsPp_PQyj-7jLA8v6lV2AKMrwuYopqLk-YNX8YGvIwE2MIAvCuVpWzqbwKToq1RTsbjD4hpb1-o5PWJ4VCPciE1Ud5n87EAwJprMv6rVqQHNLHq7LB__1=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-8660804093802584150</id><published>2017-01-31T17:46:00.002-06:00</published><updated>2017-02-16T12:08:55.737-06:00</updated><title type='text'>Useful commands</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;To identify the locked table name and session id:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;
SELECT B.Owner, B.Object_Name, A.Oracle_Username, A.OS_User_Name, A.SESSION_ID &lt;br /&gt;
FROM V$Locked_Object A, All_Objects B&lt;br /&gt;
WHERE A.Object_ID = B.Object_ID;
&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;To Identify user domain information from windows:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;net user 183378 /domain&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/8660804093802584150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/8660804093802584150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/8660804093802584150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/8660804093802584150'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2017/01/oracle-sqls.html' title='Useful commands'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-3442817413331617496</id><published>2016-01-08T22:35:00.001-06:00</published><updated>2016-01-08T22:35:07.985-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="security"/><category scheme="http://www.blogger.com/atom/ns#" term="SOAP"/><category scheme="http://www.blogger.com/atom/ns#" term="webservice"/><title type='text'>Accessing Secured SOAP WEBSERVICE in Java</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;When Endpoint Service is protected that SOAP request XML
Header should have SSL Certificate agreed (between client and provider) and
User Name/Password, then below approach can help to achieve in accessing highly
secured service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;How to add Security
tag and Digital Signature to SOAP request header: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;JAX-WS (JAVA API for XML Webservice) provides the API to
handle the SOAP request XML and add security tag with digital signature to SOAP
request XML before sending it over in http to endpoint.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;javax.xml.ws.Binding class has API to set custom Handler,
and Binding object can be fetched from javax.xml.ws.BindinigProvider class
object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRCBkJX45Iuj2iBq9fbiIZejwj6-zLQ3F8LRbKftleFztA5m1YbHnfqpD6-31ek1lCT4RTktBrnMhXXsseyLlUCAtXlXf-n3FXerIroi0CzepjD5KenpdPRAwJ2YdjyeIKjxvaNC2E1s78/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; BindingProvider bindingProvider = (BindingProvider)servicePort;
 List handlerChain = bindingProvider.getBinding().getHandlerChain();  
 handlerChain.add(new SOAPSecurityHandler();  
 bindingProvider.getBinding().setHandlerChain(handlerChain);  
&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SOAPSecurity handler class will be extending SOAPHandler
interface and implementing the functionality for method handleMessage() method
to intercept the SOAP message before sending it to Webservice provider. &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;public class SOAPSecurityHandler implements javax.xml.ws.handler.soap.SOAPHandler {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public Set getHeaders() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return Collections.emptySet();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public boolean handleMessage(SOAPMessageContext context) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;try {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;if (Boolean.TRUE.equals(context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY))) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;// Add User Name Token to Security Context&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;addSecurityHeader(context);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;// Add Digital Signature from Keystore.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;addSignatureToMessageHeader(context);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;} catch (Exception e) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;LOGGER.error(&quot;Error in SOAPSecurity Handler Handle Message&quot;, e);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return true;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public boolean handleFault(SOAPMessageContext context) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return false;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void close(MessageContext context) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private void addSecurityHeader(SOAPMessageContext messageContext) throws SOAPException {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SOAPFactory sf = SOAPFactory.newInstance();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SOAPHeader header = messageContext.getMessage().getSOAPPart().getEnvelope().getHeader();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if (header == null) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;header = messageContext.getMessage().getSOAPPart().getEnvelope().addHeader();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Name securityName = sf.createName(WSSE_SECURITY_LNAME, WSSE_NS_PREFIX, WSSE_NS);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SOAPHeaderElement securityElem = header.addHeaderElement(securityName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;securityElem.setMustUnderstand(mustUnderstand);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Name usernameTokenName = sf.createName(&quot;UsernameToken&quot;, WSSE_NS_PREFIX, WSSE_NS);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SOAPElement usernameTokenMsgElem = sf.createElement(usernameTokenName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Name usernameName = sf.createName(&quot;Username&quot;, WSSE_NS_PREFIX, WSSE_NS);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SOAPElement usernameMsgElem = sf.createElement(usernameName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;usernameMsgElem.addTextNode(username);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;usernameTokenMsgElem.addChildElement(usernameMsgElem);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Name passwordName = sf.createName(&quot;Type&quot;, WSSE_NS_PREFIX, WSSE_NS);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SOAPElement passwordMsgElem = sf.createElement(&quot;Password&quot;, WSSE_NS_PREFIX, WSSE_NS);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;passwordMsgElem.addAttribute(passwordName, PASSWORD_TEXT_TYPE);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;passwordMsgElem.addTextNode(password);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;usernameTokenMsgElem.addChildElement(passwordMsgElem);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;securityElem.addChildElement(usernameTokenMsgElem);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/**&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * Method to add Digital Signature to SOAPP Header&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; *&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @param messageContext&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws SOAPException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws NoSuchAlgorithmException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws InvalidAlgorithmParameterException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws KeyStoreException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws IOException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws CertificateException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws UnrecoverableEntryException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws MarshalException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @throws XMLSignatureException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private void addSignatureToMessageHeader(SOAPMessageContext messageContext)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;throws SOAPException, NoSuchAlgorithmException, InvalidAlgorithmParameterException, KeyStoreException,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;IOException, CertificateException, UnrecoverableEntryException, MarshalException, XMLSignatureException {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/// Add Signature&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Source source = new DOMSource(messageContext.getMessage().getSOAPHeader());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Node root = null;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;root = ((DOMSource) source).getNode();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;XMLSignatureFactory fac = XMLSignatureFactory.getInstance(&quot;DOM&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Reference ref = fac.newReference(&quot;&quot;, fac.newDigestMethod(DigestMethod.SHA256, null),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Collections.singletonList(fac.newTransform(Transform.ENVELOPED, (TransformParameterSpec) null)), null,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;null);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SignedInfo signedInfo = fac.newSignedInfo(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;fac.newCanonicalizationMethod(CanonicalizationMethod.INCLUSIVE, (C14NMethodParameterSpec) null),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;fac.newSignatureMethod(SignatureMethod.RSA_SHA1, null), Collections.singletonList(ref));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Load the KeyStore and get the signing key and certificate.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;KeyStore ks = KeyStore.getInstance(KEYSTORE_INSTANCE);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ks.load(new FileInputStream(KEYSTORE_FILE), KEYSTORE_PWD.toCharArray());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;KeyStore.PrivateKeyEntry keyEntry = (KeyStore.PrivateKeyEntry) ks.getEntry(KEYSTORE_ALIAS,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;new KeyStore.PasswordProtection(KEYSTORE_PWD.toCharArray()));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;X509Certificate cert = (X509Certificate) keyEntry.getCertificate();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Create the KeyInfo containing the X509Data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;KeyInfoFactory kif2 = fac.getKeyInfoFactory();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;List x509Content = new ArrayList();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;x509Content.add(cert.getSubjectX500Principal().getName());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;x509Content.add(cert);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;X509Data xd = kif2.newX509Data(x509Content);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;KeyInfo keyInfo = kif2.newKeyInfo(Collections.singletonList(xd));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Element header = DOMUtils.getFirstChildElement(root);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;DOMSignContext dsc = new DOMSignContext(keyEntry.getPrivateKey(), (Node) header);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;XMLSignature signature = fac.newXMLSignature(signedInfo, keyInfo);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;signature.sign(dsc);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/3442817413331617496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/3442817413331617496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/3442817413331617496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/3442817413331617496'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2016/01/accessing-secured-soap-webservice-in.html' title='Accessing Secured SOAP WEBSERVICE in Java'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-1296762409377710200</id><published>2014-01-13T14:28:00.001-06:00</published><updated>2014-01-13T14:28:35.133-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle WEBCENTER VERSION"/><category scheme="http://www.blogger.com/atom/ns#" term="VERSION"/><category scheme="http://www.blogger.com/atom/ns#" term="WEBCENTER"/><category scheme="http://www.blogger.com/atom/ns#" term="WEBCENTER Framework"/><title type='text'>How to check WEBCENTER Framework Version from Installation</title><content type='html'>&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In many cases, we would need to know the version of WEBCENTER Framework from Installation.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In that case, we need to use opatch command tool to list the exact version number.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Below is the step:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Navigate through the Oracle Middleware Path &lt;oracle middleware=&quot;&quot; path=&quot;&quot;&gt;&lt;/oracle&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Then navigate through the Oracle_WC1 installation directory &lt;oracle middlware=&quot;&quot; path=&quot;&quot;&gt;/Oracle_WC1&lt;/oracle&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;then, navigate through the OPatch folder inside Oracle_WC1.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Then, execute below command to know the status&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;./opatch lsinventory -invPtrLoc &lt;path file=&quot;&quot; for=&quot;&quot; orainst.loc=&quot;&quot;&gt;/oraInst.loc -details&lt;/path&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Then it will list down all installation with exact version number including patch.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDXv_UlYc_p27ZTv-gZulrAH9QXyna2SnbFhSBa0tRVyQou4pKnNRxJZQo4919UVXONMOI4m2_FgfD4sNN7gTCE_OktOb1KTQ-AEpXheMqlrZsOVM0dhh56LRa4nnAk1Rl1B6KfcAZAw5l/s1600/Capture.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDXv_UlYc_p27ZTv-gZulrAH9QXyna2SnbFhSBa0tRVyQou4pKnNRxJZQo4919UVXONMOI4m2_FgfD4sNN7gTCE_OktOb1KTQ-AEpXheMqlrZsOVM0dhh56LRa4nnAk1Rl1B6KfcAZAw5l/s1600/Capture.JPG&quot; height=&quot;400&quot; width=&quot;313&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwTFe2_gVEYhdwsma5QXY4MQwLpsRX9QW65q4wTtOLpObD50B_CU1c9oOlX-AenqBNQPKMMtnHv_cv7sVK7qh3Nu0H77vMFOAvMjgmEB5oXt4owLbIIZFz4t2TlrDnl0LVau5j_u5IC2e8/s1600/Capture1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwTFe2_gVEYhdwsma5QXY4MQwLpsRX9QW65q4wTtOLpObD50B_CU1c9oOlX-AenqBNQPKMMtnHv_cv7sVK7qh3Nu0H77vMFOAvMjgmEB5oXt4owLbIIZFz4t2TlrDnl0LVau5j_u5IC2e8/s1600/Capture1.JPG&quot; height=&quot;157&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/1296762409377710200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/1296762409377710200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1296762409377710200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1296762409377710200'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2014/01/how-to-check-webcenter-framework.html' title='How to check WEBCENTER Framework Version from Installation'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDXv_UlYc_p27ZTv-gZulrAH9QXyna2SnbFhSBa0tRVyQou4pKnNRxJZQo4919UVXONMOI4m2_FgfD4sNN7gTCE_OktOb1KTQ-AEpXheMqlrZsOVM0dhh56LRa4nnAk1Rl1B6KfcAZAw5l/s72-c/Capture.JPG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Torrance, CA, USA</georss:featurename><georss:point>33.8358492 -118.34062879999999</georss:point><georss:box>33.730331199999995 -118.50199029999999 33.9413672 -118.17926729999999</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-380753749190059934</id><published>2013-08-28T04:01:00.001-05:00</published><updated>2013-08-28T04:01:52.309-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command"/><category scheme="http://www.blogger.com/atom/ns#" term="Configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="SOLARIS"/><category scheme="http://www.blogger.com/atom/ns#" term="UNIX"/><title type='text'>SOLARIS Command Tools for System Configuration Data</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;SOLARIS Command Tools for System Configuration Data&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-6db99103-c426-e773-88d4-a7f0c3e9f03d&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;110&quot;&gt;&lt;/col&gt;&lt;col width=&quot;147&quot;&gt;&lt;/col&gt;&lt;col width=&quot;140&quot;&gt;&lt;/col&gt;&lt;col width=&quot;227&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;System Resource&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Command Name&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Path&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Description&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Number of CPU&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;uname -X&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Will describe Number of CPUs allocated in zone level&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;CPU Pool Name&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;pooladm&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;/usr/sbin/&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;CPU Pool Name and CPU System ID will be listed&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;RAM Size&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;prtconf&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;/usr/sbin&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid #000000; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;RAM Size will be printed in output&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/380753749190059934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/380753749190059934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/380753749190059934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/380753749190059934'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2013/08/solaris-command-tools-for-system.html' title='SOLARIS Command Tools for System Configuration Data'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Chennai, Tamil Nadu, India</georss:featurename><georss:point>13.0524139 80.250824599999987</georss:point><georss:box>12.5573929 79.605377599999983 13.547434899999999 80.896271599999992</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-1608036030456151362</id><published>2013-08-06T02:32:00.000-05:00</published><updated>2013-08-06T02:32:00.326-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11.1.1.7"/><category scheme="http://www.blogger.com/atom/ns#" term="11.1.16"/><category scheme="http://www.blogger.com/atom/ns#" term="JDEVELOPER"/><category scheme="http://www.blogger.com/atom/ns#" term="WEBCENTER UPGRADE"/><category scheme="http://www.blogger.com/atom/ns#" term="WEBLOGIC 10.3.6"/><title type='text'>JDEVELOPER 11.1.1.7/11.1.1.6 with WEBLOGIC 10.3.6 Server</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;


&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;By default, Oracle JDEVELOPER 11.1.1.7 installation comes
with WEBLOGIC 10.3.5. But AROR Portal needs to be configured in WEBLOGIC 10.3.6.
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Below flow diagram explains the steps to configure JDEVELOPER 11.1.1.7 with
Oracle 10.3.6 domain server.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2s7CHGRThQeiFpVOUNUoNlY8fNgwb21-hb4SS7Y3JSBEAsakua103VhekDtjkHpm04MdzjS3Ok1_24iCa7cst0J_n2ATRg__6PGeJrRGzdEkV3mXbblSfyFJZ0DX2wCycGnN5A9mzgDCH/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;253&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2s7CHGRThQeiFpVOUNUoNlY8fNgwb21-hb4SS7Y3JSBEAsakua103VhekDtjkHpm04MdzjS3Ok1_24iCa7cst0J_n2ATRg__6PGeJrRGzdEkV3mXbblSfyFJZ0DX2wCycGnN5A9mzgDCH/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/1608036030456151362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/1608036030456151362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1608036030456151362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1608036030456151362'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2013/08/jdeveloper-1111711116-with-weblogic.html' title='JDEVELOPER 11.1.1.7/11.1.1.6 with WEBLOGIC 10.3.6 Server'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2s7CHGRThQeiFpVOUNUoNlY8fNgwb21-hb4SS7Y3JSBEAsakua103VhekDtjkHpm04MdzjS3Ok1_24iCa7cst0J_n2ATRg__6PGeJrRGzdEkV3mXbblSfyFJZ0DX2wCycGnN5A9mzgDCH/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-2129119017749214711</id><published>2013-05-20T01:49:00.002-05:00</published><updated>2013-05-20T01:49:24.793-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CMS"/><category scheme="http://www.blogger.com/atom/ns#" term="Concurrent Mark Sweep"/><category scheme="http://www.blogger.com/atom/ns#" term="Garbage Collection"/><category scheme="http://www.blogger.com/atom/ns#" term="GC"/><category scheme="http://www.blogger.com/atom/ns#" term="JVM"/><category scheme="http://www.blogger.com/atom/ns#" term="Log Analysis"/><title type='text'>Concurrent Mark Sweep - Garbage Collection Algorithm - GC Logs Analysis</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
In Concurrent Mark Sweep GC Algorithm,&amp;nbsp;below pattern of logs can be logged.&lt;div style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;br clear=&quot;none&quot; /&gt;&lt;/div&gt;
&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;2013-03-22T10:00:36.855-0700: 62143.268: [GC 62143.269: [&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;ParNew&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;: 819200K-&amp;gt;51200K(870400K), 0.1759446 secs] 1211437K-&amp;gt;453032K(2884608K), 0.1762111 secs] [Times: user=0.77 sys=0.00, real=0.18 secs]&amp;nbsp;&lt;/strong&gt;&lt;div style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;br clear=&quot;none&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; list-style-position: outside; margin: 0.2857em 0px 0.714285em 2em; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;New/Young Generation Memory usage is reduced from 819 MB to 51 MB in 0.17 secs.&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;Max Heap Size Memory usage is reduced from 1211 MB to 453 MB in 0.17 secs.&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;During this, there won&#39;t be any stop the world action. It means user transaction will not be&amp;nbsp;uninterrupted.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;div style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;br clear=&quot;none&quot; /&gt;&lt;/div&gt;
&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;2013-03-22T10:24:59.685-0700: 63606.225: [GC [1&amp;nbsp;&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;CMS&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;-initial-mark: 1871791K(2014208K)] 1907629K(2884608K), 0.0452372 secs] [Times: user=0.04 sys=0.00, real=0.05 secs]&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; list-style-position: outside; margin: 0.2857em 0px 0.714285em 2em; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;This is stop world action.&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;In this time, gc is marking the objects in old generation space.&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;Here, log shows that 1.8 GB is occupied in 2.0 GB old generation , 1.9 gb occupied in 2.8 gb heap space.&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;This initial mark took 0.05 secs.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;2013-03-22T10:24:59.730-0700: 63606.270: [&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;CMS&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;-concurrent-mark-start]&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;ul style=&quot;border: 0px; line-height: 1.428571em; list-style-position: outside; margin: 0.2857em 0px 0.714285em 2em; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;This is not stop world action.&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;In this time, GC is started to mark the objects in old generation space.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;2013-03-22T10:25:02.885-0700: 63609.426: [&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;CMS&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;-concurrent-mark: 3.044/3.155 secs] [Times: user=14.15 sys=0.36, real=3.16 secs]&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; list-style-position: outside; margin: 0.2857em 0px 0.714285em 2em; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;This is not stop world action.&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;In this action, GC concurrent marking is getting completed. &amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;From the logs, it took 3.16 secs to complete.&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;&amp;nbsp;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;2013-03-22T10:25:02.885-0700: 63609.426: [&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;CMS&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;-concurrent-preclean-start]&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;div style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;
&lt;ul style=&quot;border: 0px; line-height: 1.428571em; list-style-position: outside; margin: 0.2857em 0px 0.714285em 2em; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;This is not stop work action.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;2013-03-22T10:25:02.913-0700: 63609.453: [&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;CMS&lt;/strong&gt;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;-concurrent-preclean: 0.026/0.027 secs] [Times: user=0.05 sys=0.00, real=0.03 secs]&lt;/strong&gt;&amp;nbsp;&lt;strong style=&quot;line-height: 1.428571em;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: Helvetica, Arial, &#39;Droid Sans&#39;, sans-serif; font-size: 14px; line-height: 1.428571em; list-style-position: outside; margin: 0.2857em 0px 0.714285em 2em; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;This is not stop world action.&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.428571em; margin: 0px; padding: 0px;&quot;&gt;From the logs, Pre Clean activity completed in 0.03 secs.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica, Arial, Droid Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica, Arial, Droid Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/2129119017749214711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/2129119017749214711' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/2129119017749214711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/2129119017749214711'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2013/05/concurrent-mark-sweep-garbage.html' title='Concurrent Mark Sweep - Garbage Collection Algorithm - GC Logs Analysis'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Torrance, CA, USA</georss:featurename><georss:point>33.8358492 -118.34062879999999</georss:point><georss:box>33.730331199999995 -118.50199029999999 33.9413672 -118.17926729999999</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-6432495378620692421</id><published>2013-02-27T13:58:00.001-06:00</published><updated>2013-02-28T00:02:15.525-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ie"/><category scheme="http://www.blogger.com/atom/ns#" term="internet zone"/><category scheme="http://www.blogger.com/atom/ns#" term="intranet zone"/><title type='text'>IE browser  local intranet vs internet zone rendering</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;This information will be useful for people who is looking how ie browser detecting a page as local intranet &lt;u&gt;zone&lt;/u&gt; or internet zone security.&lt;/p&gt;

 IE browser detects internet zone for fully qualified domain such as google .com or xyz.an.com. 

If site is not fully qualified domain such as  alias name HTTP://intranet with .com then ie resolves as intranet zone.

</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/6432495378620692421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/6432495378620692421' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/6432495378620692421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/6432495378620692421'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2013/02/ie-browser-local-intranet-vs-internet.html' title='IE browser  local intranet vs internet zone rendering'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Garnet Victoria Apartments, 3450 Garnet Street, Torrance</georss:featurename><georss:point>33.843075 -118.34675</georss:point></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-1280637411747232980</id><published>2012-11-26T00:40:00.001-06:00</published><updated>2012-11-26T00:40:18.139-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Date Time Format Settings"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Settings"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Developer"/><title type='text'>Oracle SQL Developer Data Time Display Format</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;Oracle SQL Developer Date/Time Display Format Settings&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Many Oracle SQL Developer users would have faced problem in displaying the date column value with&amp;nbsp;time stamp.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;To display&amp;nbsp;time stamp&amp;nbsp;also along with Date,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Need to navigate to Tools &amp;gt; Preference &amp;gt; Database &amp;gt; NLS section.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Update Date format to mm/dd/yyyy hh:mi:ss (We can specify whichever format we need)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21Wg4aLzNJeHG5rQ_tJZjSiyn0lOWQML3HKpetNyuYOHlG_HH-CF7FN2nO_4HjDtukzT592Lp9eCRJZ6HHg6trZmYo8CQRcUgR9marok9Ulg4Y4unA-_CLgXbYVDbv_rLeqzvRQaTxpdW/s1600/SQLDeveloper-timestamp-displayissue.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;457&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21Wg4aLzNJeHG5rQ_tJZjSiyn0lOWQML3HKpetNyuYOHlG_HH-CF7FN2nO_4HjDtukzT592Lp9eCRJZ6HHg6trZmYo8CQRcUgR9marok9Ulg4Y4unA-_CLgXbYVDbv_rLeqzvRQaTxpdW/s640/SQLDeveloper-timestamp-displayissue.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/1280637411747232980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/1280637411747232980' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1280637411747232980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1280637411747232980'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2012/11/oracle-sql-developer-data-time-display.html' title='Oracle SQL Developer Data Time Display Format'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21Wg4aLzNJeHG5rQ_tJZjSiyn0lOWQML3HKpetNyuYOHlG_HH-CF7FN2nO_4HjDtukzT592Lp9eCRJZ6HHg6trZmYo8CQRcUgR9marok9Ulg4Y4unA-_CLgXbYVDbv_rLeqzvRQaTxpdW/s72-c/SQLDeveloper-timestamp-displayissue.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-7886840893368580429</id><published>2012-10-21T03:05:00.000-05:00</published><updated>2012-10-26T02:21:34.851-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Audio"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="tamil audio"/><title type='text'>Audio Player Site Design Idea</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I am trying to create web page for audio player to play tamil audio songs.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Features:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Site page should have player in center.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;User should be able to navigate through songs in left side either by composer or artist or singers or film name or last movies. User should be pick the song and add it to the playlist already created.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;User should have ability to view the playlist and change song any time.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Site mockup:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimQNrakerEU5_lPNk53G1toq9dRyPM-gmAMViv2rf9bDptosFkr8fFxsvVqpg1Cx-W7g3xmB-pg2k7hIwt2K2B64ruoeWmjMCtbPjlOXS92oxKmb3nY4m1SORefthJ30FFV3mY3Xo-7N54/s1600/MusicSite.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimQNrakerEU5_lPNk53G1toq9dRyPM-gmAMViv2rf9bDptosFkr8fFxsvVqpg1Cx-W7g3xmB-pg2k7hIwt2K2B64ruoeWmjMCtbPjlOXS92oxKmb3nY4m1SORefthJ30FFV3mY3Xo-7N54/s320/MusicSite.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Design:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I am trying to html5 audio tag features for my requirement. Jplayer is open source java script to utilize the html5 audio feature. I am trying to use Jplayer for the site.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/7886840893368580429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/7886840893368580429' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/7886840893368580429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/7886840893368580429'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2012/10/audio-player-site-design-idea.html' title='Audio Player Site Design Idea'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimQNrakerEU5_lPNk53G1toq9dRyPM-gmAMViv2rf9bDptosFkr8fFxsvVqpg1Cx-W7g3xmB-pg2k7hIwt2K2B64ruoeWmjMCtbPjlOXS92oxKmb3nY4m1SORefthJ30FFV3mY3Xo-7N54/s72-c/MusicSite.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-5403616986190735654</id><published>2010-11-07T02:29:00.000-06:00</published><updated>2010-11-07T02:29:22.747-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="documentum custom object type admin"/><title type='text'>Creating Custom Object Type in Documentum</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;I followed the below steps to create custom object type derived or&amp;nbsp;inherited&amp;nbsp;from dm_document object type.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Before moving on new object type creation steps, mentioning the dm_document object type hierarchy in diagram.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOp7zJQrEuWomCenyYX7DGANIE6J7NNVUfdd7FqeX2HRy4l64jy2rwY-F2nsFnYTLLNt7QZULQLyd5MNPQBHBft5GbOIyrNfAd-BM5CxRblN4BhwGW-GLfH0-FTowiGehI4w7uflpjCurl/s1600/Untitleddrawing.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;191&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOp7zJQrEuWomCenyYX7DGANIE6J7NNVUfdd7FqeX2HRy4l64jy2rwY-F2nsFnYTLLNt7QZULQLyd5MNPQBHBft5GbOIyrNfAd-BM5CxRblN4BhwGW-GLfH0-FTowiGehI4w7uflpjCurl/s320/Untitleddrawing.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;dm_document object type is for all the documents created in content server&amp;nbsp;repository, that document would be any thing like MS office files, picture files, PDF, xml files etc...&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Why do we need new Custom Object Type in Documentum?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;dm_document object type provides limited attributes to describe a document attributes like creator, creation date, modify date, title, object_name, etc.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;If we need custom attributes for a document such as type of document (sales document, legal document, customer feedback) or any other information, new custom object type need to be created by inheriting dm_document with additional attribute name such document_type, etc...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Create Custom Object type using DQL&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Syntax to create new custom object type with dm_document as super type is&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;CREATE TYPE objecttype_name (attribute_name attribute_type) WITH SUPERTYPE dm_document/&lt;parent type=&quot;&quot;&gt;&lt;/parent&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;DQL command to describe object type is DESCRIBE &lt;i&gt;object_type_name&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Documentum API command to describe the object type is DESCRIBE,c,object_type_name&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Alter the existing object type attribute&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;ALTER TYPE objecttype_name MODIFY attribute_name attribute_type&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Documentum Attribute Type&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Documentum provides below attribute types by default to describe attribute in object type&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;DM_STRING &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;DM_INTEGER&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;DM_BOOLEAN&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;DM_ID&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;DM_STRING attribute allows to store maximum 255 characters value in attribute. We can use ALTER TYPE command to modify the attribute to store database default character length 2000 as below.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;ALTER TYPE &lt;i&gt;object_type_name &lt;/i&gt;MODIFY &lt;i&gt;attribute_name&lt;/i&gt;&amp;nbsp;CHAR(200)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;DM_ID would be a reference r_object_id of other object in docbase. When we perform dumping of this object, referenced object id also will be dumped and it can be loaded into another docbase.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Note: Assumes reader has basic knowledge on documentum objects types and reader is in the search for steps to create new custom object type in documentum.&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/5403616986190735654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/5403616986190735654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/5403616986190735654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/5403616986190735654'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2010/11/creating-custom-object-type-in.html' title='Creating Custom Object Type in Documentum'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOp7zJQrEuWomCenyYX7DGANIE6J7NNVUfdd7FqeX2HRy4l64jy2rwY-F2nsFnYTLLNt7QZULQLyd5MNPQBHBft5GbOIyrNfAd-BM5CxRblN4BhwGW-GLfH0-FTowiGehI4w7uflpjCurl/s72-c/Untitleddrawing.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-1119649031620709965</id><published>2010-10-25T02:12:00.000-05:00</published><updated>2010-10-29T03:00:32.114-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="documentum acl"/><title type='text'>About: Documentum ACL (Access Control List)</title><content type='html'>&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;What is ACL in documentum?&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;ACL stands for Access Control List. It is security mechanism provided by documentum to control&amp;nbsp;&amp;nbsp; security of Documentum Content Server objects. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;ACL object attributes:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Each ACL object has below attributes:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;object_name (ACL object name)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;owner_name (Owner of the ACL name, most of the time creator name)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;r_accessor_name (Either dm_user or dm_group name who associated with this acl)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;r_accessor_permit (Permission READ, WRITE, DELETE,...)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;r_accessor_xpermit (Extended permission for the accessor)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Each dm_document object is associated with one of the ACL object.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;u&gt;Possible Persmission Set value for r_accessor_permit attribute:&lt;/u&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Below are the possible premission values can be set in r_accessor_permit attribute values,:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;NONE (1) - implies that access restricted. The objects which are associated with NONE permission value ACL can&#39;t be accessed by users or groups associated with&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;r_accessor_name.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;BROWSE (2)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;READ (3) - implies that READ permission is allowed for the users or groups associated with ACL to objects marked with this ACL.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;RELATE (4) - implies that user can perform annotate operation in object.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;VERSION (5)- implies that user can version the object along with annotate and read capability.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;WRITE (6)- implies that user can perform edit operation along with above operation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;DELETE (7)- implies that user can perform all above operation and can delete this object from repository.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;u&gt;Ways to create new ACL:&lt;/u&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Documentum desktop client is providing ACL editor to create/edit ACL using UI.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI__hW01KjQcQgrl7oZ4LkFAHgoEsp-DBXKiu08hdXTm5blqiRdLpl5yS_vCkmR4ZuuyXJI0AJdcFVNbkbJGgBxAboNeOznLOqkVfgPl47RhWNAIkvfZi7h7JXS0BWsT0wNDCGbGoQnFBf/s1600/workspace_acl_editor.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI__hW01KjQcQgrl7oZ4LkFAHgoEsp-DBXKiu08hdXTm5blqiRdLpl5yS_vCkmR4ZuuyXJI0AJdcFVNbkbJGgBxAboNeOznLOqkVfgPl47RhWNAIkvfZi7h7JXS0BWsT0wNDCGbGoQnFBf/s320/workspace_acl_editor.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Documentum is also providing API methods to create new ACL, &amp;nbsp;Sample one is&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;create,c,dm_acl,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;set,c,l,object_name &amp;nbsp;SAMPLE_ACL&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;set,c,l,owner_name &amp;nbsp;dm_dbo&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grant,c,l,dm_owner,6&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grant,c,l,dm_world,1&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;save,c,l&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;u&gt;ACL Types:&lt;/u&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;There are two types ACL in Documentum.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;1. System ACL - It is default ACL created by docbase, it may be for temporary. These ACL object_name will start dm_&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. User ACL&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Reference:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.dmdeveloper.com/articles/concepts/acls.pf.html&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;http://www.dmdeveloper.com/articles/concepts/acls.pf.html&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/1119649031620709965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/1119649031620709965' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1119649031620709965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/1119649031620709965'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2010/10/about-documentum-acl.html' title='About: Documentum ACL (Access Control List)'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI__hW01KjQcQgrl7oZ4LkFAHgoEsp-DBXKiu08hdXTm5blqiRdLpl5yS_vCkmR4ZuuyXJI0AJdcFVNbkbJGgBxAboNeOznLOqkVfgPl47RhWNAIkvfZi7h7JXS0BWsT0wNDCGbGoQnFBf/s72-c/workspace_acl_editor.gif" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-6276796839269448791</id><published>2010-03-04T02:29:00.000-06:00</published><updated>2010-03-04T10:15:06.565-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="google site hack attack"/><title type='text'>How Google Site were tried to hack ?</title><content type='html'>I was searching for the analysis report how Google accounts were tried to hack. Hackers objective was trying to get full permission on google users accounts, and to get the email contents from user accounts.&lt;br /&gt;
&lt;br /&gt;
Suspicious emails were sent to large number of user accounts with from address as well known address.&lt;br /&gt;
Ex:&amp;nbsp; To ABC email account, suspicious email sent as from XYZ, here&amp;nbsp; XYZ is well known sender to ABC. Here, I am not clear how hackers got well known from address for different user accounts.&lt;br /&gt;
&lt;br /&gt;
Malicious software were attached these suspicious emails. When users accessing or opening these email, mallware package would have executed , will start running from user system.&lt;br /&gt;
&lt;br /&gt;
These mall-ware installable will read the users cookie and other valid information. Hackers were these vital info to access google accounts or email contents whenever users accessing .</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/6276796839269448791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/6276796839269448791' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/6276796839269448791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/6276796839269448791'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2010/03/how-google-site-be-tried-to-attacked.html' title='How Google Site were tried to hack ?'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-2863116994650929124</id><published>2010-01-02T02:49:00.000-06:00</published><updated>2010-01-23T20:17:25.608-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="broadcasting"/><category scheme="http://www.blogger.com/atom/ns#" term="video streaming"/><title type='text'>Video braodcasting in LAN - Using VLC Player 1.0.3 GoldenEye</title><content type='html'>&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;There are lot of methods to achieve video broadcasting in LAN network. VLC media player is one of the easiest to broadcast video/audio in LAN network. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;VLC player can be downloaded from http://www.videolan.org. &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Here, i have used VLC media player 1.0.3 GoldenEye for testing. &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;There is no specific software for server functionalities in VLC. Both server and client functions are performed by same software.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Steps for steaming/broadcasting:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1. Open VLC media player. &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2. Open Media&amp;gt;Streaming option.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;3. Add the files in File Selection area, and then click Stream button.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;4. Stream Output window will get opened now.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;5. Now in the Destination, Choose New Destination as UDP and then click add.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;6. UDP Option tab will get opened now, type the broadcast address in Address textbox.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;7. Click Next option,and then click Stream. &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Steps for client to view streamed video:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1. Open VLC media player.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2. Open Media&amp;gt; Open Network Stream. &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;3. It will now play the streamed file from LAN broadcast addresss. &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/2863116994650929124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/2863116994650929124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/2863116994650929124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/2863116994650929124'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2010/01/video-braodcasting-in-lan-network-using.html' title='Video braodcasting in LAN - Using VLC Player 1.0.3 GoldenEye'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5867470283615504632.post-9067861861514835740</id><published>2008-10-26T14:23:00.000-05:00</published><updated>2010-01-02T03:24:20.745-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JMS"/><category scheme="http://www.blogger.com/atom/ns#" term="Message Listner"/><title type='text'>Sample JMS Bean with Standalone Client on Weblogic 10.2 Platform</title><content type='html'>I have created Sample JMS Bean with Standalone Java client on weblogic 10.2 platform. We can use this approach for testing a JMS Bean which deployed on server without j2ee client.&lt;br /&gt;
&lt;br /&gt;
Tools Used are Bea Weblogic Workspace Studio ver1.1, Weblogic 10.2 server.&lt;br /&gt;
&lt;br /&gt;
JMS Listener Class is&lt;br /&gt;
&lt;br /&gt;
@MessageDriven(ejbName = &quot;SampleMessageListener&quot;,&lt;br /&gt;
destinationJndiName = &quot;SampleMessageListenerJndiName&quot;,&lt;br /&gt;
destinationType = &quot;javax.jms.Queue&quot;,&lt;br /&gt;
defaultTransaction = MessageDriven.DefaultTransaction.REQUIRED&lt;br /&gt;
)&lt;br /&gt;
public class SampleMessageListener extends GenericMessageDrivenBean implements&lt;br /&gt;
MessageDrivenBean, MessageListener {&lt;br /&gt;
private static final long serialVersionUID = 1L;&lt;br /&gt;
/* (non-Javadoc)&lt;br /&gt;
* @see javax.jms.MessageListener#onMessage(javax.jms.Message)&lt;br /&gt;
*/&lt;br /&gt;
public void onMessage(Message msg) {&lt;br /&gt;
TextMessage txtMsg = (TextMessage) msg;&lt;br /&gt;
try {&lt;br /&gt;
System.out.println(&quot;txtMsge &quot; + txtMsg.getText());&lt;br /&gt;
} catch (JMSException e) {&lt;br /&gt;
// TODO Auto-generated catch block&lt;br /&gt;
e.printStackTrace();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
And for Standalone Client code is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class SampleJMSClient {&lt;br /&gt;
private static InitialContext initialContext;&lt;br /&gt;
public static void main(String[] args) {&lt;br /&gt;
InitialContext context = getInitialContext();&lt;br /&gt;
try {&lt;br /&gt;
System.out.println(&quot;1&quot;);&lt;br /&gt;
QueueConnectionFactory queueConnectionFacory = (QueueConnectionFactory) context.lookup(&quot;weblogic.examples.jms.QueueConnectionFactory&quot;);&lt;br /&gt;
System.out.println(&quot;2&quot;);&lt;br /&gt;
QueueConnection queueConnection = (QueueConnection) queueConnectionFacory.createConnection();&lt;br /&gt;
System.out.println(&quot;3&quot;);&lt;br /&gt;
QueueSession queueSession = queueConnection.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);&lt;br /&gt;
System.out.println(&quot;4&quot;);&lt;br /&gt;
Queue queue = (Queue) context.lookup(&quot;SampleMessageListenerJndiName&quot;);&lt;br /&gt;
System.out.println(&quot;5&quot;);&lt;br /&gt;
QueueSender sender = queueSession.createSender(queue);&lt;br /&gt;
System.out.println(&quot;6&quot;);&lt;br /&gt;
TextMessage txtMessage = queueSession.createTextMessage(&quot;Hello, World&quot;);&lt;br /&gt;
System.out.println(&quot;7&quot;);&lt;br /&gt;
sender.send(txtMessage);&lt;br /&gt;
} catch (NamingException e) {&lt;br /&gt;
// TODO Auto-generated catch block&lt;br /&gt;
e.printStackTrace();&lt;br /&gt;
} catch (JMSException e) {&lt;br /&gt;
// TODO Auto-generated catch block&lt;br /&gt;
e.printStackTrace();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
private static InitialContext getInitialContext() {&lt;br /&gt;
if(initialContext == null){&lt;br /&gt;
try {&lt;br /&gt;
initialContext = new InitialContext();&lt;br /&gt;
System.out.println(&quot;1asfaf&quot;);&lt;br /&gt;
initialContext.addToEnvironment(Context.INITIAL_CONTEXT_FACTORY,&quot;weblogic.jndi.WLInitialContextFactory&quot;);&lt;br /&gt;
System.out.println(&quot;asdff&quot;);&lt;br /&gt;
initialContext.addToEnvironment(Context.PROVIDER_URL,&quot;t3://localhost:7001&quot;);&lt;br /&gt;
System.out.println(&quot;11111111&quot;);&lt;br /&gt;
} catch (NamingException e) {&lt;br /&gt;
// TODO Auto-generated catch block&lt;br /&gt;
e.printStackTrace();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
return initialContext;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
For Client, weblogic jars used are&lt;br /&gt;
&lt;br /&gt;
api.jar,com.bea.core.annogen_1.0.1.0.jar,com.bea.core.antlr.runtime_2.7.5.jar,com.bea.core.antlr_2.7.5.jar,com.bea.core.apache.bcel_5.2.0.0.jar,com.bea.core.apache.commons.collections_3.2.0.jar,&lt;br /&gt;
com.bea.core.apache.commons.lang_2.1.0.jar,com.bea.core.apache.commons.logging.api_1.1.0.jar,com.bea.core.apache.commons.logging_1.1.0.jar,com.bea.core.apache.commons.net_1.4.1.jar,com.bea.core.apache.commons.pool_1.3.0.jar,&lt;br /&gt;
com.bea.core.apache.dom_1.0.0.0.jar,com.bea.core.apache.log4j_1.2.13.jar,com.bea.core.apache.logging_1.0.0.0.jar,com.bea.core.apache.oro_2.0.8.jar,com.bea.core.apache.regexp_1.4.0.jar,com.bea.core.apache.velocity.dep_1.4.jar,com.bea.core.apache.velocity_1.4.jar,&lt;br /&gt;
com.bea.core.apache.xalan_2.7.0.jar,com.bea.core.apache.xerces.resolver_2.8.1.jar,com.bea.core.apache.xerces.xmlapis_2.8.1.jar,com.bea.core.apache.xercesImpl_2.8.1.jar,com.bea.core.apache.xml.security_1.3.0.jar,com.bea.core.apache.xml.serializer_2.7.0.jar,com.bea.core.apache_1.0.1.0.jar,com.bea.core.bea.opensaml_2.0.0.0.jar,com.bea.core.beangen_1.0.1.0.jar,com.bea.core.beaninfo_1.0.1.0.jar,&lt;br /&gt;
com.bea.core.common.engine.api_2.0.1.0.jar,com.bea.core.common.engine.impl_2.0.1.0.jar,com.bea.core.common.security.api_2.0.1.0.jar,com.bea.core.common.security.impl_2.0.1.0.jar,com.bea.core.common.security.jdkutils_2.0.1.0.jar,&lt;br /&gt;
com.bea.core.common.security.providers.env_2.0.1.0.jar,com.bea.core.common.security.providers.utils_2.0.1.0.jar,com.bea.core.common.security.utils_2.0.1.0.jar,com.bea.core.datasource_1.0.1.0.jar,com.bea.core.descriptor_1.0.1.0.jar,&lt;br /&gt;
com.bea.core.diagnostics.core_1.0.1.0.jar,com.bea.core.diagnostics.instrumentor_1.0.1.0.jar,com.bea.core.i18n.generator_1.0.1.0.jar,com.bea.core.i18n_1.0.1.0.jar,com.bea.core.jar,builder_1.0.1.0.jar,com.bea.core.jatmi_1.0.1.0.jar,com.bea.core.jmspool_1.0.1.0.jar,&lt;br /&gt;
com.bea.core.jsafe_3.5.0.jar,com.bea.core.kodo.integration.tools_1.0.1.0.jar,com.bea.core.kodo.integration_1.0.1.0.jar,com.bea.core.kodo_4.1.3.1.jar,com.bea.core.logging_1.0.1.0.jar,com.bea.core.management.core_1.0.1.0.jar,&lt;br /&gt;
com.bea.core.mbean.maker_1.0.1.0.jar,com.bea.core.mbean.support_1.0.1.0.jar,com.bea.core.messaging.kernel_1.0.1.0.jar,com.bea.core.nodemanager.plugin_1.0.1.0.jar,com.bea.core.process_5.3.0.0.jar,com.bea.core.repackaged.apache.bcel_5.2.0.0.jar,com.bea.core.repackaged.apache.commons.logging_1.1.0.jar,&lt;br /&gt;
com.bea.core.repackaged.asm_1.5.2.jar,com.bea.core.repackaged.aspectj.aspectjweaver_5.0.0.jar,com.bea.core.repackaged.springframework.pitchfork_1.0.0.jar,com.bea.core.repackaged.springframework.spring_2.0.2.jar,com.bea.core.resourcepool_1.0.1.0.jar,com.bea.core.serp_1.12.0.jar,&lt;br /&gt;
com.bea.core.store.gxa_1.0.1.0.jar,com.bea.core.store_1.0.1.0.jar,com.bea.core.timers_1.0.1.0.jarcom.bea.core.transaction_2.0.1.0.jarcom.bea.core.utils.classloaders_1.0.1.0.jarcom.bea.core.utils.expressions_1.0.1.0.jarcom.bea.core.utils.full_1.0.1.0.jarcom.bea.core.utils.wrapper_1.0.1.0.jarcom.bea.core.utils_1.0.1.0.jarcom.bea.core.weblogic.commons.logging_1.0.1.0.jarcom.bea.core.weblogic.rmi.client_1.0.1.0.jarcom.bea.core.weblogic.saaj_1.0.1.0.jarcom.bea.core.weblogic.security.wls_2.0.1.0.jarcom.bea.core.weblogic.security_2.0.1.0.jarcom.bea.core.weblogic.stax_1.0.1.0.jarcom.bea.core.weblogic.workmanager_1.0.1.0.jarcom.bea.core.workarea_1.0.1.0.jarcom.bea.core.ws.axis_1.0.0.0.jarcom.bea.core.ws.wsdl4j_1.5.1.jarcom.bea.core.xml.beaxmlbeans_2.2.0.0.jarcom.bea.core.xml.beaxmlbeans_2.3.1.0.jarcom.bea.core.xml.staxb.buildtime_1.0.1.0.jarcom.bea.core.xml.staxb.runtime_1.0.1.0.jarcom.bea.core.xml.stax_1.0.0.0.jarcom.bea.core.xml.xmlbeans_2.2.0.0.jarcom.bea.core.xml.xmlbeans_2.3.1.0.jarweblogic.jarwlclient.jarwljmsclient.jar,w-api.jar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And&lt;br /&gt;
&lt;br /&gt;
Connection Factory Configuration is&lt;br /&gt;
&lt;br /&gt;
JNdi name is&lt;br /&gt;
weblogic.examples.jms.QueueConnectionFactory&lt;br /&gt;
&lt;br /&gt;
QUeue Jndi name is&lt;br /&gt;
&lt;br /&gt;
SampleMessageListenerJndiName&lt;br /&gt;
&lt;br /&gt;
If you need more info, please contact me at &lt;a href=&quot;mailto:AM.Vijay@gmail.com&quot;&gt;AM.Vijay@gmail.com&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://amvijay.blogspot.com/feeds/9067861861514835740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5867470283615504632/9067861861514835740' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/9067861861514835740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5867470283615504632/posts/default/9067861861514835740'/><link rel='alternate' type='text/html' href='http://amvijay.blogspot.com/2008/10/sample-jms-bean-with-standalone-cleint.html' title='Sample JMS Bean with Standalone Client on Weblogic 10.2 Platform'/><author><name>Vijay</name><uri>http://www.blogger.com/profile/14982071221905972806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>