Tuesday, December 30, 2008

VeriSign's SSL Cracked

I am very much surprised to see MD5 algorithm cracked, oops here is glimpse from the article to read more use the link below

With the help of about 200 Sony Playstations, an international team of security researchers has devised a way to undermine one of the algorithms used to protect secure Web sites — a capability that the researchers said could be used to launch nearly undetectable phishing attacks.


To accomplish that, the researchers said today that they had exploited a bug in the MD5 hashing algorithm used to create some of the digital certificates used by Web sites to prove they are what they claim to be. The researchers said that by taking advantage of known flaws in the algorithm, they were able to hack VeriSign Inc.'s & RapidSSL.com certificate authority site and create fake digital certificates for any Web site on the Internet.

To read more about the article click here and here and CNET artlice

Business Process not deploying (com.ibm.bpe.util.VersionInfo.(VersionInfo.java:52))

I was trying to publish the application (Business process) module in WID to the server. The server was kept on throwing the error
000000c1 SystemErr R java.lang.NullPointerException
000000c1 SystemErr R at java.util.StringTokenizer.(StringTokenizer.java:197)
000000c1 SystemErr R at java.util.StringTokenizer.(StringTokenizer.java:219)

000000c1 SystemErr R at com.ibm.bpe.util.VersionInfo.(VersionInfo.java:52)

00000c1 SystemErr R at com.ibm.bpe.util.VersionInfo.(VersionInfo.java:47)
000000c1 SystemErr R at com.ibm.bpe.management.application.DeploymentTargetContext.initNodeVersionMap(DeploymentTargetContext.java:565)
000000c1 SystemErr R at com.ibm.bpe.management.application.DeploymentTargetContext.(DeploymentTargetContext.java:98)
000000c1 SystemErr R at com.ibm.bpe.management.application.AbstractDeploymentTask.getDeploymentTargetContexts(AbstractDeploymentTask.java:260) 000000c1 SystemErr R at com.ibm.bpe.processarchive.SCDLProcessComponentConfigureTask.performTask(SCDLProcessComponentConfigureTask.java:301) 000000c1 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:262)
SystemErr R at java.lang.Thread.run(Thread.java:810)


Then i found that i was trying to publish a module to ESB server. I started the websphere process server and published the project. It was successfully published and started. BPEL modules cannot be published on ESB. If you are getting this error first check this and add it to your checklist

Wednesday, December 17, 2008

Love for Last Bench aka Seat

I thought about this when i got into the company transport today morning.My mind started searching (Scans) automatically for the last seat or one before it and my legs started moving towards the seat.I don't know when i started this habit of loving last seat, may be long back.




As i try to remember, in school times that was my first school change i was in new school put up in boarding(hostel).Sitting in the first bench on the very first day. Sasi (Now Dr.SasiKumar) told that i have to shift my place once one of the guy(his friend) come back from leave (he usaully doesn't come on the first day of the school starting). After a coulple of days a Big Boy (we say 'gunda' in our native language) came and pushed me with the bag to the other side of the bench. That's it i took my bag and started walking as usual to the last bench were my entire year passed. The guy who came and pushed me none other than Mr.Gobinath

Our transport system, most of the front side seats are reserved for ladies, so most of the time we (i) used to seat at the last.In cinema theater (movie halls) we fight for last seat (that is obvious).

After joining college this habit continued. Four years the entire last row is our place. Even in the Labs i liked the last place.

Generally in schools and colleges (India) there is kind of belief that people who are sitting in last bench are of no worth. They used to see those persons sitting in the last as of some stupid people. What ever happens we will the first persons to thrown out of the class

Still i love to sit in the last bench and don't know the reason why i like it.

Friday, December 12, 2008

WID+ClearCase (Killer Combination)

Yes exactly its a Killer Combination WID+Clearcase (WebSphere Integeration Developer+ClearCase). It can easily take away all of your development time by making some wild assumptions !!!!. I think when these guys get togther they have AI (Artifical Inteligence) or the Seventh Sense. My God ... no even god can't save you. We have been using this combination WID+Clearcase for the past two years.In a way its good b'coz its good CM(Configuration Management) tool.


For us it started with one fine day, when i started my machine and opened my WID did a clean Build (Alt+p+n). I see hell lot of errors. I got scared b'coz we were in middle of our testing cycle. I started checking am i the culprit. All the error was leading to XSD file. when i opened the file it had .............. I am not adding etc.. dots here guys. Its the dot(.) character i see at the end of the file. Hurray i can find who did this checked in clearcase about the history no one has edited the file from the creation date. I got confused and deleting the unwanted character did Alt+p+n.

Everything was normal. Couple of days gone, the monster returns back this time not only in machine space, couple of other machines too faced but with different files. S...t i had this bug did the same thing and cleaned it. From that day still we are getting this issue. Earlier it was only on XSD file It has grown and it managed to spread to .java, .mon , .bpel, .import, .sca module ...... yes all the project files.

One improvement with the issue, it started adding some other characters other than dot to the file. But it has been consistent it adds only at the last

The only solution for this is to checkout the file delete the character and check in again. we have raised a PMR a longgggggggg back. IBM as usual started asking all the log files and their list of documents. We have provided them but they say they are not able reproduce this.

Hope they never. So the only solution is the above one.

Its weekend guys enjoy.... take a break from work ....

Thursday, December 11, 2008

Black (PS2 Game)

you could have easily figured out that i am speaking about Video Games that too PS2 games. Most of the people including my parents ask me to that how can you play games at this age. Age doesn't matter. Its not a sin or offensive i like it( i'm loving it). That too when i bought PS2 hurray. Gobi was keep on asking how did i buy that he was opposing it b'coz of the cost. Atlast one day i couldn't come out empty handed after seeing at it. i bought PS2 and told him that i had some good offers etc.. etc.. (some bluffing). If he reads this he will come to know the truth. Yes buddy i lied you.

Enough is enough about the history, bought a couple of games NFS, Medal of Honour and we started playing. I didn't like Medal if Honour, but my buddies loved it. After completing Medal of Honour last week they bought Black. I tried it yesterday amazing game guys the kind of graphics and effect is superb.




Mostly i am comfortable with PC when it comes to action games, but this one is different it. Another favorite in action games is Return to Castle Wolfenstein (RTCW). I played it n number of times the story line and the graphics was good. I think i ran this game when i had P3 machine with me.

For me playing games is kind making myself relax. Luckly my buddies are of same type.

Wednesday, December 10, 2008

Education Requirement for a job opening

I came across one of the job requirement of a famous media conglomerate in US. Here goes one of his job requirement education qualification

Education Requirements:

· If you have multiple degrees and don’t possess the listed skills, no need to apply
· If you have no common sense or abstract thinking ability, again, no need to apply
· if you have zero degrees and possess the listed skills, PLEASE APPLY!
· If you have multiple degrees and possess the listed skills, PLEASE APPLY!

Monday, December 08, 2008

Sync BookMarks


A niche application that every one is looking for.I have been thinking of one such application which sync bookmarks on different machines. There are different application for it ex: delicious,StumpleUpon etc.. named Social Bookmarking sites.Those applications are ok.But this is one looks good from my point. earlier there was an app weave from Mozilla similar application i never tried it.Foxmarks is the name of the new tool which sync between different machine browser.looks good let me try.you guys can also give a try

Reblog this post [with Zemanta]

Lean IT in sketches (Link)

Read lean IT sketches from Jasan blog. Good one and true one about making software. Must be read by every IT guy

Read more on this article

Hotel Taj : icon of whose India ?

I came across this post by Gnani, Tamil writer. His points are correct and gives other view which is the most important truth about the people of India

Some of the points are here

The terrorists have learnt that the ordinary Indian is unperturbed by terror. For one whose daily existence itself is a terror of government sponsored inflation and market sponsored exclusion, pain is something he has learnt to live with. The rich of Mumbai and India Inc are facing the pain for the first time and learning about it just as the middle classes of India learnt about violation of human rights only during emergency, a cool 28 years after independence

To read more about this click here



Reblog this post [with Zemanta]

Tuesday, December 02, 2008

Wordle

Just came across the site wordle. It is used to create word clouds from text that you provide. The clouds give greater prominence to words that appear more frequently in the source text. You can tweak your clouds with different fonts, layouts, and color schemes. Worth trying it. I have used my CV generate cloud. Here is the preview



Reblog this post [with Zemanta]

Monday, December 01, 2008

Mediation(.mfc) file could not open using Websphere Integeration Developer aka WID



