• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

deploytool in JAVA EE 5?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working through [or trying to] the example tutorial in the front of Head First EJB. It calls for the use of a "deploytool", but I cannot find this in the JAVA EE 5 environment I am working in.

The executable I used to load the environment is: java_ee_sdk-5_02-windows.exe


For the applications I have been doing I have used either "deploy" through NetBeans, or through the Admin Console. But I don't know where the deploy tool itself might be.

Any assistance would be very much appreciated!
 
Ranch Hand
Posts: 34
Android Python Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, excellent question. The deploytool from JavaEE 1.3 does not work on my current operating system, Windows 7. I tried downloading JavaEE 6 in the hopes that the version of deploytool would work on Windows 7 but alas deploytool is not even in this version, java_ee_sdk-6-windows.exe. Version 6 of JavaEE uses Glassfish which seems to be a completely different paradigm than earlier versions, and specifically the early version of JavaEE shown in Head First EJB!
 
Kim Gordon
Ranch Hand
Posts: 34
Android Python Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found a version of deploytool that works on Windows 7 in J2EE 1.4 SDK. The installer told me not to install because of system incompatibility but I installed anyway and it works much better than 1.3 J2EE SDK. So I may have a chance to follow through with reading this ancient Head First EJB book.
 
Saloon Keeper
Posts: 7590
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have a version of Head First EJB that is based on J2EE (rather than  JEE), just throw it away. EJBs changed completely from J2EE 1.4 to JEE 5.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're learning Java EE, then use a recent version. Java EE 8 has been released not long ago; Java EE 6 and older are very old, and Java EE 1.3 / 1.4 / 5 are definitely so old that they are not worth learning anymore. As Tim said, a lot has changed with regard to EJBs, so if you're learning a really old version, you're learning the old, irrelevant way it works from 10 years or more ago.

You can find Oracle's Java EE 8 Tutorial here: https://javaee.github.io/tutorial/
 
Kim Gordon
Ranch Hand
Posts: 34
Android Python Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:If you have a version of Head First EJB that is based on J2EE (rather than  JEE), just throw it away. EJBs changed completely from J2EE 1.4 to JEE 5.



This is funny. Since I was able to get the deploytool to work through the start menu and not via the command prompt I am going to try to read this ancient irrelevant tome from the past instead of simply throwing it away.
 
Kim Gordon
Ranch Hand
Posts: 34
Android Python Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jesper de Jong wrote:If you're learning Java EE, then use a recent version. Java EE 8 has been released not long ago; Java EE 6 and older are very old, and Java EE 1.3 / 1.4 / 5 are definitely so old that they are not worth learning anymore. As Tim said, a lot has changed with regard to EJBs, so if you're learning a really old version, you're learning the old, irrelevant way it works from 10 years or more ago.

You can find Oracle's Java EE 8 Tutorial here: https://javaee.github.io/tutorial/



Yeah I am following this massive boring tutorial on github now. Thank-you for the link. I have to use Windows 7 at work and even when running the deploy tool as XP via the options the program still throws an error and is unusable. So I have to follow this tutorial instead of the more fun Head First book. :/

Regards,

Kim Gordon
reply
    Bookmark Topic Watch Topic
  • New Topic