473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

PL/SQL or Java for web development

I have been tasked to provide the advantages/comparison of using Java
over PL/SQL for developing a web application to interact with an
Oracle database and am struggling to find any resources on the web
which compare the two.

Apart from myself the organisation does not have any Java/J2EE
developers and only a few who can code PL/SQL. I recently worked on a
project developing web pages using PL/SQL and found it a backward step
putting the HTML code in with the PL/SQL procedure.

My initial thoughts are:

Java
-J2EE has the advantage of separation of view and model (MVC)
-Platform Independent
-Internationalisation
-Large number of Java web developers
-Object Orientated nature of Java

PL/SQL
-Some experience in house
I am strongly leaning towards J2EE, but really need some better
reasons than my own feelings and intuition to be able to show those
who make the decisions!

Thanks in advance

Andrew
Jul 17 '05 #1
3 4522
digi_newbie wrote:

I have been tasked to provide the advantages/comparison of using Java
over PL/SQL for developing a web application to interact with an
Oracle database and am struggling to find any resources on the web
which compare the two.

Apart from myself the organisation does not have any Java/J2EE
developers and only a few who can code PL/SQL. I recently worked on a
project developing web pages using PL/SQL and found it a backward step
putting the HTML code in with the PL/SQL procedure.

My initial thoughts are:

Java
-J2EE has the advantage of separation of view and model (MVC)
-Platform Independent
-Internationalisation
-Large number of Java web developers
-Object Orientated nature of Java

PL/SQL
-Some experience in house
I am strongly leaning towards J2EE, but really need some better
reasons than my own feelings and intuition to be able to show those
who make the decisions!

If I were you I would avoid trying to use PL/SQL to generate web pages
directly. Use PL/SQL procedures to do all the database 'grunt' work and
let Java run the web side of things.

I would recommend that you write a library of PL/SQL procedures that
perform the business functions and then get Java to call them. This
means that your Java developers don't need to know everything about the
database schema or how to write optimised queries against oracle etc -
they just need to know which stored procedure they call to accomplish
which task. Given that this may be their first Java project I suspect
they'll have enough to worry about.......

Disclaimer: I work for a company that makes a product that writes Java
source code to run PL/SQL, so of course I'd recommend that you use Java
to call PL/SQL procs.......

David Rolfe
Orinda Software
Dublin, Ireland
-----------------------------------------------------------------------
OrindaBuild writes Java source code to run PL/SQL Procedures.
www.orindasoft.com

Jul 17 '05 #2
Depends very much on the type of application. HTML DB might well be
an option, have a look:

http://asktom.oracle.com/pls/ask/f?p...12691263416650,

This site is run fully in HTML DB I believe and is solid as a rock.
Also there is some good info on plsql web pages etc - definitely a
good place to start.
Jul 17 '05 #3
Sorry, in addition, ypi can do MVC with pl/sql too. It is just a
matter of separating the packages. PL/SQL is platform independant -
it runs in the dbase - it cares not what OS it is on.
Internationalisation is all done for you inside the db, pl/sql is to
some degree OO. The only advantage I see in your list is that you
have a large number of java developers.

In saying that you really do need to write all the db interaction code
in plsql packages anyway so you will require plsql coding.
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Dave D | last post by:
What's the Big Java Development Environment These Days? I used to use VisualCafe years ago.... -- Dave
10
by: pmdanger | last post by:
Hi, I'm new in java and my customer want an application which works under LINUX and WINDOWS plat forms. So, i though logically in JAVA. As i need to select my development tool, i would like...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
47
by: Alan Brown | last post by:
As a newbie I would like to ask what the difference in application (not details) is between C++ and Java. In what situations would you use C++ in preference to Java and vice versa? I am not...
0
by: Juan Carlos Huitzache | last post by:
Hi, I am trying to build a very simple Java stored procedure on DB2 V8.2 for AIX. I use the WSAD 5.1 or the DB2 Development Center with the same result: C:\Program Files\SQLLIB\java\jdk\bin\jar...
14
by: John A. Bailo | last post by:
http://yahoo.businessweek.com/technology/content/dec2005/tc20051213_042973.htm "Reports by Evans Data Corp., which does annual surveys of the activities of software developers, show Java use is...
15
by: RAM | last post by:
Hello, I graduated computer science faculty and decided to became a programmer. Please help me to make a decision: Java or Microsoft .NET? What is the future of Java? Thanks! /RAM/
1
by: Babi | last post by:
Ho appena installato il JDK che ho sacricato dal sito della Sun, solo che ho bisogno di un aiuto... visto che sono quasi a digiuno di java. Come faccio ad aprirci i file con estensione .class e...
0
by: systemania.com | last post by:
We have 3 contract positions open in Herndon Virginia for 3 JAVA/J2EE Developers. The contracts are Long Term (1 year ++). The rate is $45/h negotiable based on experience. To apply for this...
5
by: r035198x | last post by:
Setting up. Getting started To get started with java, one must download and install a version of Sun's JDK (Java Development Kit). The newest release at the time of writting this article is...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.