Thursday, February 21, 2008

.Net Comparison Chart (.Net vs Coldfusion, PHP, JAVA)

.Net Analysis

Judging the value of one development platform over another is a heated debate that has been raging for years.  The most common deciding factor typically centers on the developer's familiarity, an extremely subjective measurement.  If an expert developer from each platform was asked which is the easiest to use, each would site his or her own.  In the end, however, there are really only two quantifiable factors that should be used when deciding on a platform: cost and performance.


Since most hosting plans for each platform are similar in cost, website performance and lines of code (a hidden cost) are the only quantifiable measurements than can be used to gauge the value of one development language over another.  The following information provides a breakdown of some of the key differences between .Net, Java, Cold Fusion MX and PHP. 


In terms of website performance, which refers to how fast a page can be displayed to a user, .Net has proven to be far superior to Cold Fusion MX, PHP and Java in real-world applications and in tests conducted by independent analysis firms.  With respect to lines of code, a similar application can be written in .Net with 15% of the code required for the same application written in Java.  This results in a more maintainable system that can be developed more quickly with fewer resources.  A "lines of code" comparison between .Net and Cold Fusion MX or PHP is difficult since the development methodologies are so drastically different.  In order to achieve the same type of coding methodology, a developer would need to implement Java, which would lump the "lines of code" results in with the Java analysis already mentioned.  In general, Java is not used due to cost and time considerations, so the website pages load more slowly and the code is more difficult to maintain.


In general, .Net brings the power of an enterprise application into the cost range of a small and medium sized business by reducing the lines of code required.  This reduction in code results in decreased development time, expensive development staff, maintenance and overall cost, while delivering superior website performance.

 

Feature

.Net

Java

Cold Fusion MX

PHP

Compiled Code – Increases website speed (precompiled is the fastest)

Yes – both precompiled and dynamically compiled when a page is requested

Yes – both precompiled and dynamically compiled when a page is requested

Yes – dynamically compiled when a page is requested

No – a 3rd party accelerator can be used to increase performance but it is not installed on most shared hosting servers.

Scripted Language – results in poor website performance

No

No

Somewhat

Yes – a 3rd party accelerator can be used to increase performance but it is not installed on most shared hosting servers.

Object Oriented – Increases the ability for code reuse and provides enhanced features as well as reduced development time; since code is more reusable, results in fewer bugs that can be discovered by any client and fixed for everyone; encourages developers to write more maintainable code.

Yes

Yes

Somewhat

No

Supported Development Languages – easier to find developers

C++, C#, Visual Basic.NET, Jscript.NET, Python, Perl, Java (J#), COBOL, Eiffel, Delphi – 25 languages supported currently

Java

CFML and CFScript

PHP

Browser Specific HTML Rendering – different HTML is automatically sent to IE than to Netscape, reducing incompatibility issues

Yes

No

No

No

Open Source

No

Yes

Somewhat

Yes

Real World Examples:

ComputerJobs.com

ComputerJobs.com converted from Cold Fusion to .Net and saw a 400% improvement in server efficiency.  They predicted that they would save over $100K in the following year due to reduced hardware.

Sun Microsystems' Java Pet Store J2EE BluePrint Application

A team of 2 developers rebuilt the "Sun Microsystems' Java Pet Store J2EE BluePrint Application" using .Net in 4 weeks with 25% of the code.  When tested in a lab, the .Net application ran %1000 faster than a tuned version of the Java application.  The same Pet Store application was rebuilt by both Microsoft and Sun for an independent competition sponsored by The Middleware Company.   Below is a comparison of the results:


.Net 1.1/Windows 2003

J2EE/Windows 2000

Lines of Code

2,096

14,004

Time required for tuning and optimization prior to performance test

2 man-weeks

10 man-weeks

Price/Performance Ratio – the cost per server divided by the maximum transactions per second the server could handle

$316 – in other words, for a Java application to handle the same amount of website traffic as a .Net application, and additional $989 would need to be spent on server hardware.

$1,305

Maximum Pages served per Second

1,400

600

Maximum Number of Concurrent Users

6,000

4,000

Maximum Number of Transactions per Second

117

59

Test Notes: Each application was executed on identical Compaq Proliant servers; J2EE was tested on two Application Servers, one of which crashed midway and did not complete the test; J2EE used an Oracle 9i database while .Net used a SQL Server 2000 database; J2EE ran on Windows 2000 because it outperformed RedHat Linux 7.2 in a trial test.  For the complete study, visit: http://www.msakademik.net/download/j2eedotnetbenchmark.pdf   

The Nile Benchmark

The Nile Benchmark is a complete end-to-end ecommerce application server benchmark that has been widely used by independent testing laboratories including Doculabs, eWeek®, and PC Magazine® to benchmark application server products.    The Nile application is a useful benchmark because it is simple and straightforward, yet exercises the common elements found in most real Web applications.  The benchmark shows that the Nile application implemented using Microsoft ASP.NET outperforms the same application implemented using EJBs on a leading J2EE application server by 345% on an 8 CPU system when output caching is enabled for both products. It also shows that the Microsoft.NET version of Nile outperforms the EJB version of Nile on an 8 CPU system by over 421% when output caching is not used.  

.Net References:

  1. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/coldfusiontoaspnet.asp
  2. http://www.sitepoint.com/article.php/870
  3. http://www.sitepoint.com/article/871
  4. http://www.msdnaa.net/Resources/display.aspx?ResID=2315
  5. http://www.microsoft.com/resources/casestudies/CaseStudy.asp?CaseStudyID=13392
  6. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/psimp.asp
  7. http://gotdotnet.com/team/compare/nileperf.aspx
  8. http://gotdotnet.com/team/compare/Nile%20Benchmark%20Results.doc
  9. http://www.middleware-company.com/documents/j2eedotnetbenchmark.pdf
  10. http://gotdotnet.com/team/compare/middleware.aspx

