Java 4 Ever - Trailer | he he he.. funny vdo!! MUST WATCH!!

tharindudoo

Well-known member
  • Mar 12, 2007
    10,906
    761
    113
    ..ජනේලේ ගාව....
    lolz, there is no competition between Java & .NET, Java fails so badly xD

    Sure da,,,Are you dreaming :P:P:P



    dreaming.jpg
     
    Last edited:

    tharindudoo

    Well-known member
  • Mar 12, 2007
    10,906
    761
    113
    ..ජනේලේ ගාව....
    VB.NET vs Java Comparison



    In the past six years two languages have emerged on the computer scene and have quickly risen to dominating positions in software development - those languages are Sun's Java and Microsoft's Visual Basic. Sure C and increasingly C++ are the languages of choice for major ISV-Independent Software Developers like Corel, IBM, Microsoft, Oracle, SAS, Semantic and others when building their bread and butter applications like Corel Draw or DB2 or Microsoft Office. Oldies but goody programming languages like Ada, Cobol, Fortran, Pascal, even RPG get refurbished with new GUI interfaces and visual programming IDEs just like Java and VB-Visual Basic. But what makes Java and Visual Basic compelling?

    Visual programming and components are the advantages of both systems. Visual Basic was one of the first languages along with Paradox and Dbase designed to take advantage of GUI interfaces with visual programming in mind. You build the menus, forms and reports of a program by visual drag and drop operations. Then complete the coding by filling in the skeleton programs developed during prototyping of the programs interface. Coding VB pioneered the use of standard 3rd party components such as VBX and now ActiveX.. The developers of Java IDE-Interactive Development Environments (see Figure1) have carried this a step further with interaction wizards automatically generating the large portions of the Java code required for a system. And Visual Basic in slightly simplified form of VBA-Visual Basic for Applications has become the macro language for Windows applications. The result are two of the best RAD-Rapid Application Development programming languages available today.


    But some major trends in program usage may obsolete all this. One critical trend is the exploding use of the Net where the browser becomes the interface of choice. A second trend is continuing migration to packaged software starting with the Office Suites but extending into every corner of work. Examples are document management systems; Web, mail and comprehensive messaging systems like Lotus Domino/Notes, Microsoft Exchange and Novell's GroupWise; hundreds of financial and accounting packages and most tellingly, ERP and other packaged suites which form the backbone for complete organizational systems. The question is - so what if Java and VB are emerging as the top of the programming heap.Who needs to program when packaged programs deliver the goods with increasing ease of use and comprehensive coverage ? Is programming as we have known it for the past 30-40 years going to become reserved to a small group of geek-like idiot savantes?

    Yes and know. The crucial fact to know is that programming is changing quite dramatically. There are three major trends which are changing why and how programming is done.

    First Two Trends in Programming

    First, the last remaining heights of programming complexity are being successfully scaled right now. The Internet and web development have meant that toughest programming problem - distributed processing over WAN-Wide Area Networks is finally falling out of the realm of high-risk, specialist-only development into a demanding but doable task. Microsoft's VP of Development, David Vaskevitch calls distributed development, the last hurdle. Sure such challenges such as AI-artificial intelligence, multithreaded parallel programming, and adaptive programming - automated code that detects and then fixes problems and bugs will remain as major challenges. But n-tier(multiple active servers and programs), heterogeneous(acting simultaneously on many different hardware, operating systems and database platforms) and distributed (acting in concert by communicating over one or more networks) is not just hard to describe but also has been, until open Internet-inspired programming tools and routines including Java became available - darn hard to do.

    The second major trend is OO-Object Oriented programming. OO programming does three things for programming. It brings a new emphasis on reliable coding by deliberately hiding data and code except through controlled access points. OO also has built in strong typing and reference checking. In effect some of the flexibility to dynamically change code or data usage is sacrificed to make it work more reliably in OO languages like Java, C++, Smalltalk, etc. Second, program development is speeded up and made more reliable by OO's inheritance. Unlike subroutine re-use, inheritance goes further by specifing exactly what data and routines will be changed or added to when borrowing and re-using classes (think of classes as code modules with data attached). Reuse of classes through inheritance is remarkably clever and has been used for quite some time by programmers in an ad-hoc fashion. OO just standardizes and automates the process. The net result is that coding in Java is found to be 30-70% faster than in its near cousin, C.

    The third innovation that OO languages bring to programming is polymorphism and dynamic linking. This is the ability of an OO language to allow for the same method or subroutine to carry very different parameters and the runtime system will invoke the right subroutine including a possible error recovery routine. For example, ScreenDraw(Circle, xx, yy) and ScreenDraw(Hexagon, xx, yy) dynamically invokes automatically two different ScreenDraw routines depending on the parameter passed. This may seem trivial but a great programming house of cards may come crashing down trying to use ad-hoc methods to solve this problem.

    It is important to note that Java and Visual Basic have taken two profoundly different approaches to OO programming. From the start, Java was designed as an OO language. You cannot write a Java program without using OO techniques. Visual Basic has taken the slowly but surely approach. So OO techniques and methods have been slowly incorporated into the language. Polymorphism and dynamic linking followed by encapsulation and hiding were added in VB3 through VB5. Inheritance may be added with VB7 or VB8 (or may be a part of a new Microsoft language code-named Cool). The bottom line is that Visual Basic is a hybrid OO language-for better, for worse. Many timberlines worth of paper have been sacrificed in arguments on whether a pure OO language like Java or Smalltalk is superior to a hybrid like C++ or VB. We invite you to decide for yourself in our upcoming tutorials on VB and Java.

    adtNetbeans.gif


    Java and Visual Basic Comparison

    On the surface Java and Visual Basic share some compelling common characteristics(see Table 1). Both are comparatively easy to learn and fast to develop with due to appoachibility - that means it is comparatively easy to get started and develop useful small programs in each language. In addition both have very comprehensive APIs with the latest in web and n-tier developments. Indeed if you cant find it directly in the language, both have a wealth of 3rd party tools, utlities and components available to complete their effectiveness. Finally, both languages have the critical advanatge of many modes of deployment. Java or Visual Basic code can be standalone, bolted on as components of a larger system, or act as server-side linchpins between legacy systems, data sources, and PC and/or web browser clients. This is why Java and Visual Basic should emerge as the dominant programming languages over the next 5-10 years.

    However there are three major differences between the two languages. First, as noted previously, Java has been built from the ground up as an object oriented language while Visual Basic is gradually acquiring complete OO capabilities. Second, Java has a number of security and reliability features (sandlot security model, strong typing, simplified memory model, integrity checking, etc) built right into its core design. But perhaps the critical difference is that Java is cross platform - running on just about any combination of hardware and operating system while Visual Basic is master of Windows. VB runs on Win 9x, Win/NT, Windows 2000, Win/CE (partly) and Alpha versions of Win/NT (partly). However, Visual Basic no longer supports the Windows 3.x platform while Java does. On the other hand, Visual Basic has become, through VBA-Visual Basic for Applications, the scripting language for Windows applications. This is important because more systems will be built directly into key applications such as AutoCAD, Excel, Notes, Project, SAS, SAP, Word and hundreds of other major Windows programs.

    If we compare Java and Visual Basic in detail, there are 4 major criteria by which we can evaluate the two languages. The first is ease of development. It is here Visual Basic would appear to have an advantage - after all it is Basic. However, like Java, VB has grown and has huge APIs. More telling, in order to accomodate new OO and other functionality, VB has had to expand its basic syntax by dozens of commands. Even worse the documentation for VB has deteriorated with recent releases. Explanations of commands are spread over 3 major manuals whose printed versions cost over $100 extra. Quick examples of how to use VB's numerous commands and functions are declining even in the electronic documentation. Java is only slightly better. Fortunately, Java's huge API is organized into comprehensive references. But like VB users have to look to 3rd parties for documentation with quick examples of Java code. The fundamental problem is this - although both languages have worked hard to make themselves easy to approach and learn, the sheer size and scope of their functionality make both languages difficult to thoroughly master.

    Resources:

    Beginning Visual Basic, Peter Wright - WROX, $56 - beginning with no assumption of programming background
    Visual Basic 6 Unleashed, Rob Thayer - Sams $58 - intermediate with comprehensive coverage of features
    Visual Basic 6 Black Book, Holzner - Coriolis - gradually advanced coverage into components, web, database, etc
    CoreJava 1.2, Horstmann & Cornell - Prentice Hall, $57 - intermediate with great sample programs and tutorials
    The Complete Java Training Course, Dietel and Dietel, Prentice Hall $150 - Text and training CD are solid intro into Java
    Algorithms in Java, Sedgewick, Addison Wesley, $60 - Top notch algorithms shown in Java code.
    the nature of programming model:

    top-down,procedural model-
    modular functions and procedures determine the order of processing-
    GUI interface is character mode, menu-driven, simple windowing
     

    tharindudoo

    Well-known member
  • Mar 12, 2007
    10,906
    761
    113
    ..ජනේලේ ගාව....
    මම VB වලටත් කෑමතියි,,,,,මේ හෑමදෙයක්ම හදලා තියෙන්නේ අපේ පහසුවටනේ..ඉතින් අපි අපිට අවශ්ය දෙයින් වෑඩ ගත්තම ඉවරනේ,,මොකකටවත් චෝදනා නගන්නේ නෑතුව