"Unable to create this part due to an internal error,Reason for the failure: An unexcpected exception was thrown" This was the error i got when i opened my mediation flow in WID. I didn't have clue searched and found nothing. Then started looking seriously into the error. One of my collegue got the same error earlier and he solved it by taking previous version from reposirty, he too started getting the same error.The error said Java.lang.NullPointerException at com.ibm.wbit.sib.mediation.flow.ui.tray.editparts.ReferencePartnerTrayEditPart.getModuleChildren(Unknown Source).

Look at this error "ReferencePartner" that is the clue. We saw a pattern here and found something. It seems that the other collegue deleted the an interface. The deleted interface was having a reference in mediation flow. So when iam trying to open i started getting the above error. I manually created the interface and did a clean build. It worked we are able to open the mediation flow. So here is the thumb rule guys if you have decided to delete any interface check whether it has been used in some other components/module. In case if its mediation be carefull, check the reference partner. If its there delete it from your mediation module and go ahead with your final deletion

Reblog this post [with Zemanta]

Financial Crisis

The financial crisis has bought most ...(naa) everybody down. Before that people were floating high on the thing which doesn't exists. Once the virtual thing is gone all came down very fast. Ok enough of serious let us make take the lighter side. Here is the cartoon/comic related to financial crisis. Have a look at it

Financial Crisis in Cartoons
View SlideShare presentation or Upload your own. (tags: cartoon economy)
SlideShare Link
Reblog this post [with Zemanta]

Wednesday, November 26, 2008

Mumbai Attacked

Mumbai the finical hub of India was attacked by terrorists yesterday, there were 86 casualties at the time when i am writing this. I came to know this news only morning. It was yesterday night some of the news channels and websites were telling this attack is well planned. They aimed mostly foreign nationals till now there were couple of terrorist hiding in Taj Hotels.


India is very long standing victim of these kind of acts. In order to take control of the situation strict rule like POTA act must be ruled again.



We can't go silent on these kind of attacks. We will not sit back as ducks nor silent. We will come back (move ahead) on these terrorists. Indian government should take very very serious steps regarding this issue. Come on guys start acting no more victims for terrorist attack

Reblog this post [with Zemanta]

Tuesday, November 18, 2008

Why buy an asset when you can rent it?

An interesting article in Reuters, about an asset(house)


Robert Shiller, a Yale economist and author of "Irrational Exuberance," which predicted the stock price collapse in 2000, has recently turned his eye to house prices.

Between 1890 and 2004 he finds that real house returns would have been zero if not for two brief periods: one immediately following World War II and another since about 2000.

Even if we include these periods houses returned just 0.4% a year, he says.

A house, after all, is an ordinary good. It can't think up ways to drive profits like a company's managers can. If land, cement, steel and money are all commodities, how can a combination of all these not be a commodity?

Read More

Reblog this post [with Zemanta]

Sunday, November 16, 2008

Review Vaaranam Aayiram

Vaaranam Aayiram (strength of thousand elephants), we too went to the movie with thousand of expectations. But not all is fulfilled. Personally I was disappointed with the screenplay. The father character should have been stronger and the scenes how the son looks father as a hero are not that so strong (the scenes which tells the relationship could have been much better)that’s what I feel.





Surya was amazing the characters he played at different stages were extraordinary. The Major character was cool what a physic he has build up. The looks he gave as armed men is superb. Congrats Surya you have done it again and proved you are the one of the most promising actors in the field.

In the new generation of movies gautham was also my one of the favourites the way he narrates the story especially "KAKA KAKA" & "Vettiyaadu Villaiydau". Those are two amazing movies i have seen and tempted to see whenever i felt. These movies have very different screenplay which makes you to sit and edge of the seat.

In short the movie was good it was definitely a surya movie and yes atlast it was gautam movie. You can see gautam touch every where in the movie (his voice & the diagloues - stylish) in way i liked it b'coz this is whas surya's movie.

Reblog this post [with Zemanta]

Tuesday, October 21, 2008

Clean Logs from WID

Since we were in development mode we are used to make lot of mistakes like killing server in between killing BPEL process without completing, enabling security and disabling and lotsss of other things. Due to this activity you see lot of errors in the SystemOut.log file while starting your server. The most important thing to look in the SystemOut.log file. "Server1 is open for e-business". The rest of error most of them you can ignore (i am not 100% on this). In order to clean log file delete the tranlog and partner log file from the tranlog folder under your profile folder. Restart the server you will find (60%) a clean log file. But do not do this activity on your production server. This method is intend for easing the pain of looking to large log file during the development phase of the project

