Get started with PL/SQL, the built-in language that every Oracle developer and database administrator must know, in Beginning PL/SQL, a fast-paced and example-filled tutorial. Learn from author Don Bales extensive experience to discover the most commonly used aspects of PL/SQL without wasting time with obscure and obsolete features.

Author Don Bales takes his 20+ years of experience and a wealth of statistics he's gathered on PL/SQL usage over those years and applies the 80/20 rule &emdash; cover whats most needed and used by PL/SQL professionals and avoid whats not necessary! The result is a book that covers all the key features of PL/SQL without wasting your time discussing esoteric and obsolete parts of the language. Learn what really matters, so that you can get to work feeling confident with what you know about PL/SQL.

  • Discover the 20% of PL/SQL that gives you 80% of the bangkey topics covered include variables and datatypes, executing statements, working with cursors, real-world objects, debugging, testing, and more.
  • Learn how to write production-level, object-oriented PL/SQLyoull explore relational PL/SQL, but unlike most other books on the subject, Don Bales emphasizes the use of PL/SQLs object-oriented features as well.
  • Work through real examples of using of PL/SQLyoull learn PL/SQL by applying it to real-world business problems, not by heavy theory.

What you will learn in this book

  • How important SQL is in PL/SQL
  • How to use PL/SQL in both a relational and object-relational setting
  • How to create maintainable, modular, and reusable PL/SQL program units
  • The importance of testing as you go, and of building a permanent test plan for each module
  • The importance of building debugging capabilities into your code and building a permanent debug facility for each module
  • The importance of documenting as you go, and in the process building a permanent documentation set for your reusable modules
  • How to apply modular PL/SQL to solve real-world problems

Read More
Posted by JavaBooks on Wednesday, July 22, 2009

Get full details on the powerful features of Oracle Database 11g from this thoroughly updated Oracle Press guide. Oracle Database 11g: The Complete Reference explains how to use all the new features and tools, execute powerful SQL queries, construct PL/SQL and SQL*Plus statements, and work with large objects and object-relational databases. Learn how to implement the latest security measures, tune database performance, and deploy grid computing techniques. An invaluable cross-referenced appendix containing Oracle commands, keywords, features, and functions is also included. This Book Covers -->

  • Install Oracle Database 11g or upgrade from an earlier version
  • Create database tables, sequences, indexes, views, and user accounts
  • Construct SQL statements, procedures, queries, and subqueries
  • Optimize security using virtual private databases and transparent data encryption
  • Import and export data using SQL*Loader and Oracle Data Pump
  • Use SQL replay, change management, and result caching
  • Avoid human errors using flashback and automatic undo management
  • Build and tune PL/SQL triggers, functions, and packages
  • Develop database applications using Java, JDBC, and XML
  • Optimize availability and scalability with Oracle Real Application Clusters

Read More
Posted by JavaBooks on

Groovy and Grails Recipes is the busy developers’ guide for developing applications in Groovy and Grails. Rather than boring you with theoretical knowledge of “yet another language/framework,” this book delves straight into solving real–life problems in Groovy and Grails using easy–to–understand, well–explained code snippets. Through learning by example, you will be able to pick up on Groovy and Grails quickly and use the book as an essential reference when developing applications.
What you’ll learn

* Discover elegant and efficient solutions to common programming problems and web development tasks.
* Get and reuse practical examples for both Groovy language and Grails framework, using the latest stable versions of each.
* Perform a wide range of development tasks that cover all of the web development tiers, from View Layer to Service Layer to Domain Layer.
* Access the wide range of available Grails framework plug–ins.
* Obtain the recipes to integrate Spring, Hibernate, SiteMesh, and more with the Grails web framework.

Read More
Posted by JavaBooks on
0 comments
categories: , , , | edit post

Interactivity—the unique feature that sets games apart from other forms of entertainment. The power of interactivity lies in the programming that occurs behind the scenes. If you’re ready to jump into the world of programming for games, “Beginning C++Game Programming” will get you started on your journey, providing you with a solid foundation in the game programming language of the professionals. As you cover each programming concept, you’ll create small games that demonstrate your new skills. Wrap things up by combining each major concept to create an ambitious multiple player game. Get ready to master the basics of game programming with C++!

