Capabilities of Java

I am curious about the capabilities of Java in several areas.
1) I worked for a company that used Powerbuilder 10 and all they needed was an internet connection for the programmers to program off of a main server, nothing was connected locally. Is a team environment like that possible with Java?
2) The end application was also downloaded from the internet, so essentially you could program the application and use the application from anywhere in the world as long as you have an internet connection. It wasn't browser based either, an actual application. Is this possible with Java?
3) VB has VBA Script to use functions in Excel. Does Java has anything like this? for OpenOffice? Is it being developed?
4) I've heard Java is a pain to connect to databases. Why? Which database does it have the best interconnectivity with? How good is Java with MySQL?
5) PHP works very well with MySQL. What is the difference between the inteconnectivity between PHP and MySQL versus Java and MySQL?
I appreciate any commentary anybody con provide.

ajmasx: I really appreciate the information in a
professional manner.
Aknibbs: I googled quite a bit in an honest attempt
to answer my questions. I also asked my programming
professor, who teaches VB and Java, about the
functionality of Java. He knows a lot about how to
teach programming but little about its
functionality.Fair enough, most people don't put any effort into finding solutions and expect them handed to them. Based on the fact that you have brand new account, and that most people don't do any work, I play the numbers.
>
I think my biggest question is more about how to
obtain the functionality where I can be on any
computer in the world and be able to access the end
application. I think this might have something to do
with web services but everything I've read, it seems
to be a different technology. (I don't want to query
specifics from amazon.com to my website for example)
If someone knows how this is possible, can you
provide me a link of explanation or explain it to
me?
I'd love for anyone to give me help without insulting
my intelligence or implying I'm lazy.I never meant to insult your intelligence, or imply lazy, simply ensuring you had done (to me ) the most obvious choice for finding information.
I'm slightly confused by what you are trying to do now. Are you trying to get access to code for the application or get access to the application itself ?
If it is the application here are just a small sampling of things that you will have to decide:
1) Does your application require complex graphics (ie will it work over dialup )
2) Do you need a secure line to the application ?
3) How are you going to give control to it (such as haivng a remote machine take over the host)
If you could clarify further what you are trying to do I'll see if I can provide any more information.

