Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2011
    Rep Power

    Default Better in Java or into the database?

    I'm not a java programmer but I need to undestand your viewpoint about this topic.
    When you develop a Java program which gets data from the user (for example a Web page) and uses them for performing and put the result into the database, do you usually tend to write all of the logics into java-embedded-sql or you call Oracle stored procedures for getting (for me) the best results in terms of performances and portability?
    Most of Oracle developers and DBA, like me, believe that java wasn't designed to process data and wasn't built on mathematical Logic, so only the frontend, and no more, should be done in Java, .Net, PHP, whatever, while all the logics should be left on database side by using stored procedures and packages written by pl/sql developers.
    I'd like to know which approach you generally follow in your develop teams.
    Thanks in advance!

  2. #2
    clydedoris is offline Member
    Join Date
    Feb 2010
    Rep Power

    Default Re: Better in Java or into the database?

    the program logic usually is stored in the backed, such as PHP/ASP/JSP.

    i still haven't tried using Java for a REAL back-end application, so i can't tell (i don't think java is designed to be a 'front-end' kind of language that sucks at it.)

    however, i like separating the program logic/procedures from the dbms and using the backed engine instead.
    [why are you annoyed with my sig?]

Similar Threads

  1. Q : which database is best for java?
    By rjagan in forum New To Java
    Replies: 16
    Last Post: 08-12-2011, 05:16 PM
  2. Java Database Connectivity
    By mac0sX in forum New To Java
    Replies: 2
    Last Post: 06-13-2011, 10:51 AM
  3. help with database using java
    By computerbum in forum New To Java
    Replies: 5
    Last Post: 04-26-2010, 01:45 PM
  4. Replies: 2
    Last Post: 02-11-2009, 04:43 AM
  5. PDA, Database, and Java
    By percivalwcy in forum CLDC and MIDP
    Replies: 0
    Last Post: 08-08-2007, 03:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts