Rohit Prabhakar

I build agentic revenue systems for Fortune 50 companies

  • Digital Transformation
  • Leadership
  • Marketing
  • Writing
  • Home
  • Privacy Policy

Happy Lohri!!

January 13, 2010 by Rohit Prabhakar Leave a Comment

Lohri is one of the most popular festivals in India and especially the North. It is marked with Bonfire in the open at night. The whole family/neighborhood get together at a single place, light up a bonfire and eat sweets (Gachak, rewari etc.) and roasted peanut. The festival is a celebration to get a good harvest of wheat as it is the winter crop in North India.

The festival is commenced by offering the sweets, peanuts and popcorn to the fire (God Agni).

Filed Under: The Frontier, Trends Tagged With: Chandigarh, Culture, festivals, gachak, India, lohri, Punjab, rewari

links for 2010-01-06

January 7, 2010 by Rohit Prabhakar

  • Netflix and Warner Bros. deal: They win we loose! | Rohit Prabhakar
    (tags: netflix, warner, agreement, movies, trend)
  • Netflix DVD Rental, Movies Streamed Online, DVD & Blu-Ray Movie
  • Netflix, Warner Bros. End Dispute, Reach Deal on DVDs (Update3) – BusinessWeek
  • My Netflix account: It’s not about DVDs anymore – Pop Candy: Unwrapping pop culture’s hip and hidden treasures
  • Netflix – Wikipedia, the free encyclopedia
  • 28 Days Later: Say Goodbye to the Netflix New Release Rental
  • Netflix to delay renting some new DVDs – Consumer news- msnbc.com
  • The Official Netflix Blog

Filed Under: The Frontier, Trends Tagged With: Chandigarh, dalhousie, Damtal, Kangra, Mohtli, nurpur, pathankot, Petaluma, Rohit Prabh, zirakpur

Chandigarh: useful links

January 4, 2010 by Rohit Prabhakar 2 Comments

  • Love Chandigarh
  • chandigarh,chandigarh Online, All about chandigarh, My chandigarh, Know chandigarh
  • Mera Chandigarh
  • Chandigarh – Wikipedia, the free encyclopedia
  • Chandigarh Tourism – The Hub of North India
  • Chandigarh City Guide,Chandigarh India,Punjab,Mohali,Chat,Hotels and Travel, Classifieds
  • CITCO
  • Chandigarh, Chandigarh Map
  • Official Website of Chandigarh Administration
  • The Tribune, Chandigarh, India
  • Postgraduate Institute of Medical Education & Research, Chandigarh
  • Chandigarh traffic police, promoting road safety, traffic safety, India road signs & rules, safe responsible driving, first aid India.

Filed Under: The Frontier, Trends Tagged With: Chandigarh, links, useful

Resolutions for 2010: Let’s make a better world!

January 2, 2010 by Rohit Prabhakar Leave a Comment

Hi Friends as the 2010 has started with the feeling of a fresh new decade let’s share some of our resolutions that will impact others and help in making a better world.

I will followup this note with my resolutions as they are still in the process of cooking. I will truly appreciate your comments and I believe that no resolution is small or big as all take strength and and attitude to fulfill.

Filed Under: The Frontier, Trends Tagged With: 2010, Chandigarh, charity, Damtal, India, let smake it better, Mohtli, new year, reolutions, Rohit Prabhakar

Happy New Year 2010

January 1, 2010 by Rohit Prabhakar Leave a Comment

Happy New Year 2010

Happy New Year 2010

May the dawning of this New Year, fill your heart with lots of new hope, open up new horizons and bring for you promises of brighter tomorrows. May you have a great New Year.

Wish you the very Best!
Rohit Prabhakar

Filed Under: The Frontier, Trends Tagged With: 2010, Chandigarh, Damtal, Happy New Year, Mohtli, Petaluma, Rohit Prabhakar, San Francisco

Mapping a class several times

April 19, 2007 by Rohit Prabhakar Leave a Comment

Mapping a class several times

Imagine that you have several tables with some columns in common. For example, you could have ITEM_AUCTION and ITEM_SALE tables. Usually you map each table to an entity persistent class, ItemAuction and ItemSale respectively. With the help of entity names, you can save work and implement a single persistent class.
To map both tables to a single persistent class, use different entity names (and usually different property mappings):

…

entity-name=”ItemSale” table=”ITEM_SALE”>
…

The model.Item persistent class has all the properties you mapped: id, description, initialPrice, and salesPrice. Depending on the entity name you use at runtime, some properties are considered persistent and others transient:
Item itemForAuction = new Item();
itemForAuction.setDescription(“An item for auction”);
itemForAuction.setInitialPrice( new BigDecimal(99) );
session.save(“ItemAuction”, itemForAuction);
Item itemForSale = new Item();
itemForSale.setDescription(“An item for sale”);

Domain models and metadata
itemForSale.setSalesPrice( new BigDecimal(123) );
session.save(“ItemSale”, itemForSale);

Thanks to the logical entity name, Hibernate knows into which table it should insert the data. Depending on the entity name you use for loading and querying entities, Hibernate selects from the appropriate table.

Rohit Prabhakar
www.rohitprabhakar.com

content from http://prabhakars.blogspot.com/atom.xml

Filed Under: Technology, The Frontier Tagged With: Chandigarh, Hibernate, mapping, multiple tables, Rohit Prabhakar

Java Tiger (Java 5) is a history

December 16, 2006 by Rohit Prabhakar Leave a Comment

Java Tiger (Java 5) is a history now after one more release from the sun, now we have Java 6. Sun has finally announced the availability of Java Standard Edition 6‘ final release.

The new release has an improved JIT, with better runtime analysis. This has been well tested and agreed upon by the users of the pre-release version. Those who used the pre-release version have put the improvement in performance between 5%- 24%. The new release also has dynamic language support as now it comes with JavaScript engine (Netscape’s Rhino) and support for many other scripting languages like Ruby, and Python.

For the guys who are working with the rich clients, the new release has splash screen, system tray support etc.

The new Java6 profilers and debuggers can now attach to a running JVM without specifically using a debugging-capable configuration. For example, if a problem is found at run-time for a production server, a debugger can attach to it without restarting the server, a valuable feature for issues that show up after the server has been running for a long period. This is a great feature for the guys in the enterprise community.

You can read more in detail at http://java.sun.com/javase/6/

Happy Programming!

content from http://prabhakars.blogspot.com/atom.xml

Filed Under: Programming, The Frontier Tagged With: Chandigarh, Computers, Java, Prabhakar, Rohit Prabhakar, Tiger

  • 1
  • 2
  • Next Page »

Copyright © 2026 · Genesis Framework · WordPress · Log in