<?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: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-14410591</id><updated>2011-12-02T22:12:35.708-08:00</updated><title type='text'>J2EE and other web technologies</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-14410591.post-5422280809348816254</id><published>2011-12-02T22:12:00.001-08:00</published><updated>2011-12-02T22:12:35.716-08:00</updated><title type='text'>Uninstalling .apk file from Emulator for refresh issue</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(204, 204, 204); font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(0, 0, 0); "&gt;In the SDK's main directory (i.e. "&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(204, 204, 204); font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; text-align: -webkit-auto; background-color: rgb(0, 0, 0); font-style: italic; "&gt;C:/Programming/Android/SDK&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 204, 204); font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; text-align: -webkit-auto; background-color: rgb(0, 0, 0); "&gt;") there is the folder called "tools" --&amp;gt; Get into that folder. You need to start a console terminal/shell ("Start -&amp;gt; Run... -&amp;gt; type 'cmd'" for Windows PCs). Type-in sth. like the following command: &lt;/span&gt;&lt;br /&gt;&lt;dl class="codebox" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; background-color: rgb(0, 0, 0); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(201, 210, 216); border-right-color: rgb(201, 210, 216); border-bottom-color: rgb(201, 210, 216); border-left-color: rgb(201, 210, 216); font-size: 12px; color: rgb(204, 204, 204); font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; line-height: 18px; text-align: -webkit-auto; "&gt;&lt;dt style="margin-top: 0px; margin-right: 0px; margin-bottom: 3px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-transform: uppercase; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-size: 0.8em; font-weight: bold; "&gt;CODE: &lt;a href="http://www.anddev.org/#" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(186, 186, 186); text-decoration: none; "&gt;SELECT ALL&lt;/a&gt;&lt;/dt&gt;&lt;dd style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;code style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; overflow-x: auto; overflow-y: auto; display: block; height: auto; max-height: 200px; font: normal normal normal 0.9em/normal Monaco, 'Andale Mono', 'Courier New', Courier, mono; line-height: 1.3em; "&gt;adb shell rm data/app/{myFile.apk}&lt;/code&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 204, 204); font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; text-align: -webkit-auto; background-color: rgb(0, 0, 0); "&gt;For example if you want to uninstall "HelloAndroid.apk" you should type this: &lt;/span&gt;&lt;br /&gt;&lt;dl class="codebox" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; background-color: rgb(0, 0, 0); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(201, 210, 216); border-right-color: rgb(201, 210, 216); border-bottom-color: rgb(201, 210, 216); border-left-color: rgb(201, 210, 216); font-size: 12px; color: rgb(204, 204, 204); font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; line-height: 18px; text-align: -webkit-auto; "&gt;&lt;dt style="margin-top: 0px; margin-right: 0px; margin-bottom: 3px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-transform: uppercase; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-size: 0.8em; font-weight: bold; "&gt;CODE: &lt;a href="http://www.anddev.org/#" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(186, 186, 186); text-decoration: none; "&gt;SELECT ALL&lt;/a&gt;&lt;/dt&gt;&lt;dd style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;code style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; overflow-x: auto; overflow-y: auto; display: block; height: auto; max-height: 200px; font: normal normal normal 0.9em/normal Monaco, 'Andale Mono', 'Courier New', Courier, mono; line-height: 1.3em; "&gt;adb shell rm data/app/HelloAndroid.apk &lt;/code&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-5422280809348816254?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/5422280809348816254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=5422280809348816254&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/5422280809348816254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/5422280809348816254'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2011/12/uninstalling-apk-file-from-emulator-for.html' title='Uninstalling .apk file from Emulator for refresh issue'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-7123536856904896857</id><published>2009-12-03T06:44:00.001-08:00</published><updated>2009-12-03T06:44:35.631-08:00</updated><title type='text'>The bright future of software (my personal views)</title><content type='html'>Just for a momemt think of what software application you have used for the maximum time in the last few months.&lt;br /&gt;I can bet in 99% of the cases it will be a browser.Sometimes when i or my wife we use the PC at home, i had been &lt;br /&gt;observing that i had been using the OS mainly for login/logout and opening the browser.The OS is becoming less &lt;br /&gt;relevant.This is what is leading to the google microsoft tussle.&lt;br /&gt;The near future for the software lies on the browser.Why i am saying the near future, because may be in 10-15 years&lt;br /&gt;there might be something much better then that, and thats the way the technology runs.If you start observing the &lt;br /&gt;bigger companies you will see that most of them are becoming Service Oriented (in terms of providing services to client and not in terms of SOA) and they have started buying smaller &lt;br /&gt;companies that create products.For the web the near future lies in the &lt;br /&gt;&lt;br /&gt;1) Cloud - much hyped but useful, infact for a lot of startups its a boon.&lt;br /&gt;&lt;br /&gt;2) SAAS - profitable business model if it picks up, you get a regular cashflow.&lt;br /&gt;&lt;br /&gt;3) Web 2.0 - whatever it is one thing i am sure a good look and feel will always be important, whether&lt;br /&gt;   buying new pair of shoes from a store or a website, a good look and feel and a good user experience is &lt;br /&gt;   needed in both.&lt;br /&gt;   &lt;br /&gt;4) SOA - bigger companies have to follow this model now or then, the only thing they have to be sure of is&lt;br /&gt;   how much money they spend on it.&lt;br /&gt;   &lt;br /&gt;5) Marketing/Advertising - whether on the web or anywhere else, will always be important.Rarely anything sells &lt;br /&gt;   without marketing.Word of mouth creates a viral effect, if you are able to get in that phase your product has picked up.&lt;br /&gt;   &lt;br /&gt;6) Video - is one of the chief drivers of net, will always remain.&lt;br /&gt;&lt;br /&gt;7) Porn - yes, and will always exist on the web, because of ease of use of access everywhere, because of the web.&lt;br /&gt;&lt;br /&gt;8) Right Information - not sure how else to term it.There is plethora of info on the web, what is relevant and what is not is important.&lt;br /&gt;   Right now to buy a product you read 10-15 reviews on amazon/walmart to make a decision, but are you sure that, that review was written &lt;br /&gt;   by some genuine buyer and not by some sales person.I am not sure who has the time to write 1000 words of review for a small toothbrush &lt;br /&gt;   that they buy on the net.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-7123536856904896857?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/7123536856904896857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=7123536856904896857&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/7123536856904896857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/7123536856904896857'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2009/12/bright-future-of-software-my-personal.html' title='The bright future of software (my personal views)'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-3241631891403433673</id><published>2009-09-25T11:20:00.000-07:00</published><updated>2009-09-25T11:27:42.491-07:00</updated><title type='text'>Debugging JSPs Using Eclipse</title><content type='html'>JSPs are compiled into java classes (servlets) before they are run on the server.For our application we are using Weblogic.&lt;br /&gt;By default weblogic deletes the source files after compiling.&lt;br /&gt;To enable weblogic to keep the source file of the jsps enter these details in the weblogic.xml of the web application&lt;br /&gt;jsp-descriptor&lt;br /&gt;  jsp-param&lt;br /&gt;   param-name&lt;br /&gt;     keepgenerated&lt;br /&gt;   param-name&lt;br /&gt;   param-value&lt;br /&gt;     true&lt;br /&gt;   param-value&lt;br /&gt;  jsp-param&lt;br /&gt;jsp-descriptor&lt;br /&gt;&lt;br /&gt;Also Note that weblogic keeps the compiles jsp classes and source in the same folder.&lt;br /&gt;&lt;br /&gt;Now goto Eclipse&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open your web project&lt;/li&gt;&lt;li&gt;Right click and create a Folder inside the project.Name this folder as 'JSP'&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In the window that opens click on 'Advanced' and link this folder to that folder where weblogic keeps the compiled jsps/source.&lt;/li&gt;&lt;li&gt;Add this folder to the project build path as Source Folder.&lt;/li&gt;&lt;li&gt;Now run weblogic and include a debug point in the compiled source generated&lt;/li&gt;&lt;/ol&gt;Note : You might have to manually refresh the folder to see the source.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-3241631891403433673?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/3241631891403433673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=3241631891403433673&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/3241631891403433673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/3241631891403433673'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2009/09/debugging-jsps-using-eclipse.html' title='Debugging JSPs Using Eclipse'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-1259436965533845061</id><published>2009-08-04T14:05:00.000-07:00</published><updated>2009-08-04T15:06:44.480-07:00</updated><title type='text'>Learning Ruby on Rails - Part 1</title><content type='html'>Steps for creating a new application:&lt;br /&gt;1. Use the rails command to create the application skeleton.&lt;br /&gt;2. Create a database on the database server.&lt;br /&gt;3. Edit database.yml file to tell location of this database&lt;br /&gt;4. Start your webserver.&lt;br /&gt;5. Build your application and test.&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-1259436965533845061?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/1259436965533845061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=1259436965533845061&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/1259436965533845061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/1259436965533845061'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2009/08/learning-ruby-on-rails-part-1.html' title='Learning Ruby on Rails - Part 1'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-2188148391260416710</id><published>2009-06-04T13:13:00.001-07:00</published><updated>2009-06-04T13:16:14.552-07:00</updated><title type='text'>Configuring WGET to work with PROXY server</title><content type='html'>These are the steps on Windows &lt;br /&gt;&lt;br /&gt; 1. set http_proxy=http ://&lt;proxy_host_name&gt;:&lt;proxy_host_port&gt;&lt;br /&gt; 2. wget --proxy-user=&lt;PROXY USERNAME&gt; --proxy-password=&lt;PROXY PASSWORD&gt; http://www.yahoo.com&lt;br /&gt;&lt;br /&gt;and it would fetch the first page of yahoo.com.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-2188148391260416710?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/2188148391260416710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=2188148391260416710&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/2188148391260416710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/2188148391260416710'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2009/06/configuring-wget-to-work-with-proxy.html' title='Configuring WGET to work with PROXY server'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-6938404065852853116</id><published>2009-05-06T14:32:00.000-07:00</published><updated>2009-05-06T14:41:20.680-07:00</updated><title type='text'>Hibernate - 1</title><content type='html'>Starting with s articles on Hibernate dealing with What/Why and How&lt;br /&gt;&lt;br /&gt;1. &lt;span style="font-weight: bold;"&gt;What is Hibernate ?&lt;/span&gt;&lt;br /&gt;Hibernate is an object relational mapping tool for Java Applications. Instead of writing sql code in java, the developer can use Hibernate to persist and retrieve POJOs to the database.&lt;br /&gt;&lt;br /&gt;A POJO maps to a database table.On the java side the developer deals with the POJO and populates its instance with data.Its the job of Hibernate to persist the state of this POJO to the database.Basically behind the scene one row of the database is mapped to one instance of the POJO.&lt;br /&gt;&lt;br /&gt;2. &lt;span style="font-weight: bold;"&gt;Why use Hibernate ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    * Its one of the best ORMS available.&lt;br /&gt;&lt;br /&gt;    * JDBC gets out of hand if the number of screens is very large.&lt;br /&gt;&lt;br /&gt;    * If the development team is not well aquainted with SQL then using Hibernate will solve that&lt;br /&gt;       problem as it optimizes the query before firing them to the database.&lt;br /&gt;&lt;br /&gt;    * Simple to use only one configuration file&lt;br /&gt;&lt;br /&gt;    * Supports many databases&lt;br /&gt;&lt;br /&gt;    * Supports Caching. Can be integrated with many opensource and commercial caches so that&lt;br /&gt;       the POJO's can be caches with the data readily available from cache.&lt;br /&gt;&lt;br /&gt;    * Support Lazy loading i.e to say if we a Person is related to Department.If we need info for&lt;br /&gt;       person only we can state that and info for Department is not fetched along with Person.&lt;br /&gt;&lt;br /&gt;    * Supports outer-join whereby we can fetch multiple object at one shot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-6938404065852853116?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/6938404065852853116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=6938404065852853116&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/6938404065852853116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/6938404065852853116'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2009/05/hibernate-1.html' title='Hibernate - 1'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-8239888759765620505</id><published>2009-05-06T13:10:00.001-07:00</published><updated>2009-05-06T13:10:37.622-07:00</updated><title type='text'>Series on Hibernate</title><content type='html'>I am going to post a Series of Articles on Hibernate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-8239888759765620505?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/8239888759765620505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=8239888759765620505&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/8239888759765620505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/8239888759765620505'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2009/05/series-on-hibernate.html' title='Series on Hibernate'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-5355336393482013162</id><published>2009-04-29T07:39:00.000-07:00</published><updated>2009-04-29T07:41:07.294-07:00</updated><title type='text'>Ajaxifying existing J2EE projects</title><content type='html'>&lt;strong&gt;Introduction &lt;/strong&gt;:&lt;br /&gt;This document gives the steps for extending an existing J2EE application using the Spring MVC/ Spring Portlet MVC (JSR 168 compliant) / Hibernate or any other ORM stack.&lt;br /&gt;&lt;br /&gt;There are basically 2 types of JavaScript libraries. &lt;br /&gt;1.&lt;strong&gt;Client Side Libraries&lt;/strong&gt; : e.g. Sciptaculous / Dojo / YUI Library, provide ready to use Widgets or client side javascript affects.&lt;br /&gt;2.&lt;strong&gt;Server Side JavaScript libraries&lt;/strong&gt; : Which compile javascript code on the server side. Normally these types of libraries handle ajax call from the client side and connect to the code on the server and fetch back the result in javascript. E.g DWR, JSON.&lt;br /&gt;&lt;br /&gt;DWR is a natural choice for Java Web Projects, Simply because it was created with the mindset of having Java on the Server Side.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-5355336393482013162?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/5355336393482013162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=5355336393482013162&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/5355336393482013162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/5355336393482013162'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2009/04/ajaxifying-existing-j2ee-projects.html' title='Ajaxifying existing J2EE projects'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-1121938360480162678</id><published>2008-06-17T08:01:00.000-07:00</published><updated>2008-06-17T08:03:01.633-07:00</updated><title type='text'>When multiple jvms are installed</title><content type='html'>Sometimes multiple jvms are installed on the box and an executable we downloaded requires a particular jvm only.&lt;br /&gt;To start that exe you can use the following command&lt;br /&gt;&lt;br /&gt;start ads.exe %* -console -clean -vm "C:\jdk1.5.0_11\bin\java.exe"&lt;br /&gt;&lt;br /&gt;I have used this to start eclipse 3.2 and eclipse europa from the same box.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-1121938360480162678?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/1121938360480162678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=1121938360480162678&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/1121938360480162678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/1121938360480162678'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2008/06/when-multiple-jvms-are-installed.html' title='When multiple jvms are installed'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-7723924809311181939</id><published>2008-03-26T11:07:00.000-07:00</published><updated>2008-03-26T11:15:39.788-07:00</updated><title type='text'>Running a JSR168 Portlet on Vignette 7.2</title><content type='html'>Vignette is a portlet container.It is installed as a web application on the application server.&lt;br /&gt;It manages the life cycle of the portlets.&lt;br /&gt;There are two ways by which portlets can be created on Vignette&lt;br /&gt;  1. Using native Vignette code (using PortalBeans, which are classes shipped with the Vignette)&lt;br /&gt;  2. Creating a standard jsr168 portlet and deploying it on Vignette.&lt;br /&gt;&lt;br /&gt;Creating a JSR 168 portlet and running it on Vignette 7.2 Portlet container.&lt;br /&gt;&lt;br /&gt;1) Standard JSR168 portlet is deployed as a war file.&lt;br /&gt;2) Open eclipse create a dynamic web project.&lt;br /&gt;3) Create Portlet e.g SamplePortlet by extending GenericPortlet class.&lt;br /&gt;4) Configure the portlet in portlet.xml file.&lt;br /&gt;5) Bundle the classes,portlet.xml,web.xml and jsps in a war file.&lt;br /&gt;6) Now run the Portlet Packaging tool on the war file.&lt;br /&gt;   This file will not become compliant with Vignette&lt;br /&gt;7) Deploy the war file from Weblogic (on the same server that hosts the Vignette)&lt;br /&gt;8) After deploying the portlet gets registered with the Portlet container.&lt;br /&gt;   Thereby you can see the Portlet in Vignette Console.You can now control the access permission or &lt;br /&gt;   apply portlet to pages etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-7723924809311181939?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/7723924809311181939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=7723924809311181939&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/7723924809311181939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/7723924809311181939'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2008/03/running-jsr168-portlet-on-vignette-72.html' title='Running a JSR168 Portlet on Vignette 7.2'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-2339278255032838503</id><published>2008-03-24T14:37:00.000-07:00</published><updated>2008-03-24T14:38:55.428-07:00</updated><title type='text'>Spring MVC Simple App</title><content type='html'>Using Spring MVC (A simple Application)&lt;br /&gt;Using Spring MVC is similar to using Struts except that there are a few changes.&lt;br /&gt;&lt;br /&gt;1) Spring has a DispatcherServlet (like Struts ActionController) that transfers the user    request to an attached Controller.   Basically DispatcherServlet is a FrontController servlet.         In Struts for writing an Action class we need to extend the 'Action' class provided by the Struts framework itself, however for Spring   we donot extend any classes.For writing the Controller in Spring you need to implement an interface for e.g Controller.      Controller class is configured as a bean in Spring.Thereby the power of dependency injection can be used on    the Controller class itself.   e.g     &lt;br /&gt;&lt;br /&gt;package com.spring.test;    &lt;br /&gt; import javax.servlet.http.HttpServletRequest; &lt;br /&gt; import javax.servlet.http.HttpServletResponse;   &lt;br /&gt;  import org.springframework.web.servlet.ModelAndView; &lt;br /&gt; import org.springframework.web.servlet.mvc.Controller;   &lt;br /&gt;  /**    *     * Test controller extends the spring controller  &lt;br /&gt;&lt;br /&gt; *     * @author rmehta    *    */   public class TestController implements Controller {       private String greeting;         public void setGreeting(String greeting) {     this.greeting = greeting;    }             public ModelAndView handleRequest(HttpServletRequest arg0,      HttpServletResponse arg1) throws Exception {     System.out.println("Inside the handle request method of Test Controller");     return new ModelAndView("home","greeting",greeting);    }          }&lt;br /&gt;&lt;br /&gt;   2) Configure the web.xml file to include the DispatcherServlet      &lt;servlet&gt;  &lt;servlet-name&gt;training&lt;/servlet-name&gt;  &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet     &lt;/servlet-class&gt;  &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;     &lt;/servlet&gt;&lt;br /&gt;     &lt;servlet-mapping&gt;  &lt;servlet-name&gt;training&lt;/servlet-name&gt;    &lt;url-pattern&gt;*.htm&lt;/url-pattern&gt;     &lt;/servlet-mapping&gt; &lt;/web-app&gt;&lt;br /&gt;&lt;br /&gt;3) Spring needs an xml file (Bean definition file) where all the beans belong to the Spring framework are registered.   At runtime this file is picked up and beans are handled accordingly by the Spring Framework.   By default Spring mvc tries to pick a file from WEB-INF based on the name of the DispatcherServlet. &lt;br /&gt;&lt;br /&gt; 4) Also use a ViewResolver for the jsps&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-2339278255032838503?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/2339278255032838503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=2339278255032838503&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/2339278255032838503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/2339278255032838503'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2008/03/spring-mvc-simple-app.html' title='Spring MVC Simple App'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-5172476937735472622</id><published>2008-03-24T06:36:00.000-07:00</published><updated>2008-03-24T06:37:07.350-07:00</updated><title type='text'>Basic EJB</title><content type='html'>Creating EJB for Weblogic&lt;br /&gt;1) Create the Java EJB class and interfaces.&lt;br /&gt;2) Write the deployment descriptor&lt;br /&gt;ejb-jar.xml that is compulsory across all the files.&lt;br /&gt;weblogic-ejb-jar.xml is needed for weblogic for specifing ejb name in weblogic jndi server etc.&lt;br /&gt;weblogic-cmp.xml is needed for weblogic.&lt;br /&gt;3) Bundle the files in a Jar file.&lt;br /&gt;4) Deploy the jar in Weblogic in EJB Modules&lt;br /&gt;5) Now the ejb is deployed on the weblogic ejb container and can be used from there.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-5172476937735472622?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/5172476937735472622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=5172476937735472622&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/5172476937735472622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/5172476937735472622'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2008/03/basic-ejb.html' title='Basic EJB'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-510253528020632994</id><published>2008-03-19T13:47:00.001-07:00</published><updated>2008-03-19T13:47:52.104-07:00</updated><title type='text'>Creating a WebService on Weblogic 8.1</title><content type='html'>Weblogic has an extensive set of documentation and examples for deploying webservices.&lt;br /&gt;&lt;br /&gt;There are two ways by which webservices can be created&lt;br /&gt;  1) By writing a Java Class.&lt;br /&gt;  2) By writing a Stateless EJB&lt;br /&gt;&lt;br /&gt;Using Java Class :&lt;br /&gt;    1) Write a public java class,public default constructor (no parameters)&lt;br /&gt;    2) All the business methods that show result data, must be public&lt;br /&gt;    3) Write the Code for this class and the public methods in it.&lt;br /&gt;    4) For Building use the ready made build.xml provided with the weblogic examples.&lt;br /&gt;    5) Use ServiceGen ant task to create the ear that bundles the server side webservices code.&lt;br /&gt;       This command generates the WSDL file,and skeleton classes needed on the Server.It bundles&lt;br /&gt;       them in an EAR file.&lt;br /&gt;       You can also use the ANT deploy task to deploy this ear on the weblogic server&lt;br /&gt;    6) Next use the ANT ClientGen tool to create a jar file.This client jar will contain the stub classes&lt;br /&gt;       needed on the client side for accessing the webservices.&lt;br /&gt;    7) Put the client jar in classpath and create a Client.java class or client class and access the webservice&lt;br /&gt;       deployed on Weblogic.&lt;br /&gt;      &lt;br /&gt;       So basically these steps&lt;br /&gt;      &lt;br /&gt;        Create Java Class -&gt; Build EAR with build.xml -&gt; deploy on weblogic&lt;br /&gt;        Server side part is done..Open webconsole and check the webservices.&lt;br /&gt;       &lt;br /&gt;        Create client jar -&gt; put client jar in classpath -&gt; now create a java client, using the stub classes created and&lt;br /&gt;        access the business method of the WebService&lt;br /&gt;        For the client classes you only require the location of the WSDL file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-510253528020632994?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/510253528020632994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=510253528020632994&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/510253528020632994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/510253528020632994'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2008/03/creating-webservice-on-weblogic-81.html' title='Creating a WebService on Weblogic 8.1'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-8118240113967112251</id><published>2008-03-11T13:46:00.000-07:00</published><updated>2008-03-11T13:47:02.049-07:00</updated><title type='text'>DataStructures and Algorithms.</title><content type='html'>In Ordered Arrays :&lt;br /&gt;1) Search is fast&lt;br /&gt;2) Insertion is slow&lt;br /&gt;3) Delete is Slow&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Arrays are of fixed length,length cannot be changed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;UnOrdered Arrays :&lt;br /&gt;1) Insertion is fast&lt;br /&gt;2) Search is slow&lt;br /&gt;3) Delete is slow&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Sorting in Arrays&lt;br /&gt;&lt;br /&gt;Bubble Sorting&lt;br /&gt;1) Elements move to the R.H.S&lt;br /&gt;2) Very slow&lt;br /&gt;3) Consider having 5 numbers arranged randomly.&lt;br /&gt;4) Check from the 1st two which ever is greater swap to R.H.S and move the smaller on L.H.S.&lt;br /&gt;5) Now check between position 2 and 3 and again which ever is created move to R.H.S.This way&lt;br /&gt;   keep on moving till you reach the end of R.H.S.Finally you will have the largest number on the&lt;br /&gt;   R.H.S&lt;br /&gt;6) Next do the same iteration for n-1 numbers now. from 1 to n-1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Selection Sort :&lt;br /&gt;1) Selection Sort reduces the number of Swaps.&lt;br /&gt;2)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Insertion Sort :&lt;br /&gt;1) Combination of both side of sorts.&lt;br /&gt;2) Divide the number to half.&lt;br /&gt;3) Select a number on index.&lt;br /&gt;&lt;br /&gt;-----------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Linked List&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-8118240113967112251?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/8118240113967112251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=8118240113967112251&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/8118240113967112251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/8118240113967112251'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2008/03/datastructures-and-algorithms.html' title='DataStructures and Algorithms.'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-4578456016789120180</id><published>2008-02-26T07:29:00.001-08:00</published><updated>2008-02-26T07:29:46.845-08:00</updated><title type='text'>Learning Links</title><content type='html'>http://en.wikipedia.org/wiki/Concurrency_control&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-4578456016789120180?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/4578456016789120180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=4578456016789120180&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/4578456016789120180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/4578456016789120180'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2008/02/learning-links.html' title='Learning Links'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-1707706773490771554</id><published>2007-09-27T09:06:00.000-07:00</published><updated>2007-09-27T09:07:09.926-07:00</updated><title type='text'>Tutorials</title><content type='html'>&lt;table id="HB_Mail_Container" height="100%" cellspacing="0" cellpadding="0" width="100%" border="0" unselectable="on"&gt;&lt;tbody&gt;&lt;tr height="100%" width="100%" unselectable="on"&gt;&lt;td id="HB_Focus_Element" valign="top" width="100%" background="" height="250" unselectable="off"&gt;&lt;br /&gt;1. PL/SQL&lt;br /&gt;   &lt;a href="http://infolab.stanford.edu/~ullman/fcdb/oracle/or-plsql.html"&gt;http://infolab.stanford.edu/~ullman/fcdb/oracle/or-plsql.html&lt;/a&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr unselectable="on" hb_tag="1"&gt;&lt;td style="FONT-SIZE: 1pt" height="1" unselectable="on"&gt;&lt;div id="hotbar_promo"&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-1707706773490771554?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/1707706773490771554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=1707706773490771554&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/1707706773490771554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/1707706773490771554'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2007/09/tutorials.html' title='Tutorials'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-4401352271337792755</id><published>2007-06-12T05:17:00.000-07:00</published><updated>2007-06-12T05:18:10.768-07:00</updated><title type='text'>Good SEO article</title><content type='html'>http://www.dqindia.com/content/ebiz/2006/106103001.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-4401352271337792755?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/4401352271337792755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=4401352271337792755&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/4401352271337792755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/4401352271337792755'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2007/06/good-seo-article.html' title='Good SEO article'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-2574118819825030337</id><published>2007-02-12T20:53:00.000-08:00</published><updated>2007-01-03T00:59:49.504-08:00</updated><title type='text'>Installing PHP and Apache</title><content type='html'>&lt;strong&gt;Installing Apache/PHP&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1) download apache 2.2 (msi installer)  &lt;br /&gt;    Install on windows (select all the default options, including installation as a service).&lt;br /&gt;2) Check the installation on port 80 or 8080 (check in httpd.conf)&lt;br /&gt;3) you will also get an apache monitor.&lt;br /&gt;&lt;br /&gt;   &lt;strong&gt;intalling php now&lt;br /&gt;&lt;/strong&gt;1) download php php-5.2.1-Win32 zip file&lt;br /&gt;2) Unzip in say D:\php&lt;br /&gt;3) Copy php5ts file from d:\php\dev to &lt;apache&gt;\bin&lt;br /&gt;4) Put php.ini-dist file in the C:\WINNT or C:\Systemroot and rename   it as php.ini&lt;br /&gt;5) Now add these 4 lines in httpd.conf  &lt;br /&gt;     LoadModule php5_module D:/php/php5apache2_2.dll  &lt;br /&gt;     AddType application/x-httpd-php .php  &lt;br /&gt;     # configure the path to php.ini  &lt;br /&gt;     PHPIniDir "C:/SYSROOT"&lt;br /&gt;6) Restart apache&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Now testing the installation&lt;/strong&gt;&lt;br /&gt;   Create test.php&lt;br /&gt;          &lt;?phpphpinfo();?&gt;&lt;br /&gt;       and store in &lt;apache&gt;/htdocs&lt;br /&gt;       and invoke as &lt;a href="http://localhost/test.php"&gt;http://localhost/test.php&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-2574118819825030337?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/2574118819825030337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=2574118819825030337&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/2574118819825030337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/2574118819825030337'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2007/02/installing-php-and-apache.html' title='Installing PHP and Apache'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-116256693027698217</id><published>2006-11-03T07:11:00.000-08:00</published><updated>2006-11-03T07:15:30.290-08:00</updated><title type='text'>Accessing Tomcat MBeans</title><content type='html'>Tomcat5.5+ has support for MBeans.It gives access to its mbeans via the rmi server, that comes with JDK 1.5.&lt;br /&gt;Enable remote monitoring in JDK\lib\managment\management.properties (setup pwd etc if needed, even ssl can be setup)&lt;br /&gt;Now For Tomcat setup JAVA_HOME to this JDK. and JRE_HOME to the JRE for the same.&lt;br /&gt;and start Tomcat.&lt;br /&gt;&lt;br /&gt;Note: at the time of starting tomcat, start it with this option -Dcom.sun.management.jmxremote=&lt;PORT&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-116256693027698217?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/116256693027698217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=116256693027698217&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/116256693027698217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/116256693027698217'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2006/11/accessing-tomcat-mbeans.html' title='Accessing Tomcat MBeans'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-114906566161023795</id><published>2006-05-31T01:48:00.002-07:00</published><updated>2006-05-31T01:58:02.456-07:00</updated><title type='text'>Grep for a Process (Excluding the process created by 'Grep' itself )</title><content type='html'>ps -aef &amp;#124; grep -v grep &amp;#124; grep &amp;#34;&amp;lsaquo;PID or String Matching &amp;rsaquo;&amp;#34;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-114906566161023795?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/114906566161023795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=114906566161023795&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/114906566161023795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/114906566161023795'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2006/05/grep-for-process-excluding_114906566161023795.html' title='Grep for a Process (Excluding the process created by &apos;Grep&apos; itself )'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-114839917782750077</id><published>2006-05-23T08:45:00.000-07:00</published><updated>2006-05-23T08:46:17.840-07:00</updated><title type='text'>Executing Scripts with SQL Plus</title><content type='html'>&lt;a href="http://web.njit.edu/info/limpid/DOC/server.920/a90842/ch6.htm"&gt;http://web.njit.edu/info/limpid/DOC/server.920/a90842/ch6.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-114839917782750077?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/114839917782750077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=114839917782750077&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/114839917782750077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/114839917782750077'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2006/05/executing-scripts-with-sql-plus.html' title='Executing Scripts with SQL Plus'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-114733093539577231</id><published>2006-05-10T23:46:00.000-07:00</published><updated>2006-05-11T00:04:09.736-07:00</updated><title type='text'>Web Security</title><content type='html'>By sniffing packets on the network,we can get a huge amount of information.By analysing these packets we can make precise conclusions regarding the status of our business or web applications.We can easily find out which machine is putting the maximum load on our web server,or from where the maximum number of requests are coming from,or who is maliciously trying to access our website etc.Getting such kind of information in a normal scenario without sniffing the packets is difficult to obtain.&lt;br /&gt;I recently got interested in this stuff.I am using the tool ethereal for sniffing the packets and reading them.Tried using tcpdump on linux (i guess its bundled along with it),but it doesnot have a good gui.&lt;br /&gt;As the number of pages increase across the web,the need for web security is going higher and higher.There are various ways for securing your web info e.g by using https,going for various levels of authentications, but sniffing will always be a precise way to determine how secure your web info actually is.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-114733093539577231?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/114733093539577231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=114733093539577231&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/114733093539577231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/114733093539577231'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2006/05/web-security.html' title='Web Security'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-113958289971976758</id><published>2006-02-10T06:46:00.000-08:00</published><updated>2006-02-10T06:48:19.730-08:00</updated><title type='text'>Good intro on J2EE</title><content type='html'>This is a great link for anybody who wants to start with j2ee.&lt;br /&gt;&lt;a href="http://java.sun.com/developer/onlineTraining/J2EE/Intro2/j2ee.html"&gt;http://java.sun.com/developer/onlineTraining/J2EE/Intro2/j2ee.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-113958289971976758?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/113958289971976758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=113958289971976758&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113958289971976758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113958289971976758'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2006/02/good-intro-on-j2ee.html' title='Good intro on J2EE'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-113758873581372610</id><published>2006-01-18T04:48:00.000-08:00</published><updated>2006-01-18T04:52:15.830-08:00</updated><title type='text'>Using grep for recursive search</title><content type='html'>I searched on the web there are a lot of options available for this.Do a grep --help and we can get some info on this.I used this command&lt;br /&gt;  grep -i 'pattern to search' *.xml 'pwd' -r&lt;br /&gt;       -i : ignore case&lt;br /&gt;       *.xml : type of file e.g xml as shown above&lt;br /&gt;       'pwd' : searches in the present working directory and under it the sub directories.&lt;br /&gt;        -r : for recursive operation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-113758873581372610?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/113758873581372610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=113758873581372610&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113758873581372610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113758873581372610'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2006/01/using-grep-for-recursive-search.html' title='Using grep for recursive search'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-113677926928541996</id><published>2006-01-08T19:59:00.000-08:00</published><updated>2006-01-08T20:01:09.293-08:00</updated><title type='text'>Using mysql in batch mode</title><content type='html'>When you dump your sql queries in a file and want them to execute from the mysql command prompt,the following options can be used&lt;br /&gt;&lt;br /&gt;mysql&gt;\. filename&lt;br /&gt;   or&lt;br /&gt;mysql&gt; source filename&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-113677926928541996?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/113677926928541996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=113677926928541996&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113677926928541996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113677926928541996'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2006/01/using-mysql-in-batch-mode.html' title='Using mysql in batch mode'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-113134916788781992</id><published>2005-11-06T23:37:00.000-08:00</published><updated>2005-11-06T23:40:08.703-08:00</updated><title type='text'>Using JasperReports</title><content type='html'>For JasperReports the bands generated in the report design are quite important.If you want a tabular detailed report,that shows a row (mapped with each table row),then put this report in the 'Detail' band.If you want a chart that should be the summary of all columns or rows of the table then put it in the 'Summary' band so that it is evaluated only once and depicted at the end of the other reports.I would try to post a complete tutorial on JasperReports in my next Post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-113134916788781992?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/113134916788781992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=113134916788781992&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113134916788781992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113134916788781992'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/11/using-jasperreports.html' title='Using JasperReports'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-113099547669061569</id><published>2005-11-02T21:17:00.000-08:00</published><updated>2005-11-02T21:24:36.703-08:00</updated><title type='text'>JasperReports</title><content type='html'>I have not worked on Crystal Reports etc.JasperReports in the only reporting framework i have used.It is excellent and easy to use with IReport.It goes well with java.Check out this good &lt;a href="http://www.devx.com/Java/Article/29309/1954?pf=true"&gt;tutorial &lt;/a&gt;on the web for JasperReports.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-113099547669061569?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/113099547669061569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=113099547669061569&amp;isPopup=true' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113099547669061569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113099547669061569'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/11/jasperreports.html' title='JasperReports'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-113099211194886591</id><published>2005-11-02T20:25:00.000-08:00</published><updated>2005-11-02T20:28:31.956-08:00</updated><title type='text'>CVS - good book</title><content type='html'>I had a hard time searching for some good documentation on CVS.I did get some tutorials but they were not of much help.Currently this book is online and it is a must read for anybody planning to setup and use CVS.I am planning to use CVS even for our small project,coz its extremely useful for keeping different version of the code.The book can be read online &lt;a href="http://cvsbook.red-bean.com/"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-113099211194886591?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/113099211194886591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=113099211194886591&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113099211194886591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/113099211194886591'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/11/cvs-good-book.html' title='CVS - good book'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-112961623993339919</id><published>2005-10-17T23:15:00.000-07:00</published><updated>2005-10-17T23:17:19.940-07:00</updated><title type='text'>Changing font size in the xterm</title><content type='html'>use "ctrl" "-" "right mouse button"   and select the font type&lt;br /&gt;also you can use xterm -fb arial (to select new font for a new window)...&lt;br /&gt;i am not sure how but i guess even setfont can be used.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-112961623993339919?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/112961623993339919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=112961623993339919&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112961623993339919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112961623993339919'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/10/changing-font-size-in-xterm.html' title='Changing font size in the xterm'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-112848269505586167</id><published>2005-10-04T20:19:00.000-07:00</published><updated>2005-10-04T20:24:55.060-07:00</updated><title type='text'>Windows Admin Account SID</title><content type='html'>For my current project i have to extensively use the Windows Registry for Data.One interesting thing about the registry is,it stores all its users info in the HKEY_USERS key. But the subkeys inside this registry key have some id attached to it.Thats  the SID or Security Identifier to uniquely identify user and group accounts in Windows.Know one thing the SID with '&lt;strong&gt;500&lt;/strong&gt;' at the end of it is the default &lt;strong&gt;Admin&lt;/strong&gt; created by windows,when you install the windows on that system and '&lt;strong&gt;501&lt;/strong&gt;' is for the &lt;strong&gt;Guest &lt;/strong&gt;account.&lt;br /&gt;There is a wonderful book on windows security.You can read the book online &lt;a href="http://pluralsight.com/wiki/default.aspx/Keith.GuideBook.HomePage"&gt;here &lt;/a&gt;,but the book is really good and my suggestion would be to purchase a hard copy of this one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-112848269505586167?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/112848269505586167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=112848269505586167&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112848269505586167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112848269505586167'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/10/windows-admin-account-sid.html' title='Windows Admin Account SID'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-112790922585763451</id><published>2005-09-28T05:01:00.000-07:00</published><updated>2005-09-28T05:07:05.863-07:00</updated><title type='text'>Reading Windows Registry using C#</title><content type='html'>Using C# you can easily access a Windows registry.There is a predefined &lt;strong&gt;Registry&lt;/strong&gt; Class and &lt;strong&gt;RegistryKey&lt;/strong&gt; class.You can read  good doc about this thing &lt;a href="http://www.c-sharpcorner.com/Tutorials/WinRegTutCSMCB.asp"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-112790922585763451?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/112790922585763451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=112790922585763451&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112790922585763451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112790922585763451'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/09/reading-windows-registry-using-c.html' title='Reading Windows Registry using C#'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-112660680654364763</id><published>2005-09-13T03:15:00.000-07:00</published><updated>2005-09-13T03:20:06.546-07:00</updated><title type='text'>Converting WMI raw data to cooked data</title><content type='html'>I was working on one of the features of my product which extensively uses the data from the WMI Win32_PerfRawData class.As the name suggests this data is raw and is not useful until it is cooked or formatted.Well in windows 2003 (the os we are using),there is another class PerformattedData which gives us the cooked data that we can directly use,but i had a hard time getting data from that class.&lt;br /&gt;Some of the counters don't show up at all.&lt;br /&gt;i tried wmiadap /f or wmiadap /resyncperf and started stopped the service using&lt;br /&gt;net stop winmgmt /net start mgmt,but nothing worked for me.Thought wmiadap /f is a good command to generate those counters that don't show up directly.&lt;br /&gt;Later i decided to use the RAW data itself and apply some formulas on it.I must tell you guys had i not found this &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnclinic/html/scripting11182003.asp"&gt;article&lt;/a&gt; on the web i wouldn't have been able to do this part of the product.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-112660680654364763?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/112660680654364763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=112660680654364763&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112660680654364763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112660680654364763'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/09/converting-wmi-raw-data-to-cooked-data.html' title='Converting WMI raw data to cooked data'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-112563611147745472</id><published>2005-09-01T21:33:00.000-07:00</published><updated>2005-09-01T21:41:51.483-07:00</updated><title type='text'>Integrating Apache 2.0 with application server</title><content type='html'>To create a stable j2ee architecture,its a general practise to keep a webserver infront of the Application server.This might help the webserver to serve plain html and .gifs fast to the customer (as static html and gifs reside on it) and can be directly served.While for the dynamic content the request will be forwarded to the Application Server.&lt;br /&gt;I was trying to integrate WebSphere 5.x with Apache 2.0 and believe me even though the docs for websphere are there in the infocenter they are not clear enough.I found a good article on the web that gives extensive description of that,you can access that doc &lt;a href="http://metawire.org/~prasanna/Papers%20and%20Articles/App%20servers/Apache%20with%20application%20servers.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-112563611147745472?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/112563611147745472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=112563611147745472&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112563611147745472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112563611147745472'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/09/integrating-apache-20-with-application.html' title='Integrating Apache 2.0 with application server'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-112174627164532396</id><published>2005-07-18T20:57:00.000-07:00</published><updated>2005-07-18T21:11:11.650-07:00</updated><title type='text'>Deploying a Simple EJB on Weblogic 8.1 using Eclipse</title><content type='html'>I have just installed web tool kit on eclipse,and no specific plugin for weblogic.But you still get the option to deploy on weblogic 8.1 , 7 etc etc.&lt;br /&gt;   Before writing and deploying an ejb using eclipse make sure you have&lt;br /&gt;downloaded XDoclet and other necessary files mentioned below......&lt;br /&gt;   &lt;UL&gt;&lt;br /&gt;     &lt;LI&gt; xdoclet-1.2.1.jar &lt;/LI&gt;&lt;br /&gt;     &lt;LI&gt; xdoclet-ejb-module-1.2.1.jar &lt;/LI&gt;&lt;br /&gt;     &lt;LI&gt; xdoclet-xdoclet-module-1.2.1.jar &lt;/LI&gt;&lt;br /&gt;     &lt;LI&gt; xjavadoc-1.0.3.jar &lt;/LI&gt;&lt;br /&gt;     &lt;LI&gt; commons-logging.jar &lt;/LI&gt;&lt;br /&gt;     &lt;LI&gt; commons-collections-2.0.jar &lt;/LI&gt;&lt;br /&gt;  &lt;/UL&gt;&lt;br /&gt;   Put these jar files in say C:\XDoclet.&lt;br /&gt; Now in the eclipse window choose Windows -&gt; Preferences -&gt; J2EE Annotations -&gt; XDoclet &lt;br /&gt;and specify the path ( for e.g C:\XDoclet) and version 1.2.1 (in my case).&lt;br /&gt;&lt;br /&gt;Creating the EJB is simple and the steps are mentioned in this tutorial &lt;a href="http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial/buildingejbs.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I must say that i could not directly deploy the ejb on weblogic as the jar file created for the ejb module contained another jar file for the ejb client, and weblogic didnot recognize the classes in this client.jar and we get an exception while deploying the ejb on weblogic.&lt;br /&gt;The workaround is to bundle the jar file with the respective client.jar classes manually and then deploy on weblogic.&lt;br /&gt;&lt;br /&gt;A better solution would be to download the weblogic plugin(for eclipse) from bea , and use it.I have recently installed this plugin but i have not used it yet,i am not sure how good it is.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-112174627164532396?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/112174627164532396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=112174627164532396&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112174627164532396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112174627164532396'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/07/deploying-simple-ejb-on-weblogic-81.html' title='Deploying a Simple EJB on Weblogic 8.1 using Eclipse'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14410591.post-112114473036141950</id><published>2005-07-11T22:04:00.000-07:00</published><updated>2005-07-13T00:25:21.296-07:00</updated><title type='text'>How I installed Eclipse on my windows 2000 professional</title><content type='html'>Download the eclipse.zip file from &lt;a href="http://www.eclipse.org/downloads/index.php"&gt;here&lt;/a&gt;.&lt;br /&gt;For developing web/j2ee projects you need to download these files too.&lt;br /&gt;1) &lt;a href="http://www.eclipse.org/emf/"&gt;EMF&lt;/a&gt;&lt;br /&gt;2) &lt;a href="http://www.eclipse.org/gef/"&gt;GEF&lt;/a&gt;&lt;br /&gt;3) &lt;a href="http://www.eclipse.org/vep/"&gt;JEM&lt;/a&gt;&lt;br /&gt;just unzip all these files in say C:\eclipse and you are done with the installation on windows.&lt;br /&gt;Now click on eclipse.exe and you can start using eclipse.&lt;br /&gt;&lt;br /&gt;Also i did a few other changes....&lt;br /&gt;     First check if jdk is selected properly....check in Windows - Preferences - Java - Installed Jre....(its better to choose a jdk version 1.4.2 or higher)......&lt;br /&gt;     I excluded the debugging option ,i am not sure but it used to hang my machine.For this go to Windows - Preferences - Validation, here choose the type that you would be needing.&lt;br /&gt;     I prefered to build and clean manually rather then doing it automatically thereby i disabled the build automatically option from Project - Build Automatically.&lt;br /&gt;&lt;br /&gt;A good tutorial on building a web project with eclipse can be found &lt;a href="http://www.eclipse.org/webtools/testtutorials/M2/tutorial1/wtp-tutorial-I.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14410591-112114473036141950?l=j2eeworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2eeworld.blogspot.com/feeds/112114473036141950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14410591&amp;postID=112114473036141950&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112114473036141950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14410591/posts/default/112114473036141950'/><link rel='alternate' type='text/html' href='http://j2eeworld.blogspot.com/2005/07/how-i-installed-eclipse-on-my-windows.html' title='How I installed Eclipse on my windows 2000 professional'/><author><name>Rajat</name><uri>http://www.blogger.com/profile/01506888036912218902</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