Sunday, October 05, 2008

My Flickr Stream & Gbridge

Long time since the last post i am trying to write at regular intervals but toooo lazy to do. let us see how i am keeping my word. Now days i am started using flickr for photo sharing so i am here to share my stream. You guys can have look at pics which was taken either by me or my pals.

Last week i tried this application Gbridge pretty good app. Has lots of feauters its uses google services like gtalk for conversion. you can share desktop, folders, files with each other using this app. Worth app try it.


Friday, August 08, 2008

Human Task Escaltion Settings

While using human task in BPEL, if particular task is not actioned with in a configured time period. we can configure to escalate that through E-mail, Work Item or Event. In event we can customize how we want to handle the escalation. The human tasks which are claimed, ready and subtask started can be configured to escalate.



We have done with event. I will explain how to escalate human task using event. Select any one of the escalation type and create a escalation. In the details tab configure the values you need

Excepted Task State, Escalate After (Time), Notification Type and others.


Escalate After is the time configurable when escalation is to triggered after creation of task, It can be mentioned or it can be dynamic. For dynamic configuration you should pass the time as input to the Human task and you can access like this

%htm.input.<interfacename>HTParamaters\<inputBO Variable
Name>\<Variable holding value>





For example the time values can be like

10 Seconds, 10 hours, 10 minutes


In the Notification Type select Event

Select any where in the Human Task Editor go to the properties tab in details section there will be input place holder for Event handler name, give the class name of the eventHandler.


Now create the class with the name given in the event Handler input box that class should implement NotificationEventHandlerPlugin. This class has a method named escalationNotification with parameters taskID and escalation. with taskid you can get the input values of HT and do the what ever your escalation implementation as designed

TKIID tkiid = task.getID();
String HT_EJB="local:ejb/com/ibm/task/api/HumanTaskManagerHome"
context = new javax.naming.InitialContext();
LocalHumanTaskManagerHome localTaskHome =
(LocalHumanTaskManagerHome)context.lookup();
LocalHumanTaskManager taskManager = localTaskHome.create(HT_EJB);
ClientObjectWrapper clientObjectWrapper =taskManager.getInputMessage(tkiid);
DataObject inputDO = (DataObject) clientObjectWrapper.getObject();




Afer completeion of coding of go the project resources view create a folder name services inside META-INF folder, create a file inside the folder with the name of com.ibm.task.spi.<EventHandlerClassName>NotificationEventHandlerPlugin. Inside the file in the first line type the fully classified name of the event handler.

Upto this is WID. Now from WPS perpective. After installing the application. Go the TaskContainer application, browse through the link Map RunAs roles to users. Here you will see a user can be configured to run the escalation. If there is mismatch between the user which you have configured in Human Task the escalation task will fail.

The better approach is to use groups while configuring Human Task, create a user assign that user to the particular group and use that user as the run as user.

Thursday, July 31, 2008

Personal Finance WebSites

Indian markets are getting mature but the same kind of maturity should happen in personal finance space also. Only a very sites (on line) provide this (portfolio management )service. The only pit stop that every body looks is Money Control. I think this is only website where most of individual investors have their portfolio maintained for real time data. BTW share Khan doesn't have it. Money Control is good but its pretty slow the opening page itself taking too much to open since it contains lottts of data with flash and others. Yesterday i came across this website investment yogi a new site for personal finance. it was really good and its worth trying, i have already decided that this website will be my personal finance guide. It's in beta version you can suggest few things which you need. Any way its good to see more growth is happening in personal finance space.

Thursday, July 24, 2008

NSE here I (We) come

After a quite a longggggggggggg period, submitting three times applications for demat account opening with icici direct failed. Finally i opened with an account with shareKhan. Quite ok. Tested the app yesterday withdrew some money, transfered some money and bought some (very small i am very small investor) shares. Good to start guys. ShareKhan has an offer for 49 /- they are opening an online demat trading account. Its high time to invest in market guys. Vrooommmmmmmmm go ahead and invest

Thursday, July 10, 2008

Sharing your DataPool values across workspace WID

During development we are forced to use different workspace because of n number of issues. If we do changing the workspace we will lose that data which we added in our datapool while using TestComponent facility in WID. To over come this we found shortcut go to your old workspace folder open .metdata folder under that look
folder named com.ibm.wbit.comptest.ui copy that folder.

Paste the folder in your new workspace .metedata folder. Bravo !!!! you got all your old datapool values no need of entering again.

Thanks to keshav who gave this tip to us.


Tuesday, July 08, 2008

uninstall applications which has process instace running or hanging WPS/WID

Most of us face this problem in development some times (sry most of the times :-) ) we are not able to uninstall application which has process instance running. you will not be able to terminate the process or stop. To overcome this, there is a solution which i found in WID forums thought of sharing good one. use the below command to do the uninstall of application

Go to u r bin directory and run this command

wsadmin -lang jacl -f ../ProcessChoreographer/admin/bpcTemplates.jacl -uninstall MyModuleApp
-force

In the place of MyModuleApp give your application name. This commands connects to the server and unistall the application.

Click here to the solution page at WID Forum

Is Physikalische Erscheinung important or not

Don't get confuse about the title ( Physikalische Erscheinung ) try translate this, a little work guys. ok ok don't get angry the translated meaning is physical appearance. From my college days till now most of the people whom i crossed asked me a question about my Erscheinung. First i will tell my apperance i will not regurarly cut my hair and beard also, hair cut iam not used to guys here in BLR. so i have to get it cut when i go to my home town. But about beard i love to have (iam sorry i can't exactly tell) anyterms i loving it. The persons who asks me about my apperance in order parents, relatives, colleagues, people out side of work and atlast friends. The last people won't ask me again and again if i have explained then once this is the way i would, they accept. But others whenever they see me the bingo question pops -up.

One more important question can you decide a person based on his physical apperance?, is there any barometer (measuring instrument to do it). As far as my knowledege the answer is NO. Especially in Indian IT industry the physcial apperance has grown in deep roots, and it affected the mind set of people. If a person works in IT he should have very good in P apperance. One question to industry if a very good P apperance guy doesn't do well, he is in bottom of the rating what will u do. Keep him because he is clean. At the same time if moderate P apperance guy does very well, what r u going to do, throw him out because the P apperance is bad.

Physicall apperance doesn't matter to unless the work he/she has done is correct. From long time iam debating this issue with all my friends and what ever they argue. My final conclusion is that Physicall apperance is not at all measuring instrument.
For sales/marketing/people who face customers, a very minor of P apperance is apply. (minor,minor and iam not a specialist to digg into the level of minor) if you expect them to be models where you see in posters and Ads iam sorry i am not the guy.
For a person whom he/she doesn't even have contact to the customer for example back-office guys(call center), they have to come in clean shaved, formals dresses and tie. I have heard they are some situations their rating gets affected by this, that means they have been checked every day by some one. My God save this people

This was a long time issue that hindered me, and i want to share with ALL.




Wednesday, July 02, 2008

Short Break (aka Trip)

Last week some of our colleague's went for a trip to Rajiv Gandhi National Park NagaraHole, It was amazing experience

Since the forest guest house at nagarahole is available for us on saturday afternoon, we decided to stay Friday night at Mysore and then travel to nagarahole, as everyone is ok with the plan. we started our journey at 01700 hrs, forget to introduce crew(trip) memebrs peddi,keshav, vinod, parashu, vaidy and ofcourse me. Two vechicels Santro's were squeezed by traffic bangalore but keshav helped in getting few shorcuts and finally we are out of bangalore traffic and in mysore highway. After that we were started hitting our accelarator's, the roads are good. we reached maddur around 7:30 to 8:00. Pitstop at Maddur tiffiny's had maddur vada and coffee. Then again start after maddur there were sudden speed bumps that too without any identification or signboard. For the first one we couldn't see, it came suddenly luckly we are safe. After that we were very carefull at the start of village.

Check the Map

we reached mysore around 9:30 to 10:00, we had booked hotel dasprakash went in dumped out luggage took a quick refresh and out for dinner, we planned dinner at The Green hotel when we reached there it was almost closing time. some how the guy took order and gave food. After small drink and dinner back to hotel. Once in hotel started playing cards for an hour. every one exhausted so decided to call it a day, headed back to respective rooms and had a nice sleep.

The next morning saturday, woke up and got ready. we went to keshav home, keshav sings very well. He has a band named SAMYUTKH. He has built a small studio for their use, it was very nice. Most of the guys sang some songs in studio. After that we meet his parents. They gave us some snacks so that we can have it on the way. we started our journey to nagarahole.

The road was very good newly laid one, it was smooth. we reached the forest entrance secuirty gurad took some signature and told us not to stop any where in between the road. Inside the forest the road was not bad, we saw lot of deer, at once we saw couple of hyena's crossing the road. we reached the forest office and told the details that we have booked a room but the guy in the office was telling that he has not received any message and told us to wait.

The forest guest house was booked by peddi, he knows some person and that guy helped in booking. After more than an hour the guy told us go to near by place(KUTTA) and have lunch come back. By that time he told he will contact and get it confirmed. So we went to kutta to have lunch.It was kerala resturant since i have problem with kerala rice(brown one) for safer side i and keshav ordered parotta and egg cury. all other guys ordered rice. peddi and vinod liked the fish curry very much they ordered some fish fry (methi), they were in full swing. vaidy was in pretty bad condition he was vegie, it was hard time.He was not able to eat any thing, so he went for bonda, tea and banana's.

After that we came back to park, fought with the guys got the rooms and went to safari ride.
It was last ride for the day so far none of the ride has seen any animals, but we were lucky we were able to see elephants. guys got excited and started clicking photos. The driver in the bus told not on the flash, before we switch off the flash one elephant got confused and it was coming to hit the bus. My god some of the people in the bus got scared and started screaming but luckily it didn't attack.It came very near and went back. If it attacked keshav, peddi and me were sitting facing the elephant. It could we worse(bad) experience. we crossed elephants and continued the safari and saw lot of deers.

Evening we played some footy(rugby), peddi has brought the kit for playing. it was fun, while playing we see one of wild pig crossing across the road it was huge tried for taking shot but missed. Then it was dark entire forest came under nature control, we started our regular way of enjoying (Drinks) and it continued till midnight. keshav made that occasion more beautiful by singing some no lot of songs for us.

The next day we woke and vacated the guest house and headed for Irupu falls some KM away, it was small water fall but enjoyed. parashu, peddi and i jumped in to the water rest of them stayed away. The force of water is massive we tried to go directly under the falls but was impossible so we enjoyed staying near to it. we were in the falls for more than an hour, by the time it was afternoon. so decided to start our way back to home. Crossed the forest and touched highway crusing all the way to mysore. we had our lunch at mysore around 4:00 to late but it was ok nice food. It was a dabba keshav took us there.

Then on the way to bangalore we planned to stop at channa patna to buy some dolls for peddi's daughter. It was heavily raining when we crossing mandya, we are forced to drive very slow the rain. At last reached blr heavy trafic dropped keshav at his home, i and peddi started our way. The others guys took a different route. In short the trip was good, it was different experience spending some time out of busy(naaa!) work. Looking forward more such trips.

Enjoy the some of the photos on flickr

Wednesday, June 25, 2008

Quick publishing your application to Process server (using WID)

While doing development you will be changing lot of things in your code. To test those changes usually we used to restart the project.But WID(WebSphere Integeration Developer) has smart option, After completing your changes build the application.Go to problem tab you can see a message stating that your project has changed need to be reinstalled in server. Select the particular row, and right click there you will see a option called Quick Fix. This option will replace the files which has got modified. Your publishing process became faster now :-)