This Book
contains:
Introduction
Chapter 1 – Types, Variables, and Standard I/O: Lost Fortune
Chapter 2 – Truth, Branching, and The Game Loop: Guess My Number
Chapter 3 – For Loops, Strings, and Arrays: Word Jumble
Chapter 4 – The Standard Template Library: Hangman
Chapter 5 – Functions: Mad-Lib
Chapter 6 – References: Tic-Tac-Toe
Chapter 7 – Pointers: Tic-Tac-Toe 2.0
Chapter 8 – Classes: Critter Caretaker
Chapter 9 – Advanced Classes and Dynamic Memory: Game Lobby
Chapter 10 – Inheritance and Polymorphism: Blackjack

Read More
Posted by JavaBooks on

Buying a PC from a retail computer store or a big mail-order company is easy: Outcomes the credit card, the boxes arrive at your house, and installation is as simple as plugging in the keyboard, mouse, speakers, and monitor. Even the most experienced PC hardware junkie will have to admit that a novice can save time and potential headaches by buying a retail PC.

WHAT IS INSIDE This Book:

+++ Part I: Preparations and Planning
Chapter 1: A Screwdriver Is All You Need
Chapter 2: What Type of PC Should I Build?

+++ Part II: Assembling the Basics
Chapter 3: Building the Foundation: The Case and Motherboard
Chapter 4: A Bag of Chips: Adding RAM and a CPU
Chapter 5: Installing Your Ports, Mouse, and Keyboard
Chapter 6: Adding Video Hardware
Chapter 7: Installing Your Hard Drive and Other Storage Devices
Chapter 8: Choosing and Installing an Operating System

+++ Part III: Adding the Fun Stuff
Chapter 9: Installing an Optical Drive
Chapter 10: Let Your PC Rock!
Chapter 11: Modems and the Call of Broadband

+++ Part IV: Advanced PC Options
Chapter 12: So You Want to Add a LAN?
Chapter 13: Input and Output: Scanners, Cameras, and Printers
Chapter 14: Building a Gaming PC

+++ Part V: The Part of Tens
Chapter 15: Ten Tools and Tasks for a Power User’s PC
Chapter 16: Ten Important Assembly Tips
Chapter 17: Ten Ways to Maintain Your PC
Chapter 18: Ten PC Pitfalls to Avoid Like the Plague

Read More
Posted by JavaBooks on

Storage Management in Data Centers helps administrators tackle the complexity of data center mass storage. This Book shows how to exploit the potential of Veritas Storage Foundation by conveying information about the design concepts of the software as well as its architectural background. Rather than merely showing how to use Storage Foundation, it explains why to use it in a particular way, along with what goes on inside. Chapters are split into three sections: An introductory part for the novice user, a full-featured part for the experienced, and a technical deep dive for the seasoned expert. An extensive troubleshooting section shows how to fix problems with volumes, plexes, disks and disk groups. A snapshot chapter gives detailed instructions on how to use the most advanced point-in-time copies. A tuning chapter will help you speed up and benchmark your volumes. And a special chapter on split data centers discusses latency issues as well as remote mirroring mechanisms and cross-site volume maintenance. All topics are covered with the technical know how gathered from an aggregate thirty years of experience in consulting and training in data centers all over the world.

Read More
Posted by JavaBooks on

This book is well suited for those with some experience with Flex and Spring who are looking for development design patterns and practical RIA architecture integration techniques.

What you’ll learn

* Explore best practices on architecting enterprise Rich Internet Applications with Flex and Spring.
* Discover how Flex applications interface with Spring services.
* Understand how to persist data, end–to–end, using Flex data communication protocols with Spring and its interactions with iBATIS, Hibernate, and JDBC.
* Work with solid frameworks, Cairngorm and Pure MVC, to build Flex applications.
* Build a practical application that demonstrates real experience in delivering enterprise RIAs.
* See how Spring Factories play a key role in routing calls to Spring classes from Flex clients.