Friday, May 25, 2007

Resume Tips for Technology Professionals




With increasing numbers of job seekers competing for the most desirable technical jobs, your resume needs to be better than the rest to get noticed.


Technical Summary

Effective technical resumes clearly show the candidate's technical skills -- a hiring manager shouldn't have to go fishing for this information. An excellent way to include technical knowledge is to add a Technical Summary or Technical Expertise section to your resume. Break the section into subcategories so the reader can quickly scan through your knowledge of programs and applications. Possible categories include technical certifications, hardware, operating systems, networking/protocols, office productivity, programming/languages, Web applications and database applications. Only list programs/applications that you could confidently discuss in an interview.


Career Summary

Many hiring managers say they are searching for candidates who offer more than technical credentials. Soft skills such as interpersonal communications, ability to work collaboratively and commitment to achieving corporate goals are just as desirable. In other words, your resume needs a personality. The reader shouldn't only be impressed by your technical qualifications, but should find you to be likeable and well suited for the team. You can highlight some of these skills in a Career Summary section.


Focus on Technological Results

Technical candidates usually make one of two critical errors on their resumes -- either the document is excessively long with excruciating detail on every assignment ever completed, or too short with hardly any descriptions at all. There needs to be some middle ground -- the resume should be succinct yet effectively showcase your achievements.


What to Include

For each position held, give a brief synopsis of the scope of your responsibility. Then show how your performance benefited the company. Give examples of how past initiatives led to positive outcomes such as enhanced efficiency, faster time-to-market, monetary savings, etc.

Accomplishments are most powerful when they are measurable, so include actual performance figures whenever possible. Focus on your most impressive technical projects/accomplishments. What types of challenges did you face? What did you do to overcome the challenges? How did your performance improve the organization's bottom line?

For contract work, provide a bulleted list of your top projects, indicating the company (or type of company if confidential), reason for hiring you, scope of your project, your specific approach to the project, challenges/obstacles faced, work performed and benefits to the company.

If you are new to the field and concerned about a lack of experience, consider offering free or low-cost technical services to charitable organizations, friends, family or local businesses. This allows you to hone your craft and show related work or volunteer experience on your resume. Also, pursue as much training as possible to get up to speed. Entry-level candidates should focus on their potential in the field, ability to quickly learn challenging concepts and motivation to succeed in the industry.


Keywords

The best keywords for your resume depend on your job target and experience. Specific programs and applications are often used as keywords, which is another reason why a Technical Summary is a good idea. To determine the best keywords for your industry, examine job postings on Monster and see which credentials and skills are used frequently; these are potential keywords that should be incorporated into your resume.

Thursday, April 5, 2007

Building Relationship With Your Boss

1. Show Respect: Even if your boss hasn't yet won your loyalty, he or she is still entitled to your respect.
2. Don't Be Afraid: of your boss. Some supervisors can be intimidating, but remember, your boss needs you.
3. Do Your Best: Try to live up to the performance expectations set for your job.
4. Give Honest Feedback: Your supervisor needs you to tell the truth, even if it's unpleasant and you may have valuable information or questions for your supervisor.
5. Don't Try To Hide Problems: First, try to solve the problem. If you can't and the problem becomes serious, let your supervisor know as soon as possible.
6. Be Positive: When things go wrong, a positive attitude means a lot to people who work with you, including your boss.
7. Manage Your Anger: Blowing up in front of your manager solves nothing, but demonstrates clearly that you can't control your emotions.
8. Break Important News Fast: If you get pregnant, become seriously ill, need to have surgery or need time off for a family crisis, inform your boss as soon as possible.
9. Maintain Your Boundaries: Remember to keep your business relationships about business.
10. Embrace Your Strengths: If your boss tells you that you're good at something or have done an excellent job on a project, thank him or her and take it to heart. Recognize your own talents and nurture them.
11. Face Your Shortcomings: You can't be skilled in everything you do. Ask your supervisor for advice to help you grow in areas where you're weak.
What ever issue you have, approach him and try to portray an image that you see him as an your inspirational idol. You don't need to be a "your right boss" kind of a guy, but you need to show him that you trust him. Any arguments you may have against, put it in a form that would look like a child's innocent question, rather than a fight to say I am right... Explore the possibility of sharing your personal life with him, after all he is a social animal himself, he will give with keenness, but avoid putting everything in front of him, and one last advice. Don't lie to him, be sincere, and transparent in your thoughts with him, at the same time careful not to intrude into his domain.

Tuesday, February 13, 2007

How to Lock a Folder Using Notepad

There are plenty of software which lock your folders, some are free, other costs a lot of money. Why you'll waste time and money when you could do it with your notepad.

* Consider you want to lock a folder named PICS in your D:\, whose path is D:\PICS

* Now open the Notepad and type the following

ren pics pics.{21EC2020-3AEA-1069-A2DD-08002B30309D}

* Where pics is your folder name. Save the text file as loc.bat in the same drive.
* Open another new notepad text file and type the following

ren pics.{21EC2020-3AEA-1069-A2DD-08002B30309D} pics

* Save the text file as key.bat in the same drive.

Wednesday, December 27, 2006

SQL Prob

Hi This is general sql problem

This is A table having two Column One is Unique id key integer autoincrementing and other is General char field

I m inserting a new data in the table i want the unique id out

how can i do that

The text field is not unique.