Discussion:
JAVA in Dreamweaver
(too old to reply)
OS X-MAN
2004-08-01 10:39:34 UTC
Permalink
Hi

Does anybody know if I can get a Plug-In or Add-On for Dreamweaver
to write and compile JAVA-apps from within Dreamweaver.

Thing is, this would save time and money.

// public class Dreamweaver_JAVA_Compiler {
// public static void main ( String [] args ) {
// System.out.println ("Here is your Add-On. Enjoy");
// }
// }

__
Chris In Madison
2004-08-02 13:34:02 UTC
Permalink
Not that I've seen. Dreamweaver is okay for scriptlet-based JSPs, but I
wouldn't use it for serious Java development. My suggestion, is to use
Dreamweaver for page design, and a tool like Eclipse with the MyEclipseIDE
module for developing your servlets, etc.

Best regards,
Chris
OS X-MAN
2004-08-02 20:35:02 UTC
Permalink
Thanks for the reply

OK I understand, thanks again.
I thought Dreamweaver supports Java-Script, so why not Java as well?

Eclipse IDE is OK I have downloaded the latest.
It;s much better than JBuilder.

I take it that you are doing Java as well?
I usually use Codewarrior, but since I have changed from XP to OS X
I need a new copy of Codewarrior, too. That's why I thought there is a
walk-around in doing java from within dreamweaver with some Plug-Ins.
darrel
2004-08-02 20:59:54 UTC
Permalink
Post by OS X-MAN
I thought Dreamweaver supports Java-Script, so why not Java as well?
Because they are two entirely different beasts.

Javascript is a scripting language that works with and within HTML.
Javascript is great on a web site.

Java is a Object-Orientated Programming language that needs to be
precompiled before distribution. To deliver via a web page, you need to make
a Java Applet, and then embed the applet on the page. Most Java Applets out
there aren't really of that much value.
Post by OS X-MAN
Eclipse IDE is OK I have downloaded the latest.
It;s much better than JBuilder.
You say you are an OSX user? If so, you already have a Java IDE: XCode
(you'll need to install the developer tools).

-Darrel
Chris In Madison
2004-08-02 22:04:37 UTC
Permalink
Javascript and Java are quite different and have different uses. Javascript
is a client-side language, and Java is most often used server side (with the
exception of client-side applets).

DW does support Java for JSP development, but it's limited in what it can
do. By the nature of JSP technology, pages are compiled automagically by
the servlet container when they're launched for the first time (unless, of
course, it's configured not to). So the compiling tools and what-not aren't
really necessary in DW. And since DW basically builds all of the pages the
same way, regardless of server technology (ASP, ASP.NET, JSP, PHP), it makes
traditional Java web app development really difficult (it doesn't know what
to do with servlets, etc., other than syntax highlighting) since it mixes
code and content on the same page.

The Java I do, I do with Eclipse and the MyEclipseIDE plugin (adds J2EE
features). I've tried using XCode as Darrel suggested, but I never really
got a feel for it. And Eclipse has a pretty massive developer community
that I don't think XCode will ever come close to, no matter how hard Apple
attempts to promote it. And given that both Eclipse and XCode are available
at no cost, I reckon it's whatever works best for you. Since I have to work
with Windows and Unix developers, I'll opt for Eclipse since XCode isn't
available to them.

JMHO, YMMV :-)

Best regards,
Chris
Josh Johnson
2004-08-03 01:18:44 UTC
Permalink
Old joke:

What the difference between Java and JavaScript?
Answer: Everything except the first 4 letters.

- Josh
Post by OS X-MAN
Thanks for the reply
OK I understand, thanks again.
I thought Dreamweaver supports Java-Script, so why not Java as well?
Eclipse IDE is OK I have downloaded the latest.
It;s much better than JBuilder.
I take it that you are doing Java as well?
I usually use Codewarrior, but since I have changed from XP to OS X
I need a new copy of Codewarrior, too. That's why I thought there is a
walk-around in doing java from within dreamweaver with some Plug-Ins.
Continue reading on narkive:
Loading...