Who is this book for?

This book is primarily for Spring developers and users new to Flex who want to learn how to incorporate Flex development using Spring. Flex developers curious about Spring will find this interesting as well.
About the Apress Pro Series

The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.

You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard–won solutions to problems you will face in your professional programming career.

Read More
Posted by JavaBooks on
0 comments
categories: , , , | edit post

RedCar is a TextMate like editor for Linux which supports almost all scripting and programming languages. It is designed to be compatible with Textmate bundles (a work in progress) and is written almost entirely in Ruby - with some Vala thrown in for speed. Redcar is still in its infancy so please be gentle.

Screen shots:





How to get Redcar? Don't worry Here we go.. (This is for Ubuntu 9.04)

Follow bellow steps or Go Here! for detailed explanation:

sudo apt-get install ruby ruby1.8-dev rubygems1.8 libhttp-access2-ruby1.8 rubygems1.8 rake
echo "export PATH=/var/lib/gems/1.8/bin:\$PATH" >> ~/.bashrc
source . ~/.bashrc

cho "deb http://franz.hob-bruneck.info/downloads/ jaunty/" >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install ruby-gnome2 build-essential libonig2 libonig-dev
libgtk2.0-dev libglib2.0-dev libgee0 libgee-dev libgtksourceview2.0-dev
libxul-dev xvfb libdbus-ruby libwebkit-dev libwebkit-1.0-1

wget redcareditor.com/stuff/missing_x64_headers/rbgdkconversions.h
wget redcareditor.com/stuff/missing_x64_headers/rbgtkconversions.h
sudo cp rbgdkconversions.h /usr/lib/ruby/1.8/i486-linux/
sudo cp rbgtkconversions.h /usr/lib/ruby/1.8/i486-linux/

sudo gem install oniguruma activesupport rspec cucumber hoe open4 zerenity

git clone git://github.com/danlucraft/redcar.git

git checkout stable

cd redcar/
git submodule init
git submodule update

rake build

./bin/redcar /optional/path/to/my/project

Read More
Posted by JavaBooks on
0 comments
categories: , , , | edit post

A brief overview about MockEJB. You can Download MockEJB Here!

What is MockEJB?

MockEJB is a lightweight framework for running EJBs. MockEJB implements javax.ejb APIs and creates Home and EJBObject implementation classes for your EJBs. Internally, MockEJB relies on dynamic proxies and interceptors. MockEJB has two primary usages: 

  • It allows for running EJBs outside of the container for unit testing.You can run EJBs directly from your favorite IDE with the minimal setup effort. 
  • It allows for deploying mock EJBs (i.e., mock EJB implementation classes) into the container. Mock EJBs provide very effective way of isolating EJBs under test from the rest of the application. Mock EJBs return predefined test data and can override the actual "non-mock" deployed EJBs. Once again, the purpose of MockEJB is twofold and it works inside and outside of the container. So you can benefit from it even if you continue running all your test classes inside the container using Cactus. 

Additionally, MockEJB comes with the "mock" implementation of non-EJB APIs. Currently it provides in-memory JNDI and JMS implementations which can be used independently from MockEJB's EJB support. MockEJB is not a full-blown EJB container. It does not fully implement J2EE/EJB specs, however it supports all vital APIs. 

What are the advantages of running EJBs outside of the container?

Deploying EJBs into a container oftentimes becomes a complex operation requiring to run custom scripts and proprietary deployment tools. On the other hand, EJBs are the key components of J2EE applications and usually expose important application APIs/interfaces that must be properly tested. So it is desirable to be able to edit/compile/run EJBs directly from IDE and avoid costly redeployments into the container. This is especially true if you follow test-driven development practice in which case quick edit/compile/run cycle is a must. Therefore, the main advantage of testing outside of the container is the improved developers productivity and the quality of the tests. 

How MockEJB is better than instantiating and invoking a bean (Impl) class directly?

