In this video, James Gosling, best known as the father of the Java programming language, provides some wisdom about Java and software development for students. In short, Java is easy to learn especially to people who have not done software programming before.
Filed in Oracle with Comments Off | Tags: java, videoWhen Oracle acquired Sun, the database giant also acquired the Java technology that was Sun’s lifeblood. Oracle Chairman and CEO Larry Ellison called Java the most important technology Oracle has ever acquired. With ownership and leadership come responsibility. Java’s future is now in Oracle’s hands. This eWEEK slide show presents 15 ways Oracle can improve Java and boost its position in the Java community. More…
It is an interesting case of coincidental timing that within a week of the Oracle Sun deal being finalised by the EU1 that the Blackhat conference in DC should publish David Litchfield’s research for NGS Software 2, on how to escalate privilege using the Java functionality built into the Oracle DB 3. David’s research is not patched yet so would normally have only been made privy to the Administrators at Oracle’s SecAlert, but it has been made “Public” so it is now risk mitigation time.
Thankfully these Java related Oracle vulnerabilities have been discussed privately for a number of months beforehand, thus giving the Author time to fix them with a provably low risk of affecting other Oracle functionality.
In the absence of a patch from Oracle this paper provides information on how to fix the Java related vulnerabilities in both 10g and 11g which were detailed in David’s Blackhat presentation on February 2nd 2010.More…
Here is a quick and dirty (and easy) way to get the width and height of an image. It should work for both JPG and GIF files:
<cfobject type="JAVA" action="Create" name="tk"
class="java.awt.Toolkit">
</cfobject>
<cfobject type="JAVA" action="Create" name="img"
class="java.awt.Image">
</cfobject>
<cfscript>
img = tk.getDefaultToolkit().getImage("c:\img.gif");
width = img.getWidth();
height = img.getHeight();
</cfscript>
<cfoutput>#width#<br />#height#</cfoutput>
That’s the beauty of ColdFusion, you have all of the Java language available to you right out of the box. ColdFusion is after all a Java application behind the scene.
Filed in ColdFusion with 29 Comments | Tags: image, java