×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / Who can discuss with me about my answer to some computer questioms?
    Who can discuss with me if these answer is correct or not?

    1>. What Java extensions are you fluent with and how where they used?
    .java :java source file
    .class :java class file
    .jsp :a java server page file
    .jar :when one want to pack many file into a file.

    2>. What language would you use to parse a file to extract text patterns under certain conditions?
    I would use java.

    3>What concerns might you have about running Java classes on Solaris, Windows 2000 and Linux?
    First,on windows 2000, \ is used in path while / is used in Solaris,Linux
    Secondly,One should pat attention on classpath.
    • My answer to question one.
      All the packages beginning with javax are called Java standard extensions. For instance, javax.swing.*, javax.servlet.*, javax.servlet.jsp.*, javax.ejb.*, javax.naming.*. Take me as an example, I am proficient in using Servlet, JSP, EJB, JNDI, Swing, JavaMail APIs.
    • My guess work regarding question two.
      I could not understand that question well. If one simply wants to extract some patterns from a text file, I guess PERL is a good candidate. Of course, one can use Java. I don't have PERL experiences. But I can do the job by using java.text.* package.
    • My guess work about question three.
      Since we are executing Java classes, my big concern is multi-threading issue. On the Windows machine, Java virtual machine can use native threads. If we work on Sun Solaris, we need to keep in mind that JVM (at least before JDK 1.3) use so-called green threads.