MockEJB allows you to test EJBs that: 

  • Rely on JNDI. 
  • Call other EJBs. 
  • Have logic in ejbCreate/ejbRemove methods. 
  • Use EJBMetaData, SessionContext and other javax.ejb APIs. 
  • Need container-managed transaction support. 
  • Rely on container's CMP services. 

What are the advantages of using mock EJBs?

J2EE applications usually are pretty complex, they consist of multiple layers and modules. This means that any given EJB may depend on a number of other EJBs. So, to be able to test an EJB efficiently, one needs a strategy of isolating the EJB under test from the rest of the application by minimizing its dependencies on other parts of the application that are not in scope of the test. 

MockEJB framework gives you the ability to replace these out of scope EJBs with the classes returning data suitable for your test. Therefore, the changes in the other parts of the application won't affect the functionality of your test. 

MockEJB framework creates mock EJBs in such a way that they only exist for the duration of the test. In other words, mock EJBs don't affect the actual "non-mock" EJBs already deployed in the container. 

Mock EJBs also allow you to write tests for non-EJB classes that have dependencies on EJBs (e.g., Struts action classes). You can run these tests with or without the container. Isn't EJB technology complex? How can it be implemented by a lightweight framework? EJBs are simple if you just want to run them for the purpose of testing your business logic. In this case, the support for numerous features defined by EJB spec is not really needed. You probably don't care too much about instance pooling, proper EJB lifecycle and clustering support when you just want to run your test and see if it passed. This is the key design principle of MockEJB. It only focuses on what's relevant for unit testing and it leaves true enterprise-strength EJB support to the J2EE application server vendors. 

What EJB capabilities are currently supported?

  • Stateless and stateful session beans. 
  • Local and remote interfaces. 
  • Message-driven beans with the ability to deploy to mock JMS destinations. 
  • EJBMetaData. 
  • EJBContext. 
  • Container-managed transactions. 
  • Exception handling. 
  • CMP and BMP entity beans (with some limitations).
  • Security (with limitations). 

What EJB capabilities are not currently supported ?

  • Some methods on EJBObject/EJBLocalObject. 
  • SessionSynchronization interface. 
  • Handles. 

While only a subset of EJB spec is supported, you can always extend MockEJB using interceptors.

Read More
Posted by JavaBooks on

NetBeans IDE will support full development of JavaFx projects. Bellow features list is support by it for developing Rich internet applications.

Get NetBeans IDE 6.7 Here! and Explore JavaFX.

JavaFX Projects


The NetBeans IDE is the recommended tool to create, test, debug, and deploy JavaFX applications for the desktop, browser and mobile platforms. You have the option of deploying JavaFX projects as Java web start (JNLP), Java Applet, stand-alone applications, or in a mobile emulator. To get started quickly, select File > New Project from the main menu and have a look at our ready-to-run sample projects.  
JavaFX Script Editor

The JavaFX Script Editor supports syntax highlighting, source navigation, code completion, code folding, javadoc pop-ups, and error detection. You can use the Preview button to display the output of your visual code live. 

The IDE contains code snippets that can be dragged and dropped into the editor: The Palette allows you to quickly add JavaFX objects with transformations, effects and animation to your project.  
Full Mobile Support

The JavaFX SDK 1.2 supports JavaFX Mobile and comes with a JavaFX Mobile Emulator. JavaFX Mobile applications run directly on the Java Micro Edition platform: Benefit from Java ME's ubiquity, security, and advanced APIs, including support for GPS, cameras, filesystem, networking, and Bluetooth. 

If you already know Java ME, you can re-use existing code and skills. If you already know JavaFX, you can create mobile applications with the same familiar language, APIs, and tools. Everytime you write a JavaFX desktop application with the common profile, you are also writing for mobile devices.  
JavaFX Profiling

Use the integrated Profiler for standard CPU or memory profiling, or simple monitoring to optimize your JavaFX application's speed and memory usage. The options have been preset to default values by experts, but you can customize settings for a specific application.

Read More
Posted by JavaBooks on

Visits

Label Cloud

About Me

Followers