<?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-2300834038074061209</id><updated>2011-08-31T04:29:54.129-07:00</updated><title type='text'>bavads</title><subtitle type='html'>My first gig ....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-4505509447796492833</id><published>2011-03-16T18:35:00.001-07:00</published><updated>2011-03-16T19:41:41.487-07:00</updated><title type='text'>jmxterm</title><content type='html'>one of the best utilities i have used... took me just a couple of mins to get started.... &lt;br /&gt;&lt;br /&gt;very helpful if you have to write your own monitoring of your applications using mbeans .. easily coupled with rrd and drraw it is a breeze... although you have tools like hyperic ... et al .. there is no greater fun than writing your monitoring solution...&lt;br /&gt;&lt;br /&gt;more info once i have a readme on this... a simple how to..&lt;br /&gt;&lt;br /&gt;using the following command - you can get the queue for the JMS topic&lt;br /&gt;&lt;br /&gt;echo get -s -b org.apache.activemq:BrokerName=localhost,Destination=TASK.EVENT,Type=Topic QueueSize | java -jar jmxterm-1.0-alpha-4-uber.jar -l localhost:7010 -v silent -n&lt;br /&gt;&lt;br /&gt;start your app with arguments like -Dcom.sun.management.jmxremote.port=7009 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-4505509447796492833?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/4505509447796492833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2011/03/jmsterm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/4505509447796492833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/4505509447796492833'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2011/03/jmsterm.html' title='jmxterm'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-2581063681314990538</id><published>2010-12-03T11:58:00.000-08:00</published><updated>2010-12-03T11:59:53.849-08:00</updated><title type='text'>JAVA VM monitoring via snmp via jmx</title><content type='html'>Never let go of this link &lt;br /&gt;http://docs.sun.com/app/docs/doc/820-5704/bhamf?l=en&amp;a=view&lt;br /&gt;&lt;br /&gt;also complete the information here for the entire set-up of monitoring using snmp jmx rrd drraw&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-2581063681314990538?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/2581063681314990538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2010/12/java-vm-monitoring-via-snmp-via-jmx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/2581063681314990538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/2581063681314990538'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2010/12/java-vm-monitoring-via-snmp-via-jmx.html' title='JAVA VM monitoring via snmp via jmx'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-1210760552655016190</id><published>2010-10-07T20:57:00.000-07:00</published><updated>2010-11-15T20:11:34.325-08:00</updated><title type='text'>Mac, eclipse, cocoa, netbeans and some more</title><content type='html'>Eclipse using cocoa on mac os x gave me the biggest headache... &lt;br /&gt;&lt;br /&gt;could not cut, copy, paste in eclipse. nothing got copied to the clipboard and no help on the net to resolve this issue. after spending a lot of time, gave up and installed net beans. Am impressed with Netbeans, it is light, sleek and impressive. However, importing eclipse projects into netbeans isnt clean enough and hence gave up on getting everything right. too much initial investment for the move from eclipse to netbeans. &lt;br /&gt;&lt;br /&gt;After many tries, got the EasyEclipse distro which is good and allows COPY &amp; PASTE without any issues... &lt;br /&gt;&lt;br /&gt;so far so good ... till the next blocking issue...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;====&lt;br /&gt;&lt;br /&gt;figured out the entire mess ...&lt;br /&gt;&lt;br /&gt;I was starting eclipse from shell and this caused all the problems. If you start eclipse as such, the paste command is not directed to the UI, but is pasted to the shell... &lt;br /&gt;&lt;br /&gt;I started eclipse from the dock and everything worked ok... i had to own all the files in the workspace / projects and that was it... now copy / paste is no longer a problem...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-1210760552655016190?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/1210760552655016190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2010/10/mac-eclipse-cocoa-netbeans-and-some.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/1210760552655016190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/1210760552655016190'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2010/10/mac-eclipse-cocoa-netbeans-and-some.html' title='Mac, eclipse, cocoa, netbeans and some more'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-7208564786901953082</id><published>2009-07-29T11:08:00.001-07:00</published><updated>2009-07-29T11:13:56.839-07:00</updated><title type='text'>Inspiring</title><content type='html'>Looking around, we find so many things that are inspiring .... Read this update and looked at the things that engineering teams brag about ... &lt;br /&gt;&lt;br /&gt;http://blog.jinspired.com/&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jinspired.com/images/1bops.comparison.chart.gif"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 250px; height: 175px;" src="http://www.jinspired.com/images/1bops.comparison.chart.gif" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This kind of information just inspires you to reach new heights instead of being bogged down by the difficult times ....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-7208564786901953082?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/7208564786901953082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2009/07/inspiring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/7208564786901953082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/7208564786901953082'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2009/07/inspiring.html' title='Inspiring'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-7705040100764472382</id><published>2009-07-07T10:44:00.000-07:00</published><updated>2009-07-07T10:46:36.541-07:00</updated><title type='text'>Marc Andreessen - VC and Platform</title><content type='html'>Heard about this yesterday and was pleasantly surprised by the news bit on NPR..&lt;br /&gt;&lt;br /&gt;http://www.businesswire.com/portal/site/home/permalink/?ndmViewId=news_view&amp;newsId=20090706005222&amp;newsLang=en&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Platforms explained...&lt;br /&gt;&lt;br /&gt;http://blog.pmarca.com/2007/09/the-three-kinds.html&lt;br /&gt;&lt;br /&gt;I like his blog ... the clarity of thoughts and the optimism of approach ..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-7705040100764472382?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/7705040100764472382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2009/07/marc-andreessen-vc-and-platform.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/7705040100764472382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/7705040100764472382'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2009/07/marc-andreessen-vc-and-platform.html' title='Marc Andreessen - VC and Platform'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-1943913225639668816</id><published>2009-07-01T12:07:00.000-07:00</published><updated>2009-07-01T12:10:33.429-07:00</updated><title type='text'>Platform ...</title><content type='html'>My thoughts that are exactly echoed here ...&lt;br /&gt;&lt;br /&gt;http://longjump.com/platform/platform-features.htm&lt;br /&gt;&lt;br /&gt;What I feel is that platform and services around it are all combined...(must be for marketing)... but I believe platform should provide just the basic features - rather be only the runtime and should address only few concerns ... &lt;br /&gt;&lt;br /&gt;Interesting to read this though ... for me .. just one more validation of my thought process..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-1943913225639668816?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/1943913225639668816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2009/07/platform.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/1943913225639668816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/1943913225639668816'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2009/07/platform.html' title='Platform ...'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-8006806150157654516</id><published>2009-06-30T12:56:00.000-07:00</published><updated>2009-06-30T13:09:52.000-07:00</updated><title type='text'>Is JSON the way</title><content type='html'>Object Notation, dynamic proxy, plugin architecture - Have been thinking about these two a lot nowadays... in the context of I ... my nickname for the platform. I = infinitely scalable...&lt;br /&gt;&lt;br /&gt;Is it possible to build a platform that provides this capability ... ? Also can the same paradigm be used for web framework... &lt;br /&gt;&lt;br /&gt;An anology from a case study done during my business school days ... about boeing... the thing that struck me is the way planes are built ... this is not an assembly line concept where work passes through stages ... but plane (an object, artifact) being built where people / processes collaborate to get a unit of work done.&lt;br /&gt;&lt;br /&gt;How can this be applied to a platform that is built around similar concepts where unit of work defines the collaborators. If this concern can be addressed then what you get is an infinitely scalable platform. With a simple jdk (any runtime for that matter) and a farm of servers can the platform orchestrate this unit of work / delegate to a server who is free and provide the necessary collaborators for completing the same.&lt;br /&gt;&lt;br /&gt;Declarative definitions for a model and a technology like JSON which is a simple object definition, can they come together, be dispatchable to a free server and a unit of work be done and can it be done fast and reliable. The notion of a virtual platform which manages a pool of workers who have nothing but a jdk (or any runtime) seems appealing. &lt;br /&gt;&lt;br /&gt;This paradigm can also be then applied to a web framework where you dont write tons of jsps / asp / php ... but platform provides the necessary objects &amp; templates and instructions to get a unit of work done (say render a widget or a portlet or a page)...&lt;br /&gt;&lt;br /&gt;Idle mind .. is a dreamer's workshop... &lt;br /&gt;&lt;br /&gt;Need to get a job first ... my 2 week job sprint (finding a job sprint) going on.... !!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-8006806150157654516?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/8006806150157654516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2009/06/is-json-way.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/8006806150157654516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/8006806150157654516'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2009/06/is-json-way.html' title='Is JSON the way'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-3374029301445874106</id><published>2009-06-25T09:12:00.000-07:00</published><updated>2009-06-25T09:13:40.378-07:00</updated><title type='text'>Pearson getting a stake in a couple of Indian Companies</title><content type='html'>Interesting to see this news....&lt;br /&gt;&lt;br /&gt;http://www.nytimes.com/2009/06/25/business/global/25rupee.html?_r=1&amp;ref=technology&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-3374029301445874106?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/3374029301445874106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2009/06/pearson-getting-stake-in-couple-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/3374029301445874106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/3374029301445874106'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2009/06/pearson-getting-stake-in-couple-of.html' title='Pearson getting a stake in a couple of Indian Companies'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-8115671560559375341</id><published>2009-06-23T10:19:00.000-07:00</published><updated>2009-06-23T11:08:37.282-07:00</updated><title type='text'>Starting your own gig</title><content type='html'>Last two weeks have been interesting. Talking to lot of people and running my ideas around, I got good / interesting advice. Let me hash out a cookbook (cheat sheet) for anyone who is interested and jot down notes that I can come back to later.&lt;br /&gt;&lt;br /&gt;1. VISION&lt;br /&gt;&lt;br /&gt;Cliched but essential. Not going down to the grand description as taught in business schools.  What is needed here is a definition of what you want to achieve. Right now I have an idea which is I would say is ummm..... half baked. It is in my mind constantly and I keep thinking about it day and night. However, what I need to do at this juncture is verbalize it. A good bit of advice given to me is put it down in a powerpoint. This achieves two goals - a. Helps verbalize ideas in your mind &amp;amp; b. this is the medium by which you can attract / recruit a team who would contribute their time.&lt;br /&gt;&lt;br /&gt;2. BUSINESS PLAN&lt;br /&gt;&lt;br /&gt;Again not a grand treatise here, but penning down series of progression on what need you are trying to resolve. Need, Solution, Competing solutions, Strengths of your solution, Adoption (sales) cycle, Possible monetiziation.&lt;br /&gt;&lt;br /&gt;At this point, you have a basic set defined of what you are embarking on. Next is getting feedback. Talk to people and discuss. In general, you tend to have a bias and you need someone to challenge your thoughts.&lt;br /&gt;&lt;br /&gt;3. TEAM&lt;br /&gt;&lt;br /&gt;After this go about getting good people on board. Work with a team of 5-6 to contribute towards a mashup / prototype. This would be a new experience for me and I know the challenge would be managing engineers who are innovators and working on their own time with no assured returns.&lt;br /&gt;&lt;br /&gt;My ideal team that I am looking for is&lt;br /&gt;&lt;br /&gt;1. My Self in the role of a product manager (define vision), project manager(timelines/dependencies), designer (architect), code (developer), test (QA), SCM, IT, Janitor ... all in one.&lt;br /&gt;2. Technologist - An architect who is focussed on simplicity and elegance.&lt;br /&gt;3. Advisor - Thought leader necessary to expand the boundaries of current thinking.&lt;br /&gt;4. Developer1 - Front end developer&lt;br /&gt;5. UI designer - Images, flash, css, look and feel&lt;br /&gt;&lt;br /&gt;4. PROTOTYPE &amp;amp; ADOPTION&lt;br /&gt;&lt;br /&gt;Build a simple prototype (but i do want it jazzy to get the wow factor) with limited functionality. &lt;br /&gt;&lt;br /&gt;Deploying your proto and getting some traction I feel is essential to get feedback on what you are doing. Start sowing seeds of this thought process right now. The points mentioned above are all under your control. This is the point of inflexion where you are ready to show your solution to your target.  I believe much will depend on how this phase goes.&lt;br /&gt;&lt;br /&gt;5. FUNDING&lt;br /&gt;&lt;br /&gt;I am not clear on this aspect, but this would be taking the next step in your enterprise. There are variety of avenues that can be used depending on what you need. Angel / VC / equity / debt et al. But here I feel an understanding of what you need, how much you need and why you need needs to be hashed out. As a general principle what I feel is that this negotiation needs to be at a level playing field. As much as you need funds, I believe in this economy, people with money also would be looking out for ventures that they can invest in.&lt;br /&gt;&lt;br /&gt;But I will think about this around the time I feel we are there.&lt;br /&gt;&lt;br /&gt;I dont know how I am going to fare, but one thing came to my mind as I was talking to a friend of mine recently - "&lt;span style="font-weight: bold;"&gt;I dont want to be accused of thinking small and failing, but I want to think big and succeed.&lt;/span&gt;"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-8115671560559375341?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/8115671560559375341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2009/06/starting-your-own-gig.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/8115671560559375341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/8115671560559375341'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2009/06/starting-your-own-gig.html' title='Starting your own gig'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-1599796935630793194</id><published>2009-06-18T09:53:00.000-07:00</published><updated>2009-06-18T10:10:33.154-07:00</updated><title type='text'>Mock Objects</title><content type='html'>TDD and Mock Objects&lt;br /&gt;&lt;br /&gt;Been playing with this for some time now. Test Driven Development requires a change in approach on designing and developing code. My natural instincts are to understand the requirement, design contracts (interfaces), implement and then unit test them. TDD disrupts the natural cadence and adapting to this approach requires some diligence and discipline.&lt;br /&gt;&lt;br /&gt;I have not entirely discarded this approach but read an interesting interview by Donald Knuth - http://www.informit.com/articles/article.aspx?p=1193856&lt;br /&gt;&lt;br /&gt;So coming back to Mock Objects - here are my 2 cents. I feel that it makes sense to Mock Objects at early stage of development during the time the code is getting baked in. Some of things become difficult when you play with Mocks. For e.g. a method that does some heavy business logic where multiple objects collaborate, you end up mocking a lot of those.  The test becomes that much more complex and you end up writing more code. Then there are frameworks... I looked at jmock and EasyMock. I discarded jmock soon when I realized that I cannot mock a class without an interface. I dont want to write interface for every object that I want to use. EasyMock gives a good classextension which is handy to mock classes and specific methods. However, what I found out this also needs methods to get/set the objects to mock.&lt;br /&gt;&lt;br /&gt;For e.g.&lt;br /&gt;&lt;br /&gt;UserService{&lt;br /&gt;  authenticate(...){&lt;br /&gt;   UserDao ud = new UserDao(); // Cannot mock UserDao which is instantiated within the method&lt;br /&gt;   ud.fetch(...);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}  &lt;br /&gt;&lt;br /&gt;So I end up writing a getter / setter method and then mock it and set it to what I want UserDao to do.&lt;br /&gt;&lt;br /&gt;I can easily write a unit test that actually works with a sample db and provides me data driven simulation of all the logic. Isnt that what I am actually looking for? Isnt simplicity the overall concern of any code that you write and do you want to disturb this cadence by overly complicating without gaining much...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-1599796935630793194?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/1599796935630793194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2009/06/mock-objects.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/1599796935630793194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/1599796935630793194'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2009/06/mock-objects.html' title='Mock Objects'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2300834038074061209.post-1375412642213736611</id><published>2009-06-16T15:58:00.000-07:00</published><updated>2009-06-16T16:15:39.050-07:00</updated><title type='text'>Platform</title><content type='html'>looking at things to do for my first gig, i have decided to build yet another social network. Is it difficult? ... maybe... how to monetize it? ... ad based ... huh ... not so much. people have done that and is so yesterday.&lt;br /&gt;&lt;br /&gt;however for my quest here, i need a good foundation. so looking at platform to build a network on. and that is the basic question. what is a platform and what should it do? what should the platform provide that differentiates a platform from the services and application built on top of it.&lt;br /&gt;&lt;br /&gt;a platform is a runtime on which models interact to provide a business solution. does it then orchestrate persistence, state, sequence of events, notifications? or is it a means to declarative define all these? right now my search is to isolate what is and what is not a platform....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2300834038074061209-1375412642213736611?l=bavads.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bavads.blogspot.com/feeds/1375412642213736611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bavads.blogspot.com/2009/06/platform.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/1375412642213736611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2300834038074061209/posts/default/1375412642213736611'/><link rel='alternate' type='text/html' href='http://bavads.blogspot.com/2009/06/platform.html' title='Platform'/><author><name>bavads</name><uri>http://www.blogger.com/profile/15037650579511890896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://4.bp.blogspot.com/_LxVdY9jF0AI/SjgojIrBzYI/AAAAAAAAA0s/gFeLxlsZAVA/S220/linkedin_1.PNG'/></author><thr:total>0</thr:total></entry></feed>
