Perl is very fast and uncomparable

"Uncomparable" definitely, but "very fast"? ;)

we have faced no issues what so ever

This must be the first project in the world without issues!

We know that but client doesn't understand it

What have you tried to make the client understand it? I would like to know the reason behind changing to Java.

You mention nothing about the size of the project. A database, SQL queries and file validation doesn't sound too complex. What type of client are you looking for? Will it be a web-based system or are you aiming for a rich/fat-client? How many (concurrent) users? How complex is validation of the flat files. etc. etc. In other words it is impossible to make a proper judgement wether it is justified or not to change to Java. Depending on the complexity it might be an unrealistic amount of work to rebuild the system, that would be a good argument not to do it.

Can Java match Perl to do the database related tasks as easliy as we can do in Perl

Yes, I'm convinced about that. Database communication is done through JDBC but it doesn't stop there. You can do it the old-fashioned way and write SQL code and execute it, or use the new approach utilizing the JPA (the Java Persistence API) and maybe JTA. You don't have to write any SQL code. The object-relational mapping, generation of the database schema etc. is all handled by Java for you. I especially like the so-called "named queries". You work with tables and records like they were (collections) of objects.

If the project is not too big and you have to change to Java I would simply go for the Apache Tomcat a few JSPs/servlets and mySQL or Javadb. This works for small to medium sized applications. If you want scalability (think thousands of users and many concurrent users) or if you need some of the features that go with it you might consider using an Application Server. As the system gets bigger or more complex using an AS makes sense. I have good experience with Glassfish. But beware, Java EE 6 is a complex beast. 28 specifications for the proverbial everything but the kitchen-sink. It's a very powerful environment but has a learning curve. Although it has been simplified recently it's still complex (IMO).

Cheers

Harry


In reply to Re: Reasons to hate Java? by dHarry
in thread Reasons to hate Java? by paragkalra

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.