Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Channel Catalog


Channel Description:

Welcome to Oracle Blogs

Welcome to the Oracle blogging community!

(Page 1) | 2 | 3 | .... | 989 | newer

    0 0

    • Fault Handling and Prevention - Part 1 | Guido Schmutz and Ronald van Luttikhuizen
      In this technical article, part one of a four part series, Oracle ACE Directors Guido Schmutz and Ronald van Luttikhuizen guide you through an introduction to fault handling in a service-oriented environment using Oracle SOA Suite and Oracle Service Bus.
    • One Stop Shop for Oracle Webcasts
      Webcasts can be a great way to get information about Oracle products without having to go cross-eyed reading yet another document off your computer screen. Oracle's new Webcast Center offers selectable filtering to make it easy to get to the information you want. Yes, you have to register to gain access, but that process is quick, and with over 200 webcasts to choose from you know you'll find useful content.
    • Oracle on Oracle: Is that all? (Identity Management)| Darin Pendergraft Darin Pendergraft shares a discussion with Jaime Cardoso aboutthe latter's experience with Oracle's IDM products. What's particularly interesting is that the discussion grew out of Jaime's highly critical comment that Darin missed important pointsabout those products in an earlier interview Chirag Andani. If that ain't social engagement, I don't know what is.
    • I.T. Chargeback : Core to Cloud Computing | Zero to Cloud
      "While chargeback has existed as a concept for many years (especially in mainframe environments), it is the move to this self-service model that has created a need for a new breed of chargeback applications for cloud," says Mark McGill. "Enabling self-service without some form of chargeback is like opening a shop where all of the goods are free."
    • New Self-paced Online Oracle BPM 11g Developer Training | Dan Atwood Oracle ACE Dan Atwood of Avio Consulting shares a lot of information about a new Oracle BPM 11g Developer Workshop.
    • JPA SQL and Fetching tuning ( EclipseLink ) | Edwin Biemond Oracle ACE Edwin Biemond's post illustrates how to "use the department and employee entity of the HR Oracle demo schema to explain the JPA options you have to control the SQL statements and the JPA relation Fetching."

    Thought for the Day

    "Team development is like a birthday cake. Everybody gets a piece."

    — Assaad Chalhoub

    Source: SoftwareQuotes.com


    0 0

    As you know, JavaFX provides from the API many properties that you can set to customize or make your components to behave as you want. For instance, for a Button, you can set its font, or its max size.
    Using Scene Builder, these properties can be explored and modified using the inspector.

    However, JavaFX also provides many other properties to have a fine grained customization of your components : the css properties. These properties are typically set from a css stylesheet. For instance, you can set a background image on a Button, change the Button corners, etc...

    Using Scene Builder, until now, you could set a css property using the inspector Style and Stylesheet editors. But you had to go to the JavaFX css documentation to know the css properties that can be applied to a given component.

    Hopefully, Scene Builder 1.1 added recently a very interesting new feature : the CSS Analyzer.
    It allows you to explore all the css properties available for a JavaFX component, and helps you to build your css rules.



    A very simple example : make a Button rounded

    Let’s take a very simple example:
    you would like to customize your Buttons to make them rounded.

    First, enable the CSS Analyzer, using the ‘View->Show CSS Analyzer’ menu. Grow the main window, and the CSS Analyzer to get more room:





    Then, drop a Button from the Library to the ContentView: the CSS Analyzer is now showing the Button css properties:



    As you can see, there is a ‘-fx-background-radius’ css property that allow to define the radius of the background (note that you can get the associated css documentation by clicking on the property name). You can then experiment this by setting the Button style property from the inspector:



    As you can see in the css doc, one can set the same radius for the 4 corners by a simple number. Once the style value is applied, the Button is now rounded, as expected.
    Look at the CSS Analyzer: the ‘-fx-background-radius’ property has now 2 entries: the default one, and the one we just entered from the Style property. The new value “win”: it overrides the default one, and become the actual value (to highlight this, the cell background becomes blue).

    Now, you will certainly prefer to apply this new style to all the Buttons of your FXML document, and have a css rule for this.
    To do this, save you document first, and create a css file in the same directory than the new document.
    Create an empty css file (e.g. test.css), and attach it the the root AnchorPane, by first selecting the AnchorPane, then using the Stylesheets editor from the inspector:



    Add the corresponding css rule to your new test.css file, from your preferred editor (Netbeans for me ;-) and save it.

    .button {
    -fx-background-radius: 10px;
    }

    Now, select your Button and have a look at the CSS Analyzer. As you can see, the Button is inheriting the css rule (since the Button is a child of the AnchorPane), and still have its inline Style. The Inline style “win”, since it has precedence on the stylesheet. The CSS Analyzer columns are displayed by precedence order.
    Note the small right-arrow icons, that allow to jump to the source of the value (either test.css, or the inspector in this case).
    Of course, unless you want to set a specific background radius for this particular Button, you can remove the inline Style from the inspector.






    Changing the color of a TitledPane arrow

    In some cases, it can be useful to be able to select the inner element you want to style directly from the Content View .

    Drop a TitledPane to the Content View. Then select from the CSS Analyzer the CSS cursor (the other cursor on the left allow you to come back to ‘standard’ selection), that will allow to select an inner element:

    height: 62px;" align="LEFT" border="0">

    … and select the TitledPane arrow, that will get a yellow background:



    … and the Styleable Path is updated:



    To define a new css rule, you can first copy the Styleable path :



    .. then paste it in your test.css file. Then, add an entry to set the -fx-background-color to red. You should have something like:

    .titled-pane:expanded .title .arrow-button .arrow {
    -fx-background-color : red;
    }

    As soon as the test.css is saved, the change is taken into account in Scene Builder.

    You can also use the Styleable Path to discover all the inner elements of TitledPane, by clicking on the arrow icon:





    More details

    You can see the CSS Analyzer in action (and many other features) from the Java One BOF:

    BOF4279 - In-Depth Layout and Styling with the JavaFX Scene Builder

    presented by my colleague Jean-Francois Denise.

    On the right hand, click on the Media link to go to the video (streaming) of the presa.

    The Scene Builder support of CSS starts at 9:20

    The CSS Analyzer presentation starts at 12:50



    0 0
  • 11/21/12--06:41: Happy Thanksgiving!
  • Wishing our WebCenter community a very Happy Thanksgiving! 


    0 0

    Many of you have asked for some information around Oracle ADF Mobile which announced availability on October 22nd. Today's video is a quick 3 minute overview of what ADFMobile brings to the mobile application developer community.  Next Wednesday's video will show our enthusiastic developers how to create an ADF Mobile application and deploying to a device.

     

    Additional Information


    0 0

    Having installed your Exalogic Virtual environment by default you have a single template which can be used to create your vServers. Although this template is suitable for creating simple test or development vServers it is recommended that you look at creating your own custom vServers that match the environment you wish to build and deploy. Therefore this Tea Time Snippet will take you through the simple process of modifying the standard template.

    Before You Start

    To edit the template you will need the Oracle ModifyJeos Utility which can be downloaded from the eDelivery Site.

    eDelivery
    eDelivery
    eDelivery

    Once the ModifyJeos Utility has been downloaded we can install the rpms onto either an existing vServer or one of the Control vServers.

    rpm -ivh ovm-modify-jeos-1.0.1-10.el5.noarch.rpm
    rpm -ivh ovm-template-config-1.0.1-5.el5.noarch.rpm

    Alternatively you can install the modify jeos packages on a none Exalogic OEL installation or a VirtualBox image. If you are doing this, assuming OEL 5u8, you will need the following rpms.

    rpm -ivh ovm-modify-jeos-1.0.1-10.el5.noarch.rpm
    rpm -ivh ovm-el5u2-xvm-jeos-1.0.1-5.el5.i386.rpm
    rpm -ivh ovm-template-config-1.0.1-5.el5.noarch.rpm

    Base Template

    If you have installed the modify onto a vServer running on the Exalogic then simply mount the /export/common/images from the ZFS storage and you will be able to find the el_x2-2_base_linux_guest_vm_template_2.0.1.1.0_64.tgz (or similar depending which version you have) template file. Alternatively the latest can be downloaded from the eDelivery Site.

    eDelivery
    eDelivery
    eDelivery

    Now we have the Template tgz we will need the extract it as follows:

    tar -zxvf  el_x2-2_base_linux_guest_vm_template_2.0.1.1.0_64.tgz

    This will create a directory called BASE which will contain the System.img (VServer image) and vm.cfg (VServer Config information). This directory should be renamed to something more meaning full that indicates what we have done to the template and then the Simple name / name in the vm.cfg editted for the same reason.

    Modifying the Template

    Resizing Root File System

    By default the shipped template has a root size of 4 GB which will leave a vServer created from it running at 90% full on the root disk. We can simply resize the template by executing the following:

    modifyjeos -f System.img -T <New Size MB>)

    For example to imcrease the default 4 GB to 40 GB we would execute:

    modifyjeos -f System.img -T 40960)

    Resizing Swap

    We can modify the size of the swap space within a template by executing the following:

    modifyjeos -f System.img -S <New Size MB>)

    For example to increase the swap from the default 512 MB to 4 GB we would execute:

    modifyjeos -f System.img -S 4096)

    Changing RPMs

    Adding RPMs

    To add RPMs using modifyjeos, complete the following steps:

    1. Add the names of the new RPMs in a list file, such as addrpms.lst. In this file, you should list each new RPM in a separate line.
    2. Ensure that all of the new RPMs are in a single directory, such as rpms.
    3. Run the following command to add the new RPMs:
    modifyjeos -f System.img -a <path_to_addrpms.lst> -m <path_to_rpms> -nogpg

    Where <path_to_addrpms.lst> is the path to the location of the addrpms.lst file, and <path_to_rpms> is the path to the directory that contains the RPMs. The -nogpg option eliminates signature check on the RPMs.

    Removing RPMs

    To remove RPM s using modifyjeos, complete the following steps:

    1. Add the names of the RPMs (the ones you want to remove) in a list file, such as removerpms.lst. In this file, you should list each RPM in a separate line. The Oracle Exalogic Elastic Cloud Administrator's Guide provides a list of all RPMs that must not be removed from the vServer.
    2. Run the following command to remove the RPMs:
    modifyjeos -f System.img -e <path_to_removerpms.lst>

    Where <path_to_removerpms.lst> is the path to the location of the removerpms.lst file.

    Mounting the System.img

    For all other modifications that are not supported by the modifyjeos command (adding you custom yum repositories, pre configuring NTP, modify default NFSv4 Nobody functionality, etc) we can mount the System.img and access it directly. To facititate quick and easy mounting/unmounting of the System.img I have put together the simple scripts below.

    MountSystemImg.sh

    #!/bin/sh
    
    # The script assumes it's being run from the directory containing the System.img
    
    # Export for later i.e. during unmount
    export LOOP=`losetup -f`
    export SYSTEMIMG=/mnt/elsystem
    # Make Temp Mount Directory
    mkdir -p $SYSTEMIMG
    # Create Loop for the System Image
    losetup $LOOP System.img
    kpartx -a $LOOP
    mount /dev/mapper/`basename $LOOP`p2 $SYSTEMIMG
    #Change Dir into mounted Image
    cd $SYSTEMIMG
    

    UnmountSystemImg.sh

    #!/bin/sh
    
    # The script assumes it's being run from the directory containing the System.img
    
    # Assume the $LOOP & $SYSTEMIMG exist from a previous run on the MountSystemImg.sh
    
    umount $SYSTEMIMG
    kpartx -d $LOOP
    losetup -d $LOOP
    

    Packaging the Template

    Once you have finished modifying the template it can be simply repackaged and then imported into EMOC as described in "Exalogic 2.0.1 Tea Break Snippets - Importing Public Server Template".

    To do this we will simply cd to the directory above that containing the modified files and execute the following:

    tar -zcvf <New Template Directory> <New Template Name>.tgz

    The resulting.tgz file can be copied to the images directory on the ZFS and uploadd using the IB network.

    This entry was originally posted on the The Old Toxophilist Site.


    0 0

    Dear Partners,

    We would like to inform you that the November '12 issue of our Newsletter is now available.
    The issue contains information to the following topics:

    News from Corp
    Oracle Celebrates 25 Years of SPARC Innovation; IDC White Papers Finds Growing Customer Comfort with Oracle Solaris Operating System; Oracle Buys Instantis; Pillar Axiom OpenWorld Highlights; Announcement Oracle Solaris 11.1 Availability (data sheet, new features, FAQ's, corporate pages, internal blog, download links, Oracle shop); Announcing StorageTek VSM 6; Announcement Oracle Solaris Cluster 4.1 Availability (new features, FAQ's, cluster corp page, download site, shop for media); Announcement: Oracle Database Appliance 2.4 patch update becomes available

    Technical Section
    Oracle White papers on SPARC SuperCluster; Understanding Parallel Execution; With LTFS, Tape is Gaining Storage Ground with additional link to How to Create Oracle Solaris 11 Zones with Oracle Enterprise Manager Ops Center; Provisioning Capabilities of Oracle Enterprise Ops Center Manager 12c; Maximizing your SPARC T4 Oracle Solaris Application Performance with the following articles: SPARC T4 Servers Set World Record on Siebel CRM 8.1.1.4 Benchmark, SPARC T4-Based Highly Scalable Solutions Posts New World Record on SPECjEnterprise2010 Benchmark, SPARC T4 Server Delivers Outstanding Performance on Oracle Business Intelligence Enterprise Edition 11g; Oracle SUN ZFS Storage Appliance Reference Architecture for VMware vSphere4;  Why 4K? - George Wilson's ZFS Day Talk; Pillar Axiom 600 with connected subjects: Oracle Introduces Pillar Axiom Release 5 Storage System Software, Driving down the high cost of Storage, This Provisioning with Pilar Axiom 600, Pillar Axiom 600- System overview and architecture; Migrate to Oracle;s SPARC Systems; Top 5 Reasons to Migrate to Oracle's SPARC Systems

    Learning& Events
    Recently delivered Techcasts:
    Learning Paths; Oracle Database 11g: Database Administration (New) - Learning Path; Webcast: Drill Down on Disaster Recovery; What are Oracle Users Doing to Improve Availability and Disaster Recovery; SAP NetWeaver and Oracle Exadata Database Machine

    References
    ARTstor Selects Oracle’s Sun ZFS Storage 7420 Appliances To Support Rapidly Growing Digital Image Library, Scottish Widows Cuts Sales Administration 20%, Reduces Time to Prepare Reports by 75%, and Achieves Return on Investment in First Year,
    Oracle's CRM Cloud Service Powers Innovation: Applications on Demand; Technology on Demand,

    How to
    How to Migrate Your Data to Oracle Solaris 11 Using Shadow Migration; Using svcbundle to Create SMF Manifests and Profiles in Oracle Solaris 11; How to prepare a Sun ZFS Storage Appliance to Serve as a Storage Devise with Oracle Enterprise Manager Ops Center 12c; Command Summary: Basic Operations with the Image Packaging System In Oracle Solaris 11
    ; How to Update to Oracle Solaris 11.1 Using the Image Packaging System,How to Migrate Oracle Database from Oracle Solaris 8 to Oracle Solaris 11;  Setting Up, Configuring, and Using an Oracle WebLogic Server Cluster; Ease the Chaos with Automated Patching: Oracle Enterprise Manager Cloud Control 12c; Book excerpt: Oracle Exalogic Elastic Cloud Handbook


    You find the Newsletter on our portal under eSTEP News ---> Latest Newsletter. You will need to provide your email address and the pin below to get access. Link to the portal is shown below.

    URL: http://launch.oracle.com/
    PIN:
    eSTEP_2011

    Previous published Newsletters can be found under the Archived Newsletters section and more useful information under the
    Events,Download and Links tab. Feel free to explore and any feedback is appreciated to help us improve the service and information we deliver.

    Thanks and best regards,

    Partner HW Enablement EMEA


    0 0
  • 11/21/12--07:22: Java EE 7 JSR update
  • Java EE 7 JSR update...in case you missed the last few entries with JSR updates, there are 8 Java EE 7 JSRs currently in JCP milestone review stages.  Your input is requested and needed!

    • JSR 342: Early Draft Review 2– Java Platform, Enterprise Edition 7 (Java EE 7) Specification (review ends 30 November); Oracle
    • JSR 107: Early Draft Review - JCACHE - Java Temporary Caching API (review ends 22 November); Greg Luck, Oracle
    • JSR 236: Early Draft Review – Concurrency Utilities for Java EE (review ends 15 December); Oracle
    • JSR 338: Early Draft Review 2 – Java Persistence 2 (review ends 30 November); Oracle
    • JSR 346: Public Review – Contexts and Dependency Injection for Java EE 1.1 (EC ballot 4-17 December); RedHat
    • JSR 352: Public Review – Batch Applications for the Java Platform (EC ballot 4-17 December); IBM
    • JSR 349: Public Review – Bean Validation 1.1 (EC ballot 20- 26 November); RedHat
    • JSR 339: Public Review – JAX-RS 2.0: The Java API for RESTful Web Services (Review period ended, EC ballot ends 26 November); Oracle

     Also, check out the Java EE wiki with a specification and schedule update, including most recently, the addition of JSR 236.


    0 0

    By Alison Weiss

    Whether building petrochemical facilities in the Middle East or managing mining operations in Australia, project managers face significant challenges. Local regulations and currencies, contingent labor, hybrid public/private funding sources, and more threaten project budgets and schedules.

    According to Mike Sicilia, senior vice president and general manager for the Oracle Primavera Global Business Unit, there will be trillions of dollars invested in industrial projects around the globe between 2012 and 2016. But even with so much at stake, project leads don’t always have time to look for new and better enterprise project portfolio management (EPPM) software solutions to manage large-scale capital initiatives across the enterprise.

    Oracle’s recent acquisition of Skire, a leading provider of capital program management and facilities management applications available both in the cloud and on premises, gives customers outstanding new EPPM options. By combining Skire’s cloud-based solutions for managing capital projects, real estate, and facilities with Oracle’s Primavera EPPM solutions, project managers can quickly get a solution running that is interoperable across an extended enterprise.

    Staff can access the EPPM solution within days, rather than waiting for corporate IT to put technology in place.

    “Staff can access the EPPM solution within days, rather than waiting for corporate IT to put technology in place,” says Sicilia.

    This applies to a problem that has, according to Sicilia, bedeviled project managers for decades: extending EPPM functionality into the field. Frequently, large-scale projects are remotely located, and the lack of communications and IT infrastructure threatened the accuracy of project reporting and scheduling.

    Read the full version of this article in the November 2012 edition of Oracle's Profit Magazine: Special Report on Project Management


    0 0

    By: Jim Lein, Senior Director, Oracle Accelerate


    Last Sunday I went on a walkabout.  That’s when I just step out the door of my Colorado home and hike through the mountains for hours with no predetermined destination. I favor “social trails”, the unmapped routes pioneered by both animal and human explorers.  These tracks  are usually more challenging than established, marked routes and you can’t be 100% sure of where you’re going to end up. But I’ve found the rewards to be much greater.

    For awhile, I pondered on how—depending upon your perspective—the current economic situation worldwide could be viewed as either a classic “the glass is half empty” or a “the glass is half full” scenario. Midsize companies buy Oracle to grow and so I’m continually amazed and fascinated by the success stories our customers relate to me.  Oracle’s successful midsize companies are growing via innovation, agility, and opportunity. For them, the glass isn’t half full—it’s overflowing.

    Growing Midsize Companies are Thankful for: Innovation

    The sun angling through the pine trees reminded me of a conversation with a European customer a year ago May.  You might not recognize the name but, chances are, your local evening weather report relies on this company’s weather observation, monitoring and measurement products.  For decades, the company was recognized in its industry for product innovation, but its recent rapid growth comes from tailoring end to end product and service solutions based on the needs of distinctly different customer groups across industrial, public sector, and defense sectors.  Hours after that phone call I was walking my dog in a local park and came upon a small white plastic box sprouting short antennas and dangling by a nylon cord from a tree branch.  I cut it down. The name of that customer’s company was stamped on the housing. “It’s a radiosonde from a high altitude weather balloon,” he told me the next day. “Keep it as a souvenir.” It sits on my fireplace mantle and elicits many questions from guests.

    Growing Midsize Companies are Thankful for: Agility

    In July, I had another interesting discussion with the CFO of an Asia-Pacific company which owns and operates a large portfolio of leisure assets. They are best known for their epic outdoor theme parks. However, their primary growth today is coming from a chain of indoor amusement centers in the USA where billiards, bowling, and laser tag take the place of roller coasters, kiddy rides, and wave pools. With mountains and rivers right out my front door, I’m not much for theme parks, but I’ll take a spirited game of laser tag any day.  This company has grown dramatically since first implementing Oracle ERP more than a decade ago. Their profitable expansion into a completely foreign market is derived from the ability to replicate proven and efficient best business practices across diverse operating environments.  They recently went live on Oracle’s Fusion HCM and Taleo. Their CFO explained to me how, with thousands of employees in three countries, Fusion HCM and Taleo would enable them to remain incredibly agile by acting on trends linking individual employee performance to their management, establishing and maintaining those best practices.

    Growing Midsize Companies are Thankful for: Opportunity

    I have three GPS apps on my iPhone. I use them mainly to keep track of my stats—distance, time, and vertical gain. However, every once in awhile I need to find the most efficient route back home before dark from my current location (notice I didn’t use the word “lost”). In August I listened in on an interview with the CFO of another European company that designs and delivers telematics solutions—the integrated use of telecommunications and informatics—for managing the mobile workforce. These solutions enable customers to achieve evolutionary step-changes in their performance and service delivery. Forgive the overused metaphor, but this is route optimization on steroids.  The company’s executive team saw an opportunity in this emerging market and went “all in”. Consequently, they are being rewarded with tremendous growth results and market domination by providing the ability for their clients to collect and analyze performance information related to fuel consumption, service workforce safety, and asset productivity.

    This Thanksgiving, I’m thankful for health, family, friends, and a career with an innovative company that helps companies leverage top tier software to drive and manage growth. And I’m thankful to have learned the lesson that good things happen when you get off the beaten path—both when hiking and when forging new routes through a complex world economy.

    Halfway through my walkabout on Sunday, after scrambling up a long stretch of scree-covered hill, I crested a ridge with an obstructed view of 14,265 ft Mt Evans just a few miles to the west.  There, nowhere near a house or a trail, someone had placed a wooden lounge chair. Its wood was worn and faded but it was sturdy. I had lunch and a cold drink in my pack. Opportunity knocked and I seized it.

    Happy Thanksgiving.

     


    0 0

    The JavaOne Latin America keynotes will provide a blend of information from Oracle's top Java engineers and leaders from the Java community. Oracle has lined up leaders in Java development and the Java community has put togehter their own mix of Java champions to share their insights with you. Don’t miss what they have to say!

    In the Java Strategy and Technical Keynote on Tuesday, you'll get a glimpse of the future and the vast opportunities Java makes possible from these Oracle experts:

    • Judson Althoff, Senior Vice President, Worldwide Alliances and Channels and Embedded Sales
    • Nandini Ramani, Vice President of Engineering, Java Client and Mobile Platforms
    • Georges Saab, Vice President of Development
    • Henrik Stahl, Senior Director, Product Management
    • Simon Ritter, Java Technology Evangelist
    • Terrence Barr, Senior Technologist
    • Arun Gupta, Java EE Evangelist

    JavaOne Latin America with close with the popular Java Community Keynote on Thursday. You'll hear from members of Latin America's vibrant Java community. They'll sharing amazing developer stories and demo cool projects--and have some fun along the way. The Duke's Choice Award ceremony will be included as well. Speakers include:

    • Fabiane Nardon, Computer Scientist and Java Champion
    • Vinícius Senger, Founder, Globalcode
    • Yara Senger, President, SouJava and Java Champion
    • Bruno Souza, Founder, SouJava and Java Champion

    JavaOne Latin America is the event of the year for Java developers—and you have to be there. Learn new skills. Get answers. Make new friends and connections. JavaOne Latin America will in São Paulo, 4-6 December 2012 at the Transamerica Expo Center. There's still time to register

    Para mais informações ou inscrição ligue para (11) 2875-4163. 


    0 0

    Up on otn/java is a very useful article by Oracle Java/Middleware/Core Tech Engineer Mark Heckler, titled, “How to Get Started (FAST!) with JavaFX 2 and Scene Builder.”  Heckler, who has development experience in numerous environments, shows developers how to develop a JavaFX application using Scene Builder “in less time than it takes to drink a cup of coffee, while learning your way around in the process”.

    He begins with a warning and a reassurance: “JavaFX is a new paradigm and can seem a bit imposing when you first take a look at it. But remember, JavaFX is easy and fun. Let's give it a try.”

    Next, after showing readers how to download and install JDK/JavaFX and Scene Builder, he informs the reader that they will “create a simple JavaFX application, create and modify a window using Scene Builder, and successfully test it in under 15 minutes.”

    Then readers download some NetBeans files:
    EasyJavaFX.java contains the main application class. We won't do anything with this class for our example, as its primary purpose in life is to load the window definition code contained in the FXML file and then show the main stage/scene. You'll keep the JavaFX terms straight with ease if you relate them to the theater: a platform holds a stage, which contains scenes.

    SampleController.java is our controller class that provides the ‘brains’ behind the graphical interface. If you open the SampleController, you'll see that it includes a property and a method tagged with @FXML. This tag enables the integration of the visual controls and elements you define using Scene Builder, which are stored in an FXML (FX Markup Language) file.

    Sample.fxml is the definition file for our sample window. You can right-click and Edit the filename in the tree to view the underlying FXML -- and you may need to do that if you change filenames or properties by hand - or you can double-click on it to open it (visually) in Scene Builder.”

    Then Scene Builder enters the picture and the task is soon done.

    Check out the article here.


    0 0
  • 11/21/12--13:08: Ops Center zip documentation
  • If you're operating in a dark site, or are otherwise without easy access to the internet, it can be tricky to get access to the docs. The readme comes along with the product, but that's not exactly the same as the whole doc library.

    Well, we've put a zip file with the whole doc library contents up on the main doc page. So, if you are in a site without internet access, you can get the zip, extract it, and have a portable version of the site, including the pdf and html versions of all of the docs.


    0 0


    This blog explained some of the key features of JPA 2.1 earlier. Since then Schema Generation has been added to JPA 2.1. This Tip Of The Day (TOTD) will provide more details about this new feature in JPA 2.1.

    Schema Generation refers to generation of database artifacts like tables, indexes, and constraints in a database schema. It may or may not involve generation of a proper database schema depending upon the credentials and authorization of the user. This helps in prototyping of your application where the required artifacts are generated either prior to application deployment or as part of EntityManagerFactory creation. This is also useful in environments that require provisioning database on demand, e.g. in a cloud.

    This feature will allow your JPA domain object model to be directly generated in a database. The generated schema may need to be tuned for actual production environment. This usecase is supported by allowing the schema generation to occur into DDL scripts which can then be further tuned by a DBA.

    The following set of properties in persistence.xml or specified during EntityManagerFactory creation controls the behaviour of schema generation.

    Property Name
    Purpose
    Values
    javax.persistence.schema-generation-action
    Controls action to be taken by persistence provider
    "none", "create", "drop-and-create", "drop"
    javax.persistence.schema-generation-target
    Controls whehter schema to be created in database, whether DDL scripts are to be created, or both
    "database", "scripts", "database-and-scripts"
    javax.persistence.ddl-create-script-target,
    javax.persistence.ddl-drop-script-target
    Controls target locations for writing of scripts. Writers are pre-configured for the persistence provider. Need to be specified only if scripts are to be generated.
    java.io.Writer (e.g. MyWriter.class) or URL strings
    javax.persistence.ddl-create-script-source,
    javax.persistence.ddl-drop-script-source
    Specifies locations from which DDL scripts are to be read. Readers are pre-configured for the persistence provider.
    java.io.Reader (e.g. MyReader.class) or URL strings
    javax.persistence.sql-load-script-source
    Specifies location of SQL bulk load script.
    java.io.Reader (e.g. MyReader.class) or URL string
    javax.persistence.schema-generation-connection
    JDBC connection to be used for schema generation

    javax.persistence.database-product-name,
    javax.persistence.database-major-version, javax.persistence.database-minor-version
    Needed if scripts are to be generated and no connection to target database. Values are those obtained from JDBC DatabaseMetaData.

    javax.persistence.create-database-schemas Whether Persistence Provider need to create schema in addition to creating database objects such as tables, sequences, constraints, etc.
    "true", "false"

    Section 11.2 in the JPA 2.1 specification defines the annotations used for schema generation process. For example, @Table, @Column, @CollectionTable, @JoinTable, @JoinColumn, are used to define the generated schema. Several layers of defaulting may be involved. For example, the table name is defaulted from entity name and entity name (which can be specified explicitly as well) is defaulted from the class name. However annotations may be used to override or customize the values.

    The following entity class:

    @Entity public class Employee {
        @Id private int id;
        private String name;
        . . .
        @ManyToOne    private Department dept; }

    is generated in the database with the following attributes:

    • Maps to EMPLOYEE table in default schema
    • "id" field is mapped to ID column as primary key
    • "name" is mapped to NAME column with a default VARCHAR(255). The length of this field can be easily tuned using @Column.
    • @ManyToOne is mapped to DEPT_ID foreign key column. Can be customized using JOIN_COLUMN.

    In addition to these properties, couple of new annotations are added to JPA 2.1:

    • @Index - An index for the primary key is generated by default in a database. This new annotation will allow to define additional indexes, over a single or multiple columns, for a better performance. This is specified as part of @Table, @SecondaryTable, @CollectionTable, @JoinTable, and @TableGenerator. For example:

      @Table(indexes = {@Index(columnList="NAME"), @Index(columnList="DEPT_ID DESC")})
      @Entity public class Employee {
          . . .
      }

      The generated table will have a default index on the primary key. In addition, two new indexes are defined on the NAME column (default ascending) and the foreign key that maps to the department in descending order.
    • @ForeignKey - It is used to define foreign key constraint or to otherwise override or disable the persistence provider's default foreign key definition. Can be specified as part of JoinColumn(s), MapKeyJoinColumn(s), PrimaryKeyJoinColumn(s). For example:

      @Entity public class Employee {
          @Id private int id;
          private String name;

          @ManyToOne
          @JoinColumn(foreignKey=@ForeignKey(foreignKeyDefinition="FOREIGN KEY (MANAGER_ID) REFERENCES MANAGER"))
          private Manager manager;
          . . .
      }

      In this entity, the employee's manager is mapped by MANAGER_ID column in the MANAGER table. The value of foreignKeyDefinition would be a database specific string.

    A complete replay of Linda's talk at JavaOne 2012 can be seen here (click on CON4212_mp4_4212_001 in Media).

    These features will be available in GlassFish 4 promoted builds in the near future. The development in EclipseLink is tracked here.

    JPA 2.1 will be delivered as part of Java EE 7. The different components in the Java EE 7 platform are tracked here.

    JPA 2.1 Expert Group has released Early Draft 2 of the specification. Section 9.4 and 11.2 provide all details about Schema Generation. The latest javadocs can be obtained from here. And the JPA EG would appreciate feedback.


    0 0

    I recently spoke with a customer who has a development environment that is a tiny fraction of the size of their production environment. His team has been tasked with identifying problem SQL statements in this development environment before new code is released into production.

    The problem is the objects in the development environment are so small, the execution plans selected in the development environment rarely reflects what actually happens in production.

    To ensure the development environment accurately reflects production, in the eyes of the Optimizer, the statistics used in the development environment must be the same as the statistics used in production. This can be achieved by exporting the statistics from production and import them into the development environment. Even though the underlying objects are a fraction of the size of production, the Optimizer will see them as the same size and treat them the same way as it would in production.

    Below are the necessary steps to achieve this in their environment. I am using the SH sample schema as the application schema who's statistics we want to move from production to development.

    Step 1. Create a staging table, in the production environment, where the statistics can be stored

    Step 2. Export the statistics for the application schema, from the data dictionary in production, into the staging table

    Step 3. Create an Oracle directory on the production system where the export of the staging table will reside and grant the SH user the necessary privileges on it.


    Step 4. Export the staging table from production using data pump export


    Step 5. Copy the dump file containing the stating table from production to development

    Step 6. Create an Oracle directory on the development system where the export of the staging table resides and grant the SH user the necessary privileges on it. 


    Step 7. Import the staging table into the development environment using data pump import


    Step 8. Import the statistics from the staging table into the dictionary in the development environment.

    You can get a copy of the script I used to generate this posthere.

    +Maria Colgan


    0 0


    Parleys.com is an e-learning platform that provide a unique experience of online and offline viewing presentations, with integrated movies and chaptering, from the top notch developer conferences and about 40 JUGs all around the world.

    Stephan Janssen (the Devoxx man and Parleys webmaster) presented at the GlassFish Community Event at JavaOne 2012 and shared why they moved from Tomcat to GlassFish. The move paid off as GlassFish was able to handle 2000 concurrent users very easily. Now they are also running Devoxx CFP and registration on this updated infrastructure. The GlassFish clustering, the asadmin CLI, application versioning, and JMS implementation are some of the features that made them a happy user.

    Recently they migrated their application from Spring to Java EE 6. This allows them to get locked into proprietary frameworks and also avoid 40MB WAR file deployments. Stateless application, JAX-RS, MongoDB, and Elastic Search is their magical forumla for success there. Watch the video below showing him in full action:

    More details about their infrastructure is available here.

    0 0

    I just came back from California where I had a little sentimental moment.


    With the great help from some former Sun colleagues we move the old SunSpace gear into a new data center in Santa Clara.




    We will re-purpose the hardware as a new development infrastructure to build integrated demos around Oracle WebCenter products, Business Applications and Social Services.


    now - I could not resist to restart the SunSpace applications and see if it still works. And hey - even though we had to re-IP the entire  stack (sun.com domain is gone) and with some little hacking (thanks to Apache reverse proxy) -  we got it back!





    Hey Max - now I just need to change your SSO hack to get login working again :-)

    Hmm - I won't - but it is really nice to see it working again .. and it's time to switch it off and to work  on the next cool things ..



    Do you know Oracle WebCenter Sites (formely Fatwire)? Its Oracle's Web Experience Management Solution - a pretty cool technology and a very slick User Interface.

    I specially like the drag&drop functionality which allows non technical users to easily publish content. 

    Why do I mention it here ?  Because we will use the SunSpace gear to build cool  Oracle WebCenter Sites demos and proof of concepts integration  into Business Applications and Social Services :-)



     This is a sneak preview what we are working on. Stay tuned.....


    0 0

    Social Summit SignIn our previous blog, we started giving those of you who couldn’t make it just a sampling of the valuable takeaways from the first annual Oracle Social Summit, held Nov 14 and 15 in Las Vegas. And while yes, 13 items is a pretty healthy sampling, we wanted to go the extra mile and give you 13 more, an indication of just how much great information came out of it.  Follow the arrow, and come on in as if you were there with us.

    1. Weber Shandwick takes a 70/20/10 approach when advising clients how to allocate resources to paid social opportunities. 70% of spend should go toward paid opportunities the agency and client both know work, 20% should go toward paid social the agency knows works, and 10% should go toward experimentation. (Matt Dickman– Weber Shandwick)

    2. By 2017, the technically competent CMO will spend more on IT than the CIO. (Gartner Study)

    3. CIOs are focused on infrastructure. As the roles of the CMO and CIO continue coming together, those CIOs have to make a very conscious decision to get CMOs what they need.

    4. It’s now harder for brands to differentiate based on product. The advantage will go to the brands that are successful in garnering customer trust.

    5. More and more, enterprise software is going to start looking like the software consumers are used to seeing and using.

    6. You will see brands prioritizing mobile and dropping investments in www, HTML, POS systems, etc.

    7. The social graph has to be added to brands’ customer data for a more holistic view. Customers will give you the information you need if the reward is appropriate.

    8. Viacom did a study that showed viewers are most honest on social. Not so much on surveys or other feedback vehicles.

    9. How are you determining your influencers? Influence isn’t about reach. It’s about getting people to change behavior.

    10. A mix of skills is becoming critically important in a social staff. It shouldn’t be a mixture of several disciplines, not just a bunch of “social experts.”

    11. If senior management isn’t engaged, the social team is forced into guessing what might be considered a “success” by the C-suite.

    12. Mobile customization will be getting big investments from brands in 2013. Brands need to provide shoppers utility, not just information. 75% will use mobile this holiday season to avoid in-store madness.

    13. Data becomes information, information becomes insight, and insight becomes actionable.

    The Oracle Social Summit brought together brands, agencies, Oracle social experts and industry thought leaders to take a serious look at where social stands today, and where it’s headed in the near future. Given the speed of social’s evolution, attending such events (or at least reading nifty summary blogs) is a good investment in making sure your enterprise isn’t falling gradually behind.


    0 0

    The new survey from the Independent Oracle Users Group (IOUG) titled "Closing the Security Gap: 2012 IOUG Enterprise Data Security Survey," uncovers some interesting trends in IT security among IOUG members and offers recommendations for securing data stored in enterprise databases.
    Closing the Gap: 2012 IOUG Enterprise Data Security Survey Report
    "Despite growing threats and enterprise data security risks, organizations that implement appropriate detective, preventive, and administrative safeguards are seeing significant results," finds the report's author, Joseph McKendrick, analyst, Unisphere Research.

    Produced by Unisphere Research and underwritten by Oracle, the report is based on responses from 350 IOUG members representing a variety of job roles, organization sizes, and industry verticals.

    Key findings include

    • Corporate budgets increase, but trailing. Though corporate data security budgets are increasing this year, they still have room to grow to reach the previous year’s spending. Additionally, more than half of respondents say their organizations still do not have, or are unaware of, data security plans to help address contingencies as they arise.
    • Danger of unauthorized access. Less than a third of respondents encrypt data that is either stored or in motion, and at the same time, more than three-fifths say they send actual copies of enterprise production data to other sites inside and outside the enterprise.
    • Privileged user misuse. Only about a third of respondents say they are able to prevent privileged users from abusing data, and most do not have, or are not aware of, ways to prevent access to sensitive data using spreadsheets or other ad hoc tools.
    • Lack of consistent auditing. A majority of respondents actively collect native database audits, but there has not been an appreciable increase in the implementation of automated tools for comprehensive auditing and reporting across databases in the enterprise.

    IOUG Recommendations
    The report's author finds that securing data requires not just the ability to monitor and detect suspicious activity, but also to prevent the activity in the first place. To achieve this comprehensive approach, the report recommends the following.

    • Apply an enterprise-wide security strategy. Database security requires multiple layers of defense that include a combination of preventive, detective, and administrative data security controls.
    • Get business buy-in and support. Data security only works if it is backed through executive support. The business needs to help determine what protection levels should be attached to data stored in enterprise databases.
    • Provide training and education. Often, business users are not familiar with the risks associated with data security. Beyond IT solutions, what is needed is a well-engaged and knowledgeable organization to help make security a reality.

    0 0

     

    Businesses and government organizations are operating in an era of the empowered customer where service  and communication channels are challenged every day.  Consumers in the private sector have high expectations from purchasing gifts online, reading reviews on social sites, and expecting the companies they do business with to know and reward them.   In the Public Sector, constituents also expect government organizations to provide consistent and timely service across agencies and touch points.  Examples include requesting critical city services, applying for social assistance or reviewing insurance plans for a health insurance exchange. If an individual does not receive the services they need at the right time and place, it can create a dire situation – involving housing, food or healthcare assistance. Government organizations need to deliver a fast, reliable and personalized experience to constituents. Look at a few recent statistics from a Government focused survey:

    • How do you define good customer service? 70 % improved services, 48% shortest time to provide information, 44% shortest time to resolve complaints
    • What are ways/opportunities to improve customer service? 69% increased collaboration across agencies and 41% increased customer service channels
    • Are you using data collected to make informed decisionsto improve customer service efforts? 39% data collection is limited, not used to improve decision making

    Source: Re-Imagining Customer Service in Government, 2012
    Click here to see the highlights

    Would you like to get started– read Eight Steps to great constituent experiences for government.


    0 0

    2012年12月6日(木)、東京コンファレンスセンター品川において、アーム株式会社主催「ARM Technology Symposium 2012」が開催され、日本オラクルの組み込みJavaチームも出展します。

    セッションでは、最後の時間枠(17:20〜17:50) [C-7]で「デバイスからデータセンターにいたる開発に最適なJava Embedded on ARM」と題して、JavaOne San Francisco 2012で発表された内容を中心に、ARMに特化した組み込みJavaの最新情報を紹介します。

    展示ブースでは、ARM搭載デバイスを使った組み込みJavaのデモを展示します。

    参加費は無料です。ぜひ登録してご参加下さい。


(Page 1) | 2 | 3 | .... | 989 | newer