How does Sun make money from Java? Silly question.

Hi,
From what I have read about the J2SE licensing, we are able to download the SDK and develope commercial applications with it for free.
Have I made a big mistake in my reading? How does Sun make any money from Java?
Thanks very much.
Prem.

related topic
a lot of companies package a free or trial version of software like
Rational Rose
TextPad
VisualAgeForJava
DreamWeaver
etc.....
the versions may be limited in many ways
they want public and students to use it to become popular
students get jobs and convince boss to buy enterprise edition
they make money
I didn't mention sun in the above list cause they are special!!!!!
some other interesting topics include GNU liscence and
COPYLEFT
check it out

Similar Messages

  • Help! How to convert an instance from java.lang.Object to a particula class

    * How to convert an instance from java.lang.Object class to a particular class
    witch is known only at the running time?
    Roster EJB component is make up of RosterHome, Roster and RosterBean.
    RosterHome is the home interface of Roster EJB.
    Roster is the remote interface of Roster EJB.
    RosterBean is the implement of Roster EJB.
    The following code segment is to invoke Roster EJB component.
    String jndiName="roster.RosterHome";
    javax.naming.Context initial = getInitialContext();//getInitialContext() returns a instance of Context.
    Object objref = initial.lookup(jndiName);
    RosterHome home =
    (RosterHome)javax.rmi.PortableRemoteObject.narrow(objref,
    RosterHome.class);
    Roster myRoster = home.create();
    String team="T1"
    String player="Tom"
    myRoster.addPlayer(player,team);
    But, now, all the home interface, the remote interface and the JNDI Name of
    Roster EJB component are not been known at the compiling time. However They are
    known at the running time, throught reading from the XML config file.
    Questions:
    1,How to write code for this case ? or
    2,How to convert an instance from Object class to a particular class witch is known
    only at the running time?
    String jndiName="roster.RosterHome";// in fact, reads from XML file.
    String homeClassName="roster.RosterHome";// in fact, reads from XML file.
    String remoteClassName="roster.Roster";// in fact, reads from XML file.
    javax.naming.Context initial = getInitialContext();//getInitialContext() returns a instance of Context.
    Object objref = initial.lookup(jndiName);
    Object objHome= javax.rmi.PortableRemoteObject.narrow(objref,
    Class.forName(homeClassName));
    /* how to do next?
    }

    I am not sure what you are trying to do. But at some point you should know which methods to call on the remote interfaces. Maybe the method names are stored in the XML file as well or you have a set of standard method names (also consider parameters).
    However, this can be solved by reflection. Look at the java.lang.reflect package, especially java.lang.reflect.Method, and also at java.lang.Class.
    If you are doing this on the app server:
    I've seen posts where people say that reflection is not permitted in EJB, but I don't think so. Check the EJB spec.
    If you are doing this in an application: reflection is always permitted. Probably also in applets and JSP.

  • How do I make data from one Table flow into a separate Table

    How do I make data from one Table flow into a separate Table in iworks numbers?

    Great stuff Yvan,
    KOENIG Yvan wrote:
    Here you may see the way to transfer the contents of a column of Table A in a column of Table B
    I used two kinds of formulas.
    In the cell A2 of Table B
    the formula is :
    =Table A :: $B2
    It may be :
    =Table A :: $B
    Apply Fill Down
    Copy paste it in cell A1 which is in a header row.
    This formula does its duty but it’s not robust enough and will not survive to a Sort.
    This is why in B2, I inserted a more robust formula :
    =OFFSET(Table A :: $A$1,ROW()-1,2)
    You will find details about the functions used in Numbers User Guide delivered with every copy of iWork ‘08
    Yvan KOENIG (VALLAURIS, France) samedi 6 août 2011 17:45:22
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !
    The first suggestion was the simple answer I needed,
    Thank you

  • How to set iframe src from java dynammically

    Hi,
    Iam calling a servlet from jsp and servlet calls the databse query and returns the value,
    in my jsp i have ifrme, i want to change the source of iframe from java depends on the result from database , and the result must display on the iframe can any one tell me how to do this

    aurelian_cl wrote:
    I need to know how to set environment variables from java
    I want to set from java for example the environment variable "TestVar" with the value "TestValue"!1) That functionality does not belong in an application. You're trying to set environment variables, which are global across all applications, at either the user level as a whole, or across the entire machine (system level). Or, if you're only trying to set a variable active for the current process, you don't need to do that.
    2) Environment variables are not a platform-independent entity, and are thus against the nature of Java.
    My gut feel is that you are designing something in a backwards way, so my point is mainly to point that out, not to try to help you solve that particular problem.

  • How does a BPEL different from ESB?

    How does a BPEL different from ESB?

    BPEL and ESB are similar on higher level,
    they can both be used to integrate system/process and make data flow between them.
    BPEL is for designing process
    1.) Where human task is involved
    2.) Lot of complex looping is there
    ESB
    1.) Its designed for integrating different system/process and make data flow between them,
    2.) Its designed to do this very purpose, so fast in comparison to BPEL to do this
    Yatan

  • How do you transfer money from one apple id to another

    How do you transfer money from one Apple ID account to another?

    hello guys i have the same problem before but i fixit already if you forget your security questions what you need to do its so aesy you just call apple 8006927753 from free magicjack app you can get it on your iPhone from App Store  just call and ask them to restore your apple id security questions .
    and the guy going to ask for your apple id address tell hem that and after that he will ask you to log in with your apple id and he will tell you to give hem pin code you can fiend it here just folw me …….
    go to this link and log in with your apple id https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    after you open the link go to ( manage your apple id ) after you click on manage your apple id  log in with your account.. and go to password and security questions there is something down on the left conner like this
    ( temporary support PIN ) click on that and you will see PIN number just tell the guy and he will restore you apple id password & security questions
    and done you have new security questions and password  you can pay what you want now ….. anything you want to ask I’m happy to help just contact me
    <Email Edited by Host>

  • How do i remove money from 1 itunes account to another ?

    How Do I Remove Money From One Itunes Account To Another ?

    See:  More Like This    To the right -->

  • How do you transfer money from one account to another

    How do you transfer money from one account to another?

    Credit card.
    You cannot use your credit to buy credit/gifts form someone.

  • How does Adobe ExportPDF differ from the export feature in Adobe Acrobat Pro 9.0?

    How does Adobe ExportPDF differ from the export feature in Adobe Acrobat Pro 9.0?

    ExportPDF is based on a newer conversion engine than the one found in Acrobat 9.0.  They're similar in some respects, but ExportPDF is more advanced.
    -David

  • How can I make albums from events then delete events without deleting the album?

    Hey, just need a little help!
    How can I make albums from events then delete events without deleting the album?
    Many thanks

    You'll be more likely to get help with this if you ask in the iPhoto forum:
    https://discussions.apple.com/community/ilife/iphoto
    You'll need to tell people what version of iPhoto you have so they can give you correct advice.
    Regards.

  • How does this make any sense??

    My husband gets the three bureao FICO subscription....this is on his credit report under "negative factors" HOW does this make ANY sense?!? It has "too many credit accounts with balances" as a negative factor...he has one credit card.... You have too many credit accounts with balances.EquifaxThe FICO® Score considers the number of accounts on a credit report showing a balance.Generally speaking, carrying fewer accounts with balances is considered less risky.For credit cards , your credit report may still show a balance on those cards - even if they are paid off in full each month. The total balance on the last statement is generally the amount that is shown on a credit report. NUMBER OF YOUR ACCOUNTS CARRYING A BALANCE Equifax1 accountFICO High Achievers have an average of 3 credit accounts carrying a balance.

    I think they're trying to say that he doesn't have enough accounts and with only one reporting (with a balance of course), that's their common answer.

  • How to Create adf table from java bean

    Hi,
    How to Create adf table from java class (Not from ADF BC).
    Thanks
    Satya

    @vlsn -- you have to follow what shay said.
    Do the following in Model layer ::
    create a table property java class with your columns setters and getters like :
    *public class gridProps {*
    private int sno;
    private String orderNum;
    *public void setSno(int sno) {*
    this.sno = sno;
    *public int getSno() {*
    return sno;
    *public void setOrderNum(String orderNum) {*
    this.orderNum = orderNum;
    *public String getOrderNum() {*
    return orderNum;
    Create another table java class which will populate the values to your column values and return the collection :
    *public class gridPopulate {*
    private  List<gridProps> gridValues ;
    *public List<gridProps> setToGrid(ArrayList<ArrayList> valuesToSet) {*
    *if (valuesToSet == null) {*
    return gridValues;
    gridValues = new ArrayList<gridProps>();
    if(btnValue.equals("completeBtn"))
    return gridValues;
    for(ArrayList<String> tempArr:valuesToSet)
    gridProps gp = new gridProps();
    gp.setSno(Integer.valueOf(tempArr.get(0)));
    gp.setOrderNum(tempArr.get(1));
    return gridValues;
    Right click gridPopulate class and create this as data control.This class will be seen in Data control list.Under this data control,Drag the grid property collection(created earlier) to your page.Then execute your binding(gridPopulate) according to your logic.
    Thanks.(My jdev version 11.1.1.5.0)

  • How to execute Linux command from Java app.

    Hi all,
    Could anyone show me how to execute Linux command from Java app. For example, I have the need to execute the "ls" command from my Java app (which is running on the Linux machine), how should I write the codes?
    Thanks a lot,

    You can use "built-in" shell commands, you just need to invoke the shell and tell it to run the command. See the -c switch in the man page for your shell. But, "ls" isn't built-in anyays.
    If you use exec, you will want to set the directory with the dir argument to exec, or add it to the command or cmdarray. See the API for the variants of java.lang.Runtime.exec(). (If you're invoking it repeatedly, you can most likely modify a cmdarray more efficiently than having exec() decompose your command).
    You will also definitely want to save the returned Process and read the output from it (possibly stderr too and get an exit status). See API for java.lang.Process. Here's an example
    java.io.BufferedReader br =
    new java.io.BufferedReader(new java.io.InputStreamReader(
    Runtime.getRuntime().exec ("/sbin/ifconfig ppp0").
    getInputStream()));
    while ((s = br.readLine()) != null) {...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to call gnuplot command from java

    Hi there,
    In our course, we are required to develop an GUI for gnuplot. In case you don't know about gnuplot, it's a plotting program and has lots of command. We want to use java and swing, but now we don't know how to call gnuplot command from java, or how to execute a shell command(script) from java.
    By the way, since we need read in files with several columns of data and allow user to select a column, we want to use JTable. Is that reasonable?
    Thanks a lot for any suggestions!
    Jack

    Hi, there:
    Will using JTable add much overhead? I may have to use several JTables and switch among them. I can add scroll bar to or edit JTables, right?
    BTW, do you have experience about gnuplot? Can I find the command tree of gnuplot somewhere? Or do you know a better place to post question about gnuplot? unix/linux group, maybe.
    Thanks,
    Jack
    P.S. Would you guys answer my question after I use up my duke dollars? :- )

  • How can i make still from 16:9 film tot bitmap without distortion?

    how can I make stills from my 16:9 movie to bitmap without having distortion?
    ! work with Adobe Premiere Elements 10

    Bernard Bussemaker
    If you really have a 720 x 576 Standard Widescreen Video 16:9 (PAR = 1.4587) and you want a jpg still capture from it using Premiere Elements 10, then I suggest the following:
    Premiere Elements 10
    Project Preset = PAL DV Widescreen
    Place the Timeline Indicator to the frame that you want as a jpg image.
    Go to
    Share
    Computer
    Image
    and there set Presets = DV PAL SD (it is long story, but you do not have much choice at that level), so
    you could experiment with JPEG - HD 1920 x 1080 but no sure how that is going to look going from 720 x 576 to 1920 x 1080, so
    Under the Advanced Button/Video Tab of that preset, set
    Frame Width 1024 or 1050 pixels
    Frame Width 576 pixels
    Aspect = Square (1.0)
    ("or" relates to....if you just want a 16:9 jpg still, then 1024 will do fine. If you want a 16:9 jpg still that will present in a Premiere Elements project to fill the Edit Mode monitor, then 1050.
    1024 x 576 is the square pixel version of the non square pixel version 720 x 576 widescreen which is stretched for display after encoding.
    Image can resize downward if necessary. More details on that later.)
    If the details of what I have suggested are too much, then just try the suggestion step by step and then  let us know if it works for you. If any questions or you need clarification on anything written, please do not hesitate to ask.
    If you are really dealing with a 720 x 576 4:3 standard video, we can go through that next.
    But the answers are in the details.
    Thanks.
    ATR

Maybe you are looking for