Slashdot Mirror


Java, Where To Start?

I'm a web developer who has design and programming experience. So, VB, ASP, PHP, Coldfusion, Perl, even C and C++ I have in my belt. I also use Dreamweaver and/or do a lot of my HTML/XHTML/JavaScript coding by hand. So, the DOM, DHTML, etc, all good to me and even OOP thinking and design I have when I code. And I even have MySQL and other databases, again, not an issue here. So, my weak point is — Java — I see so many jobs out there with J2EE, Hibernate, Eclipse, Netbeans. Beside the obvious, which is to learn Java the core language, I don't know where else to go from there. There is so much! What should I read? in what order? What software do I require? UML? Swing? I mean, what is the curriculum required for someone to say they are a solid Java developer? Even assuming I have to go through Java itself, what are the good books out there?

11 of 558 comments (clear)

  1. where to start by Anonymous Coward · · Score: 2, Funny

    public static void main () {

    1. Re:where to start by LizardKing · · Score: 3, Funny

      I assume this Lewis Carroll fellow was only writing batch programs.

  2. Re:Look at Open Source Java Projects by Anonymous Coward · · Score: 2, Funny

    What?! Well, why is Open Office so slow then?

  3. You are Paula! by Bazman · · Score: 4, Funny
  4. Re:I beg to disagree by Anonymous Coward · · Score: 2, Funny

    so, the garbage cleanup is a good function for you?

  5. Re:Good place to start... by Keeper+Of+Keys · · Score: 4, Funny

    Is Visual Studio actually written in .NET? Eclipse is... Is IIS written in .NET? Tomcat is.

    .NET must have lots going for it if even Sun are writing all their tools in it.

  6. Re:Django by alex4u2nv · · Score: 2, Funny

    Django looks great, however, this year I decided to learn two new languages as a developer: French and Italian.

    What does this do for marketability as opposed to learning another development language?

    Languages I know + another language = Language++;

    Languages I know + another written|vocal language = Languages I know * (written|vocal) languages

  7. there! by ogrisel · · Score: 3, Funny
  8. Re:Job or knowledge? by MillionthMonkey · · Score: 5, Funny

    Hello World? That's easy!
    public interface MessageStrategy {
          public void sendMessage();
    }

    public abstract class AbstractStrategyFactory {
          public abstract MessageStrategy createStrategy(MessageBody mb);
    }

    public class MessageBody {
          Object payload;
          public Object getPayload() {
                return payload;
          }
          public void setPayload(Object payload) {
                this.payload = payload;
          }
          public void send(MessageStrategy ms) {
                ms.sendMessage();
          }
    }

    public class DefaultFactory extends AbstractStrategyFactory {

          private DefaultFactory() {}

          static DefaultFactory instance;

          public static synchronized AbstractStrategyFactory getInstance() {
                if (null==instance) instance = new DefaultFactory();
                return instance;
          }

          public MessageStrategy createStrategy(final MessageBody mb) {
                return new MessageStrategy() {
                      MessageBody body = mb;
                      public void sendMessage() {
                            Object obj = body.getPayload();
                            System.out.println((String)obj);
                      }
                };
          }
    }

    public class HelloWorld {
          public static void main(String[] args) {
                MessageBody mb = new MessageBody();
                mb.setPayload("Hello World!");
                AbstractStrategyFactory asf = DefaultFactory.getInstance();
                MessageStrategy strategy = asf.createStrategy(mb);
                mb.send(strategy);
          }
    }

  9. Re:Job or knowledge? by glgraca · · Score: 5, Funny

    You really should use some XML to configure this application.

  10. Re:Job or knowledge? by MillionthMonkey · · Score: 2, Funny

    And it should be retrofitted to use the org.springframework.helloworld.core.* classes.