Thursday, June 19, 2008

FireFox 3

Guys Firefox 3 is out. one of the best browsers ever i have used. Lots & Lots of extensions for development, themes etc.... why waiting get the worlds fastest browser Firefox. I have downloaded FireFox3 and Mozilla gave a certificate. Here is the certificate



Wednesday, June 18, 2008

Dasathavaram Review

Good movie, the name kamal hassan is the only selling point. It works too. Ten characters sitting for makeup itself is pain in XXX. I will bet only kamal can do it. voice modulation, body language for 10 characters in superb. RAW officer character is very good, thats the comedian character. After watching so many films i think makeup of some characters can be still taken care. But kamal covers it up all.

The only thing i thought was CG (Computer Graphics) is bad. It could have given more importance. some of the scenes look so pathetic with CG. I don't know how kamal missed it. Fletcher character was good, very sad about mallika ending :-(.....

As we have been seeing kamal for many years we can identify the characters, but if some one sees the film for the first time. Then it would be difficult to identify kamal. Hats off to kamal. A true actor, story teller, producer who thinks always about the film industry and how to make films good.
very proud of kamal Hassan.

Tuesday, June 10, 2008

Using WSExplorer in WID

We are using WID(websphere Integeration developer) for our project, since we do lot of our work on business process, MQ and web-services. It becomes diffcult sometimes testing web-services, but when you have WID it easy. WID has WSExplorer built-in.After installing the project with web-servcies. publish the WSDL from the server.


This will publish a zip file, inside the zip file open wsdl file. copy the SOAP url and paste in the browser, append ?wsdl to the URL copied. you will see wsdl file again. check the URL in the browser it might have changed copy the URL from the browser


open the WSExplorer in WID,select wsdl page link and paste the URL which you have copied from the URL and click GO



select the interface operation, you will get screen where you can input your data and invoke the interface.This will call your web-services


if you are using the URL from published zip file, you will be getting this error

so next time if you get this error you know what to do :-)

Wednesday, June 04, 2008

Accessing private methods using JUNIT

If you want to test private method of class which has object's as arguments here is the example to how do it.

First SampleObject



package com.sathish;
public class Sample {
public String example;
public String example1;
/**
* @return Returns the example.
*/
public String getExample() {
return example;
}
/**
* @param example The example to set.
*/
public void setExample(String example) {
this.example = example;
}
/**
* @return Returns the example1.
*/
public String getExample1() {
return example1;
}
/**
* @param example1 The example1 to set.
*/
public void setExample1(String example1) {
this.example1 = example1;
}
}



 


Second the Class with private method

package com.sathish;
public class SampleMain {

private Sample getSampleValues(Sample sample)
{
System.
out.println(" Sample Values Setting in SampleMain"+sample.getExample());
return sample;
}
}


 



Third JUNIT Class File



package com.sathish;

import java.lang.reflect.Method;
import junit.framework.TestCase;

public class SampleTest extends TestCase {
/*
* @see TestCase#setUp()
*/
private Sample sample;
private SampleMain sampleMain;
protected void setUp() throws Exception {

sample=
new Sample();
sampleMain=
new SampleMain();
}
public final void testGetSampleValues()
{
try
{
sample.setExample(
" setting Example 1");
final Method[] methods = SampleMain.
class.getDeclaredMethods();
for (int i = 0; i < methods.length; i++) {
if (methods[i].getName().equals("getSampleValues")) {
final Object
params[] = {sample};
methods[i].setAccessible(
true);
sample = (Sample)methods[i].invoke(sampleMain,
params);
}
}
}
catch(Exception exception)
{
exception.printStackTrace();
}
}
}


 


 

If you check in the JUNIT class, we will be using reflections to find the method and invoke .getDeclaredMethods() method will give array of methods declared in the SampleMain class looping through the methods we are getting the method which has declared private here getSampleValues.

Then we are preparing arguments, setting that particular method accessible and then invoking method with arguments



finally this the output after running the JUNIT file

Sample Values Setting in SampleMain setting Example 1

Tuesday, April 29, 2008

Web 2.0 what does it mean for retail banks

Today i came across the link on Thoughtwork's blog, found interesting how banks ($$$$) think about Web2.o. Marc McNeill has a presentation on slideshare seems good thought of sharing.



Monday, March 24, 2008

Sony S..ks

After quite a long time i have started blogging again ( bear with me :-)... ), i am using Sony NW-S205F Player. Its a good MP3 player with almost all the features G-Sensor,FM,Search and Stylish.


If some one asks me which mp3 player to buy i will always say go for Sony. But the one which i didn't like is the software attached to it. It needs sonic stage for transferring files, managing play lists and to do small operations. When you see a nice song on friends computer you can't directly transfer it, either you have to install sonic stage in your friends computer or copy the file and transfer the file using sonic stage software. i am bit pissed off with the player. so i started looking for software to transfer directly songs to the player then i came to know about MP3 File Manager from sony and Personal Audio Driver

I installed and transferred songs using that software. When i tried to play it it display "CANNOT PLAY" . There was an open source project for Sony MP3 Player
NW-E00x Mp3 File Manager this is really cool application which allows us to play songs from MP3 player, transferring songs from PC to MP3 Player FAILURE FAILURE FAILURE....... I am frustrated with the MP3 file Managers and stopped Searching (R &D :-).. ). But this is temp halt, i will start again and will find the software to transfer songs from PC to MP3 player. so keep an eye on this blog i will update soon with the software.

update found software for transferring song voidMP3FM, works perfectly with NWS205F. easy to transfer songs from PC. Gr8 software thanks to guys who wrote voidMP3FM