Java...is it the best ?

should i learn java? is it really that great...i know pascal and would like to expand my programming...im also interested in web design...

From my experience as a Web Developer, applets are not used much today. A couple years ago, many people used applets for nav bars, but not today. For web development I use JSP, Model 2 design, and Struts. A lot of good Java tools can be found at jakarta.apache.org. Two good books that are for an experienced web programmer are "Professional JSP" 2nd Edition, and "Java Tools for Extreme Programming: Mastering Open Source Tools Including Ant, JUnit, and Cactus".
For web development Java is good and .Net stuff maybe okay if you are willing to work in the MS world and with small/medium size companies.

Similar Messages

  • New to XML+Java: which is the best API?

    Hi,
    I am new to XML+Java and I am trying to develop an application that will both read and write to an XML file. After reading some tutorials, I decided that jaxp, sax, and org.w3c.dom.* are rather low-level and very unfriendly.
    After a cursory web search, I came to the conclusion (please correct me if I am wrong) that JDOM and DOM4J are the most easy-to-use free APIs. So I would like to ask which one of the two (or any other API) is the "best"? With "best" I mean larger user base, better documentation, more features, less bugs, active development community (i.e. if a bug gets discovered, it will be fixed). I don't want to start building my application, just to realise 6 months later that the API I've chosen is very limited.
    Your experience is much appreciated. Thanks for taking the time to reply.

    Thanks guys. It seems that there is no clear answer as to which one should I use.
    I will start using dom4j because it has more convenience methods and it heavily uses JCF, which I am very comfortable with. Although it seems that the learning curve is steeper (more complicated API) it is probably worth the effort.
    Thanks again for your responses.

  • Procedure for BI System copy (ABAP+JAVA) what is the best ?

    Hello to all !
    First time is my that work with BI.
    In my company desired to refresh the data of production of BI, in the system test de BI.
    The instance is Abap + Java. The database is too large.
    I have a question which is the best procedure to refresh my system of Quality of BI with the data of BI production?
    I appreciate the help me.
    Thanks a lot.
    Desiré

    Hi Dcardena,
    Check out this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200ebc93-dabe-2910-c1a6-c4ec30b20e04
    Raja

  • What java IDE is the best one?

    What java IDE is best ?
    What java IDE are you using?

    I agree that you should decide on what you want your IDE to do.
    How important is a GUI builder?
    Do you need support for, say Java Server Faces?
    Do you frequently work with XML files?
    etc, etc.
    That being sad: IntelliJ Idea ist the best in many areas, the most important one being usability. This sounds like a small deal, but as each and every feature is very-well implemented, it really boosts productivity.
    Currently it falls short in some areas, like support for Java Server Faces.
    "dingfelder": Where did you get these numbers from? Last I know, Idea was the third most used IDE.
    Also "quantity of users" is as good a criteria as the checksum of it's installer file.
    There's a saying in german that literally translates too "Eat sh*t - milliions of flies can't err." Sorry for the french, but you get the Idea I hope.
    Oh no, I can't believe that I posted on yet another "what IDE is best" thread. And even more so in a forum that should deal with other stuff.
    David001, I hope you're not simply a troll.

  • Which java technology is the best ??????

    Hiii frnds.... I am new to java. I want to establish myself as a developer in programming field. I have good programming skills and a job in Infosys which is due for joining. I want to start with java but do not know how to begin...a technology with no less than 3000 classes, 10 separate fields, and a availability of no less than 1000 different titles books by several authors in market. Also, this site is tremendous to go with and a lot of stuff I don't know how to use this SDN well. Also, should i begin with core java or some other like j2ee, j2sp, netbeans or some other to end with..?? Please help me..

    Well, the good thing about Java is that is very complex.
    The bad thing about Java is that is very complex.
    First of all you should try to understand the differences between: JSE, JEE, JME.
    Then I recommend you to start learning the basics: Java Standard Edition. Sun's tutorials related to JSE are a good starting point.
    After you finish with the language basics (oop concepts, string class, swing, sockets, threads) ->>
    I strongly recommend to follow a path that leads to Java Enterprise Edition. That's were Java excels. Server-side applications.
    Good materials:
    - Sun tutorials.
    - Prentice Hall Java.
    - Head First series.
    Go, go, go
    PS: j2sp doesn't exist.
    netbeans it's just an ide.
    Edited by: nomemory on Oct 2, 2008 12:01 PM

  • What is the best way to verify default heap size in Java

    Hi All,
    What is the best way to verify default heap size in Java ? does it vary over JVM to JVM . I was reading this article http://javarevisited.blogspot.sg/2011/05/java-heap-space-memory-size-jvm.html , and it says default size is 128 MB but When I run following code :
    public static void main(String args[]) {
    int MB = 1024*1024;
    System.out.println(Runtime.getRuntime().totalMemory()/MB);
    It print "870" i.e. 870 MB.
    I am bit confused, what is the best way to verify default heap size in any JVM ?
    Edited by: 938864 on Jun 5, 2012 11:16 PM

    938864 wrote:
    Hi Kayaman,
    Sorry but I don't agree with you on verification part, Why not I can verify it ? to me default means value when I don't specify -Xms and -Xmx and by the way I was testing that program on 32 bit JRE 1.6 on Windows. I am also curious significant difference between 128MB and 870MB I saw, do you see anything obviously wrong ?That spec is outdated. Since Java 6 update 18 (Sun/Oracle implementation) the default maximum heap space is calculated based on total memory availability, but never more than 1GB on 32 bits JVMs / client VMs. On a 64 bits server VM the default can go as high as 32gb.
    The best way to verify ANYTHING is to address multiple sources of information and especially those produced by the source, not some page you find on the big bad internet. Even wikipedia is a whole lot better than any random internet site IMO. That's common sense, I can't believe you put much thought into it that you have to ask in a forum.

  • What's the best XML for JAVA?

    Hi There,
    My big question is what should I use for develop a normal XML document, that can:
    - contain BASE64 strings
    - support UTF-8 add attributes, etc.
    I then want to pick this document and:
    - do it's parsing (walk trough)
    - apply a xsl to this document.
    I've made this in C using libxml2 for WIN32/HP-UX, and also in VB using msxml4, now I must make the same document in Java, I see a lot of alternatives but really don't know what to choose...
    In these languages I pick a structure that we support (similar to a tree) and serialize it to XML, send it as a string and then rebuild the initial structure with flaws. Each client can have a xsl file to show the information in the way he wants to.
    So, I ask your opinion what's the best for JAVA (a fast learning curve is preferable, but speed of processing is very, very important)?
    Thanks in advance for all the replies,
    Lu�s Pinho

    Have you looked at Apache's XML Beans?
    http://xml.apache.org/xmlbeans/

  • What is the best practise to provide a text file for a Java class in a OSGi bundle in CQ?

    This is probably a very basic question so please bear with me.
    What is the best way to provide a .txt file to be read by a Java class in a OSGi bundle in CQ 5.5?
    I have been able to read a file called "test.txt" that I put in a structure like this /src/resources/<any-sub-folder>/test.txt  from my java class  at /src/main/java/com/test/mytest/Test.java using the bundle's getResource and getEntry calls but I was not able to use the context.getDataFile. How is this getDataFile method call to be used?
    And what if I want to read the file located in another bundle, is it possible? or can I add the file to some repository and then access it - but I am not clear how to do this.
    And I would also like to know what is the best practise if I need to provide a large  data set in a flat file to be read by a Java class in CQ5.
    Please provide detailed steps or point me to a how to guide or other helpful resources as I am a novice.
    Thank you in advance for your time and help.
    VS

    As you can read in the OSGi Core specification (section 4.5.2), the getDataFile() method is to read/write a file in the bundle's private persistent area. It cannot be used to read files contained in the bundle. The issue Sham mentions refers to a version of Felix which is not used in CQ.
    The methods you mentioned (getResource and getEntry) are appropriate for reading files contained in a bundle.
    Reading a file from the repository is done using the JCR API. You can see a blueprint for how to do this by looking at the readFile method in http://svn.apache.org/repos/asf/jackrabbit/tags/2.4.0/jackrabbit-jcr-commons/src/main/java /org/apache/jackrabbit/commons/JcrUtils.java. Unfortunately, this method is not currently usable as it was declared incorrectly (should be a static method, but is an instance method).
    Regards,
    Justin

  • What is the best way to create a search help in wen dynpro java?

    Hi experts,
    In web dynpro java I want to create a search help which could guide user to search a job (also a position and a organizational unit) just like in transaction ppome. So which technique could be the best way to reach that quickly and simply?
    Thanks!

    HI,
    Refer the following links.
    EVS Valuehelp
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/391ee590-0201-0010-1c89-f1193a886421
    Web Dynpro Valuehelp
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564
    sample application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8

  • The Best Java Web Services Technology for Developing Web Services

    Hi,
    I am new to Web services world.
    I read the java web services page . there are more than 6 technologies.
    JAX-WS,
    JAX-RPC,
    JAXB,
    SAAJ,
    JAXP,
    WSIT,
    XWS-Security
    I went through several documents on web services.
    I could not get a clear idea of which technolgy to use.
    Which Java web service technology will be the best to develop web services independant of language, platform.
    or is there any 3rd party implemetations available ? for rapid development of web services.
    Could anyone help me !.
    Thanks in advance.
    Message was edited by:
    Siva.Prakash

    Which Java web service technology will be the best
    to develop web services independant of language,
    platform.
    Java by nature is a cross-platform language, so if your focus is on the need for portability, the choisce of WS should not be a problem. However, each WS is best suited for paricular uses.
    SAAJ, a low-level level API, offers much simplicity, but is not the first choice for programmers, as SOAP (Simple Object Access Protocol)messages need to be constructed piece by piece, making it a quite arduous code to program.
    If you are not familiar with XML, your best bet would be to use JAX-RPC (Java API for XML-Remote Procedure Calls), as it hides the underlying detail from the programmer, in terms of SOAP and XML. The shortcoming with RPC-based WS is that it is "restricted to the local programming experience". Another failing is that assumes there is a network path- a reliability concern.
    If your program will be contacting other services during downtimes, unlike JAX-RPC, JAXM is quite useful. However, your listing did not mention it, so I wont cover it.
    JAXR is a client-side only API that acts as an interface between registries (not referring to JAXP)
    I am not famiiar with JAXB, JAXP, WSIT or XWS-Security..
    or is there any 3rd party implemetations available ?It depends on what platform you are used to. Assuming you are familiarized with the J2EE platform (now changed to Java EE SDK), the NetBeans IDE (either 5.5, 5.5.1 or the latest editiion) is quite useful. I am using 5.5.1, but have found that it is quite buggy, especially when adding WS operations, a core requirement of a WS. if you will be using to devlop a service for an immediate need, you may find the learning curve to be a bit high, in terms of getting to grips with how to use it. (Download link:
    http://www.netbeans.info/downloads/index.php)
    The IBM Autonomic IDE (or AIDE), based on the WSDM standard, includes 3 sub-tools, icluding the IBM Manageability Endpoint Builder which, according to their website, allows individuals to build endpoints to allow manageability interface exposure; Manageable Resource Browser and the IBM Manageability Endpoint Simulator. However, I'm not familiar with this IDE. (Download link: http://www.alphaworks.ibm.com/tech/aide/download)
    The .NET Framework uses the Visual Studio IDE. For an unbiased comparison of J2EE and the .NET Framework in terms of WS, see http://www.webservicesarchitect.com/content/articles/hanson01.asp.
    Apache Axis2, Geronimo and JiBX allows fast development of WS, or so the creators profess.
    The PHP environment- you could try NuSPHERE PHPed. According to one website, with it you can develop a web service in under an hour.
    I hope this was useful to you.
    [Based partly on Topley, K. (2003) [i]Java TM Web Services in a Nutshell: A desktop Quick Reference. 1st ed. California: O�Reilly & Associates, Inc]

  • Is Using Netbeans the best way to learn Java?

    hi all. this is my first post.
    okay, I am total n00b. But I have been flirting with the idea of learning to code for about 2 years, and I think I need to leanr java, though I hear it is a difficult first language. but i love the platform independence thing. so a question.
    is it a good practice to learn the language with netbeans, or just with a text editor? i am leaning to netbeans but thought i'd ask others.

    Encephalopathic wrote:
    Understand though that if you ask this question to 20 different folk here, you'll get 20 different answers. Also realize that this has been asked 3,428 times here.all sane people will tell you that using Notbeans may not be the worst way (that would be BlueJ) but is far from being the best way (which would be VI).

  • " Why not Emacs Be the best editor for java"

    hai friends,
    iam using emacs editor for java. i think it is the best editor for java available
    for free of cost.
    we can easily customize it based on ur needs
    we can even customize the compilation and run option with single key stroke.
    and it has many interesting and useful features like shell, bsh, cvs customization,telnet
    and a lot more....
    many software concerns had made emacs as thier offical java editor
    i donot think anybody in this world who had used the emacs will go for some other editor
    and i do want to know from u all that whether i was wrong . and
    is there any other editor which can be better than emacs
    if so give me valid reasons
    get back to me if u are not aware of emacs features
    regards
    g.kamal

    I agree with you 100% on linux side, but in
    windows(tm) there are even better editors. I
    personally use MED in windows. After trying dozens of
    different editors in linux I ended up using emacs, it
    sure is the best editor in linux (for Java atleast).
    There are still some things bugging me, for an example
    I would like the "end" button to move the cursor to
    the end of the line instead of EOF.
    I donot understand why ur saying that the "end" button is not moving the cursor to the
    end of the line
    it works fine in my machine
    plz elaborate what more features u want, bcas it may be there in emacs , but u may not have that
    much awareness in it.
    regards
    kamal

  • The best of java pdf Viewer ?

    What is the best of java pdf Viewer with free license?
    Thanks

    About the only decent java PDF viewer is Multivalent. It's a bit quirky, but does a fairly good job. Unfortunately, it doesn't currently support printing.
    Adobe's java viewer is ancient, not worth wasting your time with.

  • Is Java the best for creating business apps?

    Hello everyone, I'm new to this. I programmed a bit in VB6 (lame to macho-coders... I know), and I really enjoyed it. Well I havent touched it for years and I havent even bothered trying to remember what I knew after finding out its all gone with .Net.
    So I'm employed at a new firm and I'd like to get back the old app building skills I had and more.
    I did alot of research on languages and decided that Java was my pick, but I'd like confirmation from someone who knows.
    FYI, I only created very simple apps with VB6 a few years ago.. I do not plan to start programming as a career.
    I just remember enjoying it immensely and have done side projects in the past for friends and business associates.. but I never got high powered.
    I'd like to get deep into a language.
    Did I make the right decision between C#/VB.net and Java? Try to be as unbiased as possible, as I realize this is a Java forum.
    I chose after reading mainly these links:
    http://www.csharpsoft.com/css/article.php?sid=9
    http://www.c-sharpcorner.com/faq/why_cs.asp
    http://www.aspnetpro.com/Opinion/2002/04/asp200204pl_o/asp200204pl_o.asp
    http://www.course.com/techtrends/java_0899.cfm (this one was especially convincing for me)
    http://www.eweek.com/article2/0,1759,1499017,00.asp
    http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=1751
    The just I got from most sources was: pick the language based on what you Want to Do.
    I want to create business apps, not necessarily cross-platform able ones. 98% of the time my apps will be used on Windows platforms anyway. And the performance boost from MS languages is enticing.
    Plus I've read from a few sources that Java is NOT cross platform interopertable.
    My main reason for posting is that I'm double guessing my Java inclinations.. because I'm having trouble finding tutorials for "guys like me".
    I'd like to know exactly what the heck Swing is, I mean... I got THIS,
    "The javax.swing package of classes is used to create GUI components for applets and applications. Project Swing classes enable programmers to specify a different look and feel for each platform, or a uniform look across all platforms. Swing is the project code name for the lightweight GUI components in JFC."
    But I have been doubting my decision enough to not download and start playing with whatever the heck Swing is.
    Also, AWT looks important but I do not quite grasp how that comes into play either.
    Basically I have the latest Java and Netbeans downloaded... is this all I need besides to find a great tutorial (that holds my hand) to get started? Does this Java/Netbeans package have Swing and AWT included inside them?
    Or should I stick with VB and go back to VB.Net to create my easy "crankem out" apps?
    I have a sinking feeling that would be best for a non-career programmer hobbiest like myself..
    Originally I figured Java would teach me a much more popular terse based syntax that would be much better to know if I ever did move on....
    Thanks for reading.

    THANK YOU to everyone that has replied this far. As you might have been able to tell from my disoriented post.. I have alot of questions and some questions I'm not exactly sure how to ask.
    To define business applications- I was referring to these two ideas that SteveW2 coined: "Applications that front end a database? Multi user thin client apps? "
    Mostly front end to a database and thin client apps.
    Also, I should add my employer does have a full MSDN subscription so I do have access to everything at MSDN.
    We have Visual Studio .Net 2003 at work as well. My company mostly programs in "MS" languages FYI.
    I hope it was quite clear that I'm no zealot on brand. I'm a complete capitalist (hence the name), and have always been, "best of breed". So I have absolutely no language preference.
    For general info, I am the network admin at my place of business and also do sales with small to mid-sized businesses.. but my degree is in local area network technology.
    My interest in beginning programming again stems just for my personal interest... someday I DO plan to start my own business but not for quite some time. So programming is just something I used to enjoy to a small extent.
    To be precise, I was only exposed to VB6. None before, none after. I created fun apps like a calculator, a simple database program, a program that half-heartedly 'locked' you out of a Win95/98 workstation without the password... things like that. And for now and the foreseeable future, thats an idea of the extent I wish to take this new venture.
    I found it very simple and easy... good things as long as its still powerful... and it appears DotNet has equalized the languages (J#/C#/C++/C/VB) to a large extent. Please feel free to elaborate on why I'm correct or not correct on this analysis.
    To address my "98%" statement, I meant in the foreseeable future everything I would ever create will be on ran on a Win32 system. But I do play around with Linux and wouldnt scoff at the idea of interoperability..
    Being locked into MS platforms doesnt bother me either. So you probably have a feel for my neutrality.
    I never realized how some people feel very strongly about languages (referring to most of the web, the responses here seem to be very fair considering I'm at Sun's site itself)!
    I'm definitely more confused than ever now with the conflicting opinions.
    But providing exactly WHAT I want to do with the language, will help.
    I provided an example of some of the things I've done, and plan to do.. but there is one thing I've been wanting to create for years that will probably give you the best idea for my ambitions.
    I'd like to create a family genealogy app, that allows me to integrate my GEDCOM files (the standard for family history files) into, integrate easy to view family photos/stories/videos... I'd like to put this program on a CD and distribute it at the family christmas some year.
    Whatever language would be the best for this? Keep in mind even though I dont have strong feelings about having interoperability or not... that my time that I'm going to be investing in language "X", I DO feel it important that I learn good coding practice.
    Something I always doubted about the extremely easy, and lax, VB6.
    Thanks again for reading and taking the time to reply.

  • What are the BEST Books and Best websites for java biginners?

    Dear All,
    What are the BEST Books and Best websites for java biginners-Especially for fast learning.
    Thnaks
    KMK

    This is my standard reply:
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.co.uk/exec/obidos/Author=Bloch,%20Josh]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance ]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • What the best way to create XML files from JAVA application?

    Hi to all,
    I need to edit and to create new filex in format of xml. I know to parse, but what would be the best way to do:
    1. - Create new file, create like simle text file, or there is some clases that know to do it in more simple way
    2.a - Edit XML file, to take some data and add it to the XML in the place I want to.
    2.b - Also Edit, but not to add fields, just update some of them.
    Code examples or links to samples woul be welcomed.
    Best regards, Nick.

    I have tried working with XML directly using the Java classes but this was a pain. I then looked at DOM4J and JDOM and found JDOM easier to use.

Maybe you are looking for

  • Optimising for two cores on an older macbook

    I use an older macbook with snow leopard (not sure how old, but it has two cores) and I'm trying to get the most out of it as I can, because at times things run slowly (ever since I got SL, iTunes has been running prohibitavely slowly, Safari tends t

  • Customizing ActionScript - Java serialization?

    Hi, I wonder how to customize what ActionScript class is serialized to what Java object, overriding BlazeDS's defaults. I have a Java class where I would like an ActionScript ArrayCollection to serialize to a custom class. To illustrate, normally I m

  • IN NEED OF MAJOR HELP!!

    my mbp isnt logging in for some reason. my password is right but it just says that it cannot log me into my account at the moment.ive treied restarting it a 100 times but it doesnt work.what should i do??is there a way i can just completely format an

  • When i upgraded windows 7 to windows 8, Photosop cs6 3D does not work anymore.

    Do y'll guys had any problem like this before?

  • Using sample lite for 11.1.1.5 -getting error

    Hi Experts, I downloaded the sample lite from OTn and followed the procedure step by step. When I start the BI presentation services. It is showing me the following error . This environment is i linux. Error :--Error 500--Internal Server Error From R