Similar Messages

  • Harnessing DB's capabilities and Java

    Guys..
    I have this question about DB and PL/SQL
    Till now we have been making database calls for select, update and other DML uses from within the program that can be a scripting page like ASP, JSP of CFML or we make direct DB calls from the components written in either VB/JAVA or any other langaage.
    My concern and question is that what is the most ideal sceneario keeping performance and other issues in mind to make calls for DML to DB. Should we be harnessing the capabilities of DB in terms of stored procs , packages and triggers or call directly the statements for DML from within the component?
    What makes more sense and also is it advisable to make multiple users on the database and grant them privelages to certain tables depending upon their access on data or let the applcation decide the user role and let them handle data according to their roles in application.
    Please let me know as i want to know the thoughts about the same.
    Thanks in advance
    Ashish

    This would depend on your requirement.
    There are advantages/disadvantages of using PL/SQL
    extensively for any DML operation. Again, there are
    pros/cons of putting all the business logic(considering
    the business logic is in stored proc) in a J2EE style
    EJB/JDO architecture. Finally, there is this cost
    factor, rapid development/deployment senario which
    would dictate one or the other or a mix of both.
    Having said all that, your question is also about the
    style of programming(am I right??), and certainly, in this case do not put DMLs every where in every script.
    As for the second question, I think your second option
    is better.

  • What Net Capabilities Does Java Have?

    I have learned two other programming languages before learning Java and now I have learned a lot of the syntax of Java. I need to know if this is possible:
    Is there a way for me to get an HTML document from the internet from a specified URL on an HTTP server? If this is possible, can I search through it, possibly with FileReader? If Java does have a function that I could use to do this could someone please tell me what it is and what class it's from?
    thanks,
    lateralus

    The URL class will be helpful. It is described here:
    http://java.sun.com/javase/6/docs/api/java/net/URL.html
    URL's openStream() method might be a good place to start. There is an example of
    its use at "The Java Developers Almanac 1.4" here:
    http://www.exampledepot.com/egs/java.net/ReadFromURL.html?l=rel
    And there is lots on Networking in Sun's Tutorial:
    http://java.sun.com/docs/books/tutorial/networking/index.html
    These three locations could well serve as your first port of call with many "Is there a
    way..." type questions.

  • Java programming capabilities ???

    hi everyone...
    i was wondering if it is possible to imitate a browser's capabilities using java code...
    i mean that can i using java code get the html code of some website ??? im not interested in drawing the content of the html code, i just wanna get the html code webpages...
    i also want to know if it is possible to also imitate log in behavior, suppose i want to login to my facebook account just like i log in using the facebook page and then when i log in i want to download the html code...
    is that doable in java???
    if yes, what features of the language do i have to learn ?
    please help
    thanks in advance

    bienchien wrote:
    Specifically networking and I/O. Not to mention HTML parsing, or being able to research and find a library to do it himself. And executing any javascript on the page that might be relevant to what he's trying to do. And handling cookies. And probably a bunch of other stuff that I haven't thought of.
    But since you had to ask, I'd consider starting with [the basics|http://java.sun.com/docs/books/tutorial/getStarted/index.html] rather than diving right in.
    Absofrickinlutely!

  • Multi-touch in java

    Hi,
    I am trying to build a project with multi-touch capabilities using java. I did some research and thought mt4j is promising.
    But now I find it difficult to design a page with swing radio buttons and buttons etc., I want to use swing components such as Radio buttons with mt4j framework but I couldn't accomplish it.
    Can you please let me know if there is a way to develop a multi touch application in java using swing alone or any other good way of developing multi-touch features .

    how can we pass arguments to the run ()method?Create classes which implement Runnable that take your runtime parameters as constructor arguments and store them.
    eg: if your single thread method is   static void foo (int quantity, String name) {
        for (int i=0; i<quantity; i++) {
          System.out.println(name);
    // caller code
      foo(7, "wombats");Then you can make a runnable implementation thus:public class Foo implements Runnable {
      final int quantity_;
      final String name_;
      public Foo (int quantity, String name) {
        quantity_ = quantity;
        name_ = name;
      public void run () {
        for (int i=0; i<quantity_; i++) {
          System.out.println(name_);
    // caller code
      new Thread(new Foo(7, "wombats")).start();
    You could overload this method to take parameters in
    your class that implements the Runnable interface,
    and then call the base run() method.I don't get what you mean by this; Runnable is an interface so there is no base class run() method, and a run() overloaded with extra parameters method wouldn't get called by the thread.
    Pete

  • Compare Java based reporting to OBIEE

    Hello All,
    Due to a lot of misconceptions, my current client thinks that a lot of their problems will be resolved by simply retiring OBIEE and write all the reports in Java.
    Some requirements are unrealistic to ask from OBIEE and some are well...limitations.
    The client has asked us to give him reasons why he still should be on OBIEE. Has anyone done a comparison of Java based reports and OBIEE (or any BI tool)?
    Reasons why OBIEE stands out would also help.
    Thanks all!!

    There are many, many reasons why to use OBIEE. One of the bigger reasons being you don't need to know anything about Java in order to build an Answer Report.
    I've been asked a similar question in the past, to compare OBIEE versus Java based ADF. My response is that they have two completely different purposes.
    --OBIEE is end-user/middle-user driven dashboards and ad-hoc analysis. 
    --Java/ADF is for power-users to pre-constructed reporting systems. (forgive me but I don't know the ad-hoc capabilities of Java/ADF)   
    If your client has full-time java resources to commit to the creation and maintenance of a Java environment, then by all means they should probably go that route. But keep in mind that as new uses want to see different data layouts and different data sets, your java team will quickly become overburdened.
    OBIEE relieves the strain on the java (IT) team and allows end-users to drive reporting with the relatively occasional support by IT.
    Yes, OBIEE does have limitations, but always keep in mind that a) It's an ad-hoc Dashboard framework and not an ad-hoc java framework which has much greater flexibility but requires much more technical expertise b) There is a major release of OBIEE (11g) just around the corner that is about to change the game in terms of how OBIEE can be used. You should have your client stay on board until they can at least see the new features.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • Help needed- Check hardware with java

    Hi everyone:)
    I'm working on a colledge project and i need to know if anybody knows a way to check hardware's capabilities using java, i.e. i want to use java to check if a machine can play a sound clip, or has enough free space, etc...
    Can someone please point me some clues on how to get there (prefeberably using J2ME)?
    Thanks in advance,
    Pedro

    Download the SAP Java connector (JCo).
    This has documentation and sample code to get you started.

  • Drawing 2D figures with Java (currently using GTK+)

    Hello everyone :)
    I am currently working on a college project which requires me to develop a graphical interface for a text based software and to draw 2-D drawings (basically frames of buildings) by reading data stored in formatted text files.
    Earlier on, I was working using GTK+, but the fact is that my program has to work on several different PCs with different OS and hence portability is a big concern. So, I wanted to ask if I could draw good enough 2D drawings using Java? Basically, I want to know the comparison between the drawings possible by GTK+ and Java. I know that interface won't be a problem with Java :)
    Also, is the learning curve for drawing steep in Java? I am a bit pressed for time as I spent a lot of time with GTK+ and GTKMM

    Thanks for your reply, but my main purpose was to have to some sort of comparison between the capabilities of Java 2D API and GTK+/GTKMM. I don't want a detailed answer, just a brief one.

  • JAVA OS

    Hi everybody,
    Does any JAVA based OS exists ?
    I mean an OS for small devices(PDA etc... like WinCE)..

    Java is a platform and a language.http://java.sun.com/overview.html
    Java Programming Language
    The Java programming language lets you write powerful, enterprise-worthy programs that run in the browser, from the desktop, on a server, or on a consumer device. Java programs are run on -- interpreted by -- another program called the Java Virtual Machine (Java VM). Rather than running directly on the native operating system, the program is interpreted by the Java VM for the native operating system. This means that any computer system with the Java VM installed can run a Java program regardless of the computer system on which the application was originally developed.
    See The Java Tutorial for more information.
    Java Platform
    The Java platform is a software-only platform that runs on top of other hardware-based platforms. Because hardware-based platforms vary in their storage, memory, network connection, and computing power capabilities, specialized Java platforms are available to address applications development for and deployment to those different environments.
    Java technology has grown to include the portfolio of specialized platforms listed below. Each platform is based on a Java VM that has been ported to the target hardware environment. This means, for example, in the case of Desktop Java, desktop applications written in the Java programming language can run on any Java VM-enabled desktop without modification.
    True. It is also a platform. How, pray tell, does that make it an operating system as well?
    - Saish

  • Multilanguage API on Java

    Hello guys:
    I need to access MDM multilanguage capabilities on Java. I do this as login:
              String server = "server";
              int port = 2000;
              String user = "admin";
              String password = "";
              String language = "English [US]";
              int  minConnections = 1;
              int maxConnections = 10;
              int timeOut = 10000;
              String logFile = "C:/mdmLogFile.log";
                   mdmConnector = new CatalogData();
                   mdmConnector.SetCodeRegion(language);
                   int connection = mdmConnector.Login(server, port, user, password, language,
                                                         minConnections, maxConnections, timeOut, logFile);
    and it goes ok.... however, I try using
    String language = "German [DE]";
    and I get:
    a2i.core.StringException: Region 'German [DE]' is missing a code for table ID 1, field ID 554.
         at a2i.common.CatalogData.LoadCatalogData(Unknown Source)
         at a2i.common.CatalogData.Login(Unknown Source)
         at sap.com.cemex.MDMBridge.connect(MDMBridge.java:100)
         at sap.com.cemex.MDMBridge.main(MDMBridge.java:262)
    Error code: 0xfffffffa
    Error message : No message for RC (0xfffffffa
    I do have another language to test it on... Japanese... if I do:
    String language = "Japanese [JP]";
    it goes ok too... so I guess it's the German tag the problem.... have you guys experienced a similar problem, perhaps instead of German I should write Deutsch?
    Thanks!
    Alejandro
    <b></b><i></i><u></u>
    <b></b>

    Hello Walter:
    I see what you mean.... now when I choose "English " on both the login and region code, it is ok. Now on German, I get the issue.
    I found out that I'm trying to access just one table ("Vendors") and I have data and table description on both English and German. However, on all the other tables, I only have English, do you mean that all tables should be translated, even tough I don't use them at all?
    having English as login language, and German as RegionCode, I get this:
    a2i.core.StringException: Invalid parameter fieldName: Verkäuferzahl
    Having German as login language and english as region code:
    a2i.core.StringException: Region 'German ' is missing a code for table ID 4.
    Having both German yields the same result. The thing is that I need to get the table schema, such as table name and fields on German as well as the data..... is that so?
    Thanks a lot! I read the blog too
    Kind Regards
    Alejandro

  • Java Http Listener to parse incoming XML

    Hey folks,
    I have a task where I need to create a secure http listener, which will then parse an incoming XML. Parsing an XML document seems pretty straight forward so no problems there.
    basically what I would like to know is how would I get started? Would I use a servlet? Im not familiar enough with the capabilities of Java to know what packages to use and whatnot. How would some of you go about designing such a system?
    Thanks in advance,
    Ken

    Yes, you can write a Servlet which does that.

  • Java Card Basics

    Hello People
    This is my first time working with Java Card and any other smart card related stuff.
    So I read the 3 parts of "An Introduction to Java Card Technology" and other two articles there.
    I have serveral inquires about the issue.
    Is the STK the same as sim.toolkit ? or is it a proprietry kit for each smart card manufacturer ?
    What is sim.toolkit ? is it different than what java card provides ?
    What I want to do is an applet on a SIM that sends encrypted SMSs.
    I read that java card applets are passive, does that mean when the applet is installed on the SIM,
    another app (probably J2ME) must activate and run it ?
    In my project, do I need to use sim.toolkit.* for SMS capabilities or java card got that?
    Exucse my ignorance in the matter, any help is appreciated,
    Regards

    So, no one is familiar with Java Card basics to clear some stuff for me ?

  • Showing R/3 Table as a Grid in Web Dynpro

    Hello,
    I am on SAP Netweaver 7.0 SP10. I am developing a Visual Composer screen to show list of products. I have list of products in a Table from backend. But in VC , I dont want to show it as table. Instead of displaying the products in a Table, I want to show products in a 3x4 Grid, something like we see in Amazon or any other web shop.
    Does anybody have ideas on how to achieve this. I appreciate your help.
    Regards,
    Sunita.

    Hi Sunita,
    I think the only way to do this in VC is to use a table, but I think this doesn't fit your requirements. Yesterday I was in St. Leon-Rot and heard something about the new capabilities of Java Webdynpro. I think you should try it with Webdynpro. The pictures are also a problem in VC. An Alternative is BSP there you have the flexibility of HTML for your tables.
    Best Regards,
    Marcel

  • A better way of building the fixed-length String

    I created the following code to build a fixed length string. I checked other posts for the same topic, but I found mine is better. The code below converts a double numeric value to a fixed length string with padding of white spaces (or other types):
    Line 15 initializes the char array to while space; line 13 creates a character array; lines 17, 18 copy the array created in line 13 to the one initialized in line 15.
    Any comment is welcomed.
    1. import java.text.*;
    2.
    3. public class jformat {
    4.
    5. public static void main(String[] args) {
    6.
    7. char[] fb=new char[14];
    8. char[] tb;
    9. int c, f;
    10. DecimalFormat fmt=new DecimalFormat("########0.00");
    11. double dbl=12345.66;
    12.
    13. tb=fmt.format(dbl).toCharArray();
    14.
    15. for(c=0; c<fb.length; c++) fb[c]=' ';// this line is not required in JDK 1.5
    16.
    17. for(c=tb.length-1, f=fb.length-1; c>=0; c--, f--){
    18.     fb[f]=tb[c];
    19. }
    20. System.out.println(new String(fb));
    21.
    22. }
    23.
    24. }

    Here's a couple of alternatives. One uses a StringBuffer and the second, for Java 5 only, uses the Formatter capabilities.
    import java.text.DecimalFormat;
    public class jformat
        public static void main(String[] args)
            int fieldSize = 14;
            double dbl = 12345.66;
            String dblString = new DecimalFormat("0.00").format(dbl);
            StringBuffer sb = new StringBuffer();
            for (int j = 0; j < fieldSize - dblString.length(); j++)
                sb = sb.append(' ');
            System.out.println(sb.append(dblString).toString());
             *  The above code works in Java versions 1.3, 1.4, and 1.5.
             *  However, 1.5 provides the Formatter class, and the single
             *  line below can replace the preceeding code.
            System.out.printf("%14.2f%n", dbl);
    }

  • How to display the current time in a UIX page

    Hi All,
    another UIX question....
    A requirement of a customer is to display to current data and time in every page.
    It should be done in a <header>. So i'm writing a new (template based) renderer for that element. How can i display the current time and date on it?
    Thanks in advance for any help...
    Regards,
    Robert Willems

    Hi Robert -
    When you say you are writing a template-based Renderer, do you mean that you are creating a custom look and feel and replacing the header Renderer? If so, I'd recommend instead simply creating your own template (not template-based Renderer), and reference your template directly from your uiXML pages where you want to insert the timestamp.
    You'll probably want to write a method data provider which calls System.currentTime(), convert the result to a date, and then use Java's date formatting capabilities (see java.text.format.DateFormat) to produce a user presentable String that you can return from your data provider.
    For more info (and samples) on templates and data binding, see the "Templates and Data Binding" section of the "Includes and Templating in ADF UIX" help topic:
    http://tinyurl.com/5b7bf
    Andy

Maybe you are looking for