There are plenty of eclipse keyboard shortcuts for day to day activities. I feel bellow listed are most useful.

  • CTRL+SHIFT+R: lookup up a resource (e.g. html, xml, rb, erb, properties, etc...)
  • CTRL+SHIFT+T: lookup a class name (e.g. String or Customer)
  • CTRL+F6: quickly jump between open files
  • CTRL+E: jump between open files using a filename filter or navigation keys
  • ALT+LEFT and ALT+RIGHT: navigate back and forth in the history of the files I opened. I rely on this one a lot to avoid using the mouse when navigating back and forth between different classes that collaborate to get a user interaction handled.
  • CTRL+O: lookup a method (thanks Kristian for reminding me)
  • F3: jump to method, class, or variable declaration.
  • CTRL+J keyword: instant search of a keyword within a file
  • CTRL+F keyword then ENTER: regular search.
  • CTRL+K and CTRL+SHIFT+K: find next and find previous repeating search for the last keyword
  • Highlight text to find other occurrances of a keyword and then CTRL+K: lets you find a keyword without even typing it if you see one occurrence already in the file (for example, you see a use of the slow performing method "reindex" and you wonder where else it's used in the file)
  • CTRL+H: project-wide search for a keyword. You can also specify file patterns. Make sure to tab into fields or use mnemonics and hit ENTER instead of using the mouse. Once the search completes, pick the result you want using the up/down arrows and then hit enter to open the file.
  • HOME/END/PGUP/PGDN: for navigation of course. I've been surprised many times by how very few developers rely on these buttons to navigate a file efficiently without using the mouse.
  • CTRL+LEFT and CTRL+RIGHT: jump between words for quicker navigation in a line without taking hand off keyboard to use the mouse.
  • CTRL+SHIFT+LEFT and CTRL+SHIFT+RIGHT: quick highlighting of words without taking hand off keyboard to use the mouse.
  • CTRL+L: jump to a particular line number. I keep line numbers visible to quickly locate stack trace errors. This one is invaluable in saving me from paging through a file or using the mouse.
  • CTRL+ALT+DOWN (or UP): clones a line downwards. It's like copy/paste without using the clipboard, which I use often to avoid emptying the clipboard from something I've copied that I'd like to paste somewhere. This is most useful with the CTRL+UP/DOWN shortcuts.
  • CTRL+UP and CTRL+DOWN: moves a line up or down quickly. I often start by cloning a line, and then I move the cloned line down or up to the place I want it to be at.
  • CTRL+SHIFT+F: format content (makes sure everything is indented nicely)
  • ALT+SHIFT+UP: highlights an entire variable name even if it had underscores and multiple words
  • ALT+W P: access preferences via ALT+character mnemonics
  • ALT+character mnemonics in general: useful to do all upper menu navigation instantly without a mouse if you're on Linux or Windows (sorry Mac people). Over time, your nervous system ends up memorizing a lot of the character sequences, saving you from having to even read the menu items, let alone pointing at them with a mouse and clicking them.

Read More
Posted by JavaBooks on Thursday, July 30, 2009

"Every developer working with the Web needs to read this book." -- David Heinemeier Hansson, creator of the Rails framework "RESTful Web Services finally provides a practical roadmap for constructing services that embrace the Web, instead of trying to route around it." -- Adam Trachtenberg, PHP author and EBay Web Services Evangelist You've built web sites that can be used by humans. But can you also build web sites that are usable by machines? That's where the future lies, and that's what RESTful Web Services shows you how to do. The World Wide Web is the most popular distributed application in history, and Web services and mashups have turned it into a powerful distributed computing platform. But today's web service technologies have lost sight of the simplicity that made the Web successful. They don't work like the Web, and they're missing out on its advantages. This book puts the "Web" back into web services. It shows how you can connect to the programmable web with the technologies you already use every day. The key is REST, the architectural style that drives the Web. This book: Emphasizes the power of basic Web technologies -- the HTTP application protocol, the URI naming standard, and the XML markup language Introduces the Resource-Oriented Architecture (ROA), a common-sense set of rules for designing RESTful web services Shows how a RESTful design is simpler, more versatile, and more scalable than a design based on Remote Procedure Calls (RPC) Includes real-world examples of RESTful web services, like Amazon's Simple Storage Service and the Atom Publishing Protocol Discusses web service clients for popular programming languages Shows how to implement RESTful services in threepopular frameworks -- Ruby on Rails, Restlet (for Java), and Django (for Python) Focuses on practical issues: how to design and implement RESTful web services and clients This is the first book that applies the REST design philosophy to real web services. It sets down the best practices you need to make your design a success, and the techniques you need to turn your design into working code. You can harness the power of the Web for programmable applications: you just have to work with the Web instead of against it. This book shows you how.

Read More
Posted by JavaBooks on Tuesday, July 28, 2009

Today I was poking around INTERNET to find out what is the quickest way to find out which shell is in you are. Did a reasonable search and found some better ways

$ env|grep SHELL

$echo $SHELL ( But most of the time we dont know whether this env variable exists or not )

$echo $0 (zero) [i found this is the simplest one]

Before doing this INTERNET search i did some manual page search and where i got why can't i colorfulise my man pages and got MOST package

this is very simple in debain based linux like ubuntu

$sudo apt-get install most

and Then

$export MANPAGER="/usr/bin/most"

After the above two steps i did
$ man man -- awsome i can see all my colors

you can export MANPGER variable permanantly by adding export MANPAGER="/usr/bin/most" to /etc/bash.bashrc file.

If you dont have root access you can edit your ~/.bashrc file and export it.

After exporting MANPGER through any one of the above methods dont forget to source your profile scripts

#soruce /etc/profile (If you edit /etc/bash.bashrc)

Or

$ source ~/.bashrc (If you edit /home//.bashrc)

I love to do #man source :)

Note: I have tested this in ubuntu. If you are using Redhat/Fedora/CentOs use yum to get MOST package.

Read More
Posted by JavaBooks on Saturday, July 25, 2009

Published with the developer in mind, firstPress technical briefs explore emerging technologies that have the potential to be critical for tomorrow's industry. Apress keeps developers one step ahead by presenting key information as early as possible in a PDF of 150 pages or less. Explore the future through Apress...

Mule 2: A Developer’s Guide introduces the Mule 2.0 integration platform for developers of enterprise integration applications who wish to leverage the latest Mule as a lightweight messaging framework that contains a distributable object broker for managing communication between applications.

  • The book is based on insight, knowledge, and experience resulting from working with Mule.
  • The text provides support, consulting, and training to developers implementing Mule in a broad range of scenarios ranging from small projects through to large corporations developing major deployments.
  • The author(s) have also developed the official training materials for Mule.

What you’ll learn

  • Understand the background and fundamental concepts of an enterprise services bus (ESB) and the Mule 2 framework architecture.
  • Configure Mule for your own environment.
  • Understand message flows, styles, and key transports in Mule.
  • Implement Mule in a broad range of scenarios using Mule execution models and the Mule APIs.
  • Handle errors and security protocols in Mule.

  • Who is this book for?

    This firstPress book is for developers interested in building integration solutions using Mule 2.0.


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

    The Java Message Service (JMS) provides a way for the components of a distributed application to talk asynchronously, or for welding together legacy enterprise systems. Think of it as application-to-application e-mail. Unlike COM, JMS uses one or more JMS servers to handle the messages on a store-and-forward basis, so that the loss of one or more components doesn't bring the whole distributed application to a halt.

    JMS consists of a set of messaging APIs that enable two types of messaging, publish-and-subscribe (one-to-many) and point-to-point (one-to-one). The highly lucid explanation of the ways in which these work makes the technical content a lot more approachable. In practice, however, Java Message Service is still a book for Java programmers who have some business programming experience. You need the background.

    After a simple JMS demonstration in which you create a chat application using both messaging types, the authors dissect JMS message structures, explore both types in detail, and then move on to real-world considerations. These include reliability, security, deployment, and a rundown of various JMS server providers. The appendices list and describe the JMS API, and provide message reference material.

    Considering the complexity and reach of the subject matter, Java Message Service does a great job of covering both theory and practice in a surprisingly efficient manner. It's easy to see why JMS has become so popular so quickly. Recommended. --Steve Patient, Amazon.co.uk --This text refers to the Paperback edition.

    Product Description
    Java Message Service, Second Edition, is a thorough introduction to the standard API that supports "messaging" -- the software-to-software exchange of crucial data among network computers. You'll learn how JMS can help you solve many architectural challenges, such as integrating dissimilar systems and applications, increasing scalability, eliminating system bottlenecks, supporting concurrent processing, and promoting flexibility and agility. Updated for JMS 1.1, this second edition also explains how this vendor-agnostic specification will help you write messaging-based applications using IBM's MQ, Progress Software's SonicMQ, ActiveMQ, and many other proprietary messaging services. With Java Message Service, you will:

    Build applications using point-to-point and publish-and-subscribe messaging models Use features such as transactions and durable subscriptions to make an application reliable Implement messaging within Enterprise JavaBeans (EJB) using message-driven beans Use JMS with RESTful applications and with the Spring application framework

    Messaging is a powerful paradigm that makes it easier to uncouple different parts of an enterprise application. Java Message Service, Second Edition, will quickly teach you how to use the key technology that lies behind it.

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

    Pro PHP XML and Web Services is the authoritative guide to using the XML features of PHP 5 and PHP 6. No other book covers XML and Web Services in PHP as deeply as this title. The first four chapters introduce the core concepts of XML required for proficiency, and will bring you up to speed on the terminology and key concepts you need to proceed with the rest of the book. Next, the book explores utilizing XML and Web Services with PHP5. Topics include DOM, SimpleXML, SAX, xmlReader, XSLT, RDF, RSS, WDDX, XML-RPC, REST, SOAP, and UDDI.

    Author Robert Richards, a major contributor to the PHP XML codebase, is a leading expert in the PHP community. In this book, Richards covers all topics in depth, blending theory with practical examples. Youll find case studies for the most popular web services like Amazon, Google, eBay, and Yahoo. The book also covers XML capabilities, demonstrated through informative examples, in the PEAR libraries.

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

    Drawn from actual excel conundrums posted on the author's website, www.mrexcel.com, this high-level resource is designed for people who want to stretch Excel to its limits. Tips for solving 100 incredibly difficult problems are covered in depth and include extracting the first letter of each word in a paragraph, validating URL's, generating random numbers without repeating, and hiding rows if cells are empty. The answers to these and other questions have produced results that have even surprised the Excel development team.

    Don't miss this book.

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

    SQL Server 2008 is a first–rate database management system. It offers more capability than any previous release of SQL Server. More than just a classic relational database management system, SQL Server 2008 includes exciting and powerful features that make it useful for everything from large corporate data warehouses to ad hoc departmental databases. You’ll find enhanced support for XML, new support for spatial data, transparent data encryption, a policy–based management system, and more.

    Author and developer Robin Dewson will show you the way from beginner to SQL Server 2008 professional. Learn to install SQL Server 2008 and navigate around Management Studio before getting right to the heart of mastering fundamental SQL Server 2008 tasks: creating tables, storing data, securing data, and retrieving it again. Dewson ensures you’ll be fully prepared to use all the basics and create a solid foundation for your own projects.

    Don’t forget about backups! Your database will house important data, so backing up is essential to protect yourself from inevitable hardware failure. Dewson walks you through SQL Server 2008’s easy–to–use backup and recovery feature set, giving you the grounding that you need in order to set up a reliable plan for recovery in your own environment.

    Learn to use Transact–SQL, a full–blown procedural language that is built right into the database system. Transact–SQL is the key to unlocking everything that SQL Server 2008 has to offer. Using Transact–SQL, you can write centrally encapsulated business logic through the use of stored procedures, automatically trigger processing through the use of triggers, and manipulate data within the server without having to move data back and forth across the network.

    Finally, you’ll learn a bit about SQL Server 2008 Reporting Services, a powerful tool that allows enterprise reporting. Reporting Services enables you to develop and serve reports across your organization and even to business partners outside your company. Reporting Services also gives end users the ability to create their own reports, helping them transform business data into valuable, usable information to guide their day–to–day decisions.

    What you’ll learn

    • Install and manage SQL Server on your system.
    • Create and secure tables.
    • Store and query data; use indexes to improve query performance.
    • “Sleep when the wind blows,” because you have a solid backup and recovery process.
    • Run procedural code inside your database in the form of Transact–SQL procedures and triggers.
    • Serve up business reports to in–house users and outside business partners via SQL Server 2008 Reporting Services.

    Who is this book for?

    Developers new to SQL Server 2008. If you are just beginning to develop software using SQL Server 2008, or if you are planning to do so in the near future, this book will set you on the road to success.

    Read More
    Posted by JavaBooks on

    At any given moment, somewhere in the world someone struggles with the same software design problems you have. You know you don't want to reinvent the wheel (or worse, a flat tire), so you look to Design Patterns--the lessons learned by those who've faced the same problems. With Design Patterns, you get to take advantage of the best practices and experience of others, so that you can spend your time on... something else. Something more challenging. Something more complex. Something more fun.

    You want to learn about the patterns that matter--why to use them, when to use them, how to use them (and when NOT to use them). But you don't just want to see how patterns look in a book, you want to know how they look "in the wild". In their native environment. In other words, in real world applications. You also want to learn how patterns are used in the Java API, and how to exploit Java's built-in pattern support in your own code.

    You want to learn the real OO design principles and why everything your boss told you about inheritance might be wrong (and what to do instead). You want to learn how those principles will help the next time you're up a creek without a design paddle pattern.

    Most importantly, you want to learn the "secret language" of Design Patterns so that you can hold your own with your co-worker (and impress cocktail party guests) when he casually mentions his stunningly clever use of Command, Facade, Proxy, and Factory in between sips of a martini. You'll easily counter with your deep understanding of why Singleton isn't as simple as it sounds, how the Factory is so often misunderstood, or on the real relationship between Decorator, Facade and Adapter.

    With Head First Design Patterns, you'll avoid the embarrassment of thinking Decorator is something from the "Trading Spaces" show. Best of all, in a way that won't put you to sleep! We think your time is too important (and too short) to spend it struggling with academic texts.

    If you've read a Head First book, you know what to expect - a visually-rich format designed for the way your brain works. Using the latest research in neurobiology, cognitive science, and learning theory, Head First Design Patterns will load patterns into your brain in a way that sticks. In a way that lets you put them to work immediately. In a way that makes you better at solving software design problems, and better at speaking the language of patterns with others on your team.

    Read More
    Posted by JavaBooks on

    Taking care to focus solely on those topics that will have the most impact on experienced PHP developers, Pro PHP is written for readers seeking to take their understanding of both PHP and sound software development practices to the next level. Advanced object–oriented features, documentation, debugging, software patterns, and the Standard PHP Library are just a few of the topics covered in extensive detail.

    Author and noted PHP expert Kevin McArthur also examines emerging practices and trends such as the MVC architecture as applied to PHP, with special emphasis placed upon the increasingly popular Zend Framework.

    With Ajax and web services crucial to the success of todays web applications, the book concludes with several chapters covering JSON, the SOAP extension, and advanced web services topics.

    If youre seeking to go beyond the basics, Pro PHP is the book for you.

    Read More
    Posted by JavaBooks on Thursday, July 23, 2009

    First, you can get the source code directly from Apress' website. Second...the implementations are in simple terms. Third...(Grant Palmer's) book is full of trivia about physics that are just plain fun to read. As far as the style of the book goes, I think that's actually where it really shines. The author has a way of explaining things that's thorough without being verbose.

    Physics for Game Programmers shows you how to infuse compelling and realistic action into game programming&emdash;even if you don't have a college-level physics background! Author Grant Palmer covers basic physics and mathematical models and then shows how to implement them, to simulate motion and behavior of cars, planes, projectiles, rockets, and boats.

    This book is neither code heavy nor language specific, and all chapters include unique, challenging exercises for you to solve. This unique book also includes historical footnotes and interesting trivia. You'll enjoy the conversational tone, and rest assured: all physics jargon will be properly explained.



    About the Author
    Grant Palmer is the author of the acclaimed Java Programmer’s Reference and is a recognized expert in both the C# and Java languages. Grant has worked as a scientific programmer in the Space Technology Division at the NASA Ames Research Center for the past 20 years. This has involved working with Java since 1996, developing programs for scientific applications as well as converting older FORTRAN and C applications to the Java and C# platforms.

    Read More
    Posted by JavaBooks on

    This small suite of sample web applications is offered to you as a way to illustrate use of the Twitter API, the collection of web service methods that bring Twitter data into third-party programming. These applications explore some common reasons to access the API:
    Administration Tool
    A master account is needed to do things like send direct messages and conduct data mining on the backend. Unlike most of the user-driven tools, the master account must be available even when the account holder (you) isn’t around to log in. This simple tool allows the master account’s password to be saved to the database in a safe way. Only you will use this tool. In fact, without knowing the password attached to the master Twitter account, others shouldn’t be able to do anything with this application.
    Tweet Publisher
    This application is a straightforward status updater. To publish to your own timeline, enter your Twitter account information and a short 140-character message. After doing so, you will see a link to the new tweet.
    Auto Tweet
    Each member account can be associated with a single RSS or Atom feed, from which a new tweet will be automatically generated. There is an automated task associated with this application that checks each registered feed for new content in six-hour cycles and posts the most recent article.
    Tweet Broadcast
    This is an aggregation tool, where you can collect daily tweets from a handful of other Twitter members into a single RSS item. An RSS feed is generated that contains information for up to 20 days of activity, collected by an automated task that checks for new tweets once a day. Each member account can have one aggregation feed.
    Tweet Alert
    Tracking tweets based on keywords is made easy with the Twitter search API. Each member can list a few keywords in Tweet Alert and receive a notification when any of those terms appears in a public tweet. The content scans are performed every 15 minutes. If a match is found—and the member is following your master Twitter account—a direct message is sent to that member with a link to the search results.
    Network Viewer
    Probably the most useful among the suite of tools, this web application allows Twitter members to see the profile images of all the people they’re following. Private accounts are outlined in red, and (in most modern browsers) mousing over each picture reveals additional detail about that member.

    Product Description
    This groundbreaking book provides you with the skills and resources necessary to build web applications for Twitter. Perfect for new and casual programmers intrigued by the world of microblogging, Twitter API: Up and Running carefully explains how each part of Twitter's API works, with detailed examples that show you how to assemble those building blocks into practical and fun web applications. You'll also get a complete look at Twitter culture and learn how it has inspired programmers to build hundreds of tools and applications. With this book, you will:

    • Explore every component of a Twitter application and learn how the API responds
    • Get the PHP and MySQL code necessary to build your own applications, with explanations of how these ingredients work
    • Learn from real-world Twitter applications created just for this book
    • Discover the most interesting and useful Twitter programs--and get ideas for creating your own--with the book's Twitter application directory.

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

    This is a 3rd edition
    If HTML, XHTML, and CSS can do it, you can do it too...

    Whether hand-coded or created by a visual editor, static or dynamic, most Web pages rely on HTML. The more you know about this language and its companion technologies, XHTML and CSS, the more flexible, creative, and effective your Web site will be. This all-new reference covers the latest updates and dramatic improvements in all three. You’ll learn which tools help you achieve specific results, how CSS enables consistent formatting, the most efficient way to code and use HTML, and so much more.

    Inside of this book, you’ll find complete coverage of HTML, XHTML, and CSS

    • Understand how the Web works and the importance of the W3C® in establishing and maintaining standards
    • Review the basic parts of a Web page and how they interact
    • Discover how to maintain consistency with Cascading Style Sheets (CSS)
    • Create style rules, understand inheritance, and match elements by name, class, or identifier
    • Learn to select the best Web technology for the objective you want to achieve
    • Manage images, fonts, lists, links, tables, and special characters
    • Explore tools and methodology for testing, publishing, and maintaining Web content
    • Follow best practices in developing structured, accessible content and protecting it online
    • Find out which peripheral Web technologies are most valuable in the long run
    • Explore how server-side and client-side scripting can add capabilities to your content

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

    Linux now offers an exceptionally robust environment for driver development: with today’s kernels, what once required years of development time can be accomplished in days. In this practical, example-driven book, one of the world’s most experienced Linux driver developers systematically demonstrates how to develop reliable Linux drivers for virtually any device. Essential Linux Device Drivers is for any programmer with a working knowledge of operating systems and C, including programmers who have never written drivers before. Sreekrishnan Venkateswaran focuses on the essentials, bringing together all the concepts and techniques you need, while avoiding topics that only matter in highly specialized situations. Venkateswaran begins by reviewing the Linux 2.6 kernel capabilities that are most relevant to driver developers. He introduces simple device classes; then turns to serial buses such as I2C and SPI; external buses such as PCMCIA, PCI, and USB; video, audio, block, network, and wireless device drivers; user-space drivers; and drivers for embedded Linux–one of today’s fastest growing areas of Linux development. For each, Venkateswaran explains the technology, inspects relevant kernel source files, and walks through developing a complete example.

    • Addresses drivers discussed in no other book, including drivers for I2C, video, sound, PCMCIA, and different types of flash memory

    • Demystifies essential kernel services and facilities, including kernel threads and helper interfaces

    • Teaches polling, asynchronous notification, and I/O control

    • Introduces the Inter-Integrated Circuit Protocol for embedded Linux drivers

    • Covers multimedia device drivers using the Linux-Video subsystem and Linux-Audio framework

    • Shows how Linux implements support for wireless technologies such as Bluetooth, Infrared, WiFi, and cellular networking

    • Describes the entire driver development lifecycle, through debugging and maintenance

    • Includes reference appendixes covering Linux assembly, BIOS calls, and Seq files

    Read More
    Posted by JavaBooks on

    Get started using Office 2007 right away--the QuickSteps way. Color screenshots and clear instructions guide you through all of the essential features and functions of the world's most popular productivity suite. Follow along and learn how to create great-looking Word documents; build number-crunching Excel spreadsheets; manage Outlook email, contacts, and schedules; and design impressive PowerPoint presentations. Get the book that gets you up and running on Office 2007 in no time.

    Use these handy guideposts:

    • Shortcuts for accomplishing common tasks
    • Need-to-know facts in concise narrative
    • Helpful reminders or alternate ways of doing things
    • Bonus information related to the topic being covered
    • Errors and pitfalls to avoid

    Read More
    Posted by JavaBooks on

    For web developers used to wrestling with Java and XML, Grails is a breath of fresh air. Developers are instantly productive, picking up all the benefits of the Ruby-based Rails framework without giving up any of the power of Java.

    Grails in Action is a comprehensive look at Grails for Java developers. It covers the nuts and bolts of the core Grails components and is jam-packed with tutorials, techniques, and insights from the trenches.

    The book starts with an overview of Grails and how it can help you get your web dev mojo back. Then it walks readers through a Twitter-style social networking app-built in Grails, of course-where they implement high-interest features like mashups, AJAX/JSON, animation effects, full text search, rounded corners, and lots of visual goodness. The book also covers using Grails with existing Java technology, like Spring, Hibernate, and EJBs.

    Read More
    Posted by JavaBooks on Wednesday, July 22, 2009
    0 comments
    categories: , , , | edit post

    This book is a comprehensive guide to the tips, techniques, secrets, standards, and methods of website optimization. From increasing site traffic to maximizing leads, from revving up responsiveness to increasing navigability, from prospect retention to closing more sales, the world of 21st century website optimization is explored, exemplified and explained.

    Website Optimization combines the disciplines of online marketing and site performance tuning to attain the competitive advantage necessary on today's Web. You'll learn how to improve your online marketing with effective paid and natural search engine visibility strategies, strengthened lead creation and conversion to sales methods, and gold-standard ad copywriting guidelines. Plus, your increased site speed, reduced download footprint, improved reliability, and improved navigability will work synergistically with those marketing methods to optimize your site's total effectiveness.

    In this book for business and IT managers, author Andrew King, president of Website Optimization, LLC, has assembled experts in several key specialties to teach you:

    Search engine optimization -- addressing best (and worst) practices to improve search engine visibility, including step-by-step keyword optimization guidelines, category and tag cloud creation, and guerilla PR techniques to boost inbound links and improve rankings Pay-per-click optimization -- including ad copywriting guidelines, setting profit-driven goals, calculating and optimizing bids, landing page optimization, and campaign management tips Optimizing conversion rates -- increasing leads with site landing page guidelines, such as benefit-oriented copy, credibility-based design, value hierarchies, and tips on creating unique selling propositions and slogans Web performance tuning -- optimizing ways to use (X)HTML, CSS, and Ajax to increase speed, reduce your download footprint, and increase reliability Advanced tuning -- including client-side techniques such as on-demand content, progressive enhancement, and inline images to save HTTP requests. Plus server-side tips include improving parallelism, using cache control, browser sniffing, HTTP compression, and URL rewriting to remap links and preserve traffic Web metrics -- illustrating the best metrics and tools to gather details about visitors and measure web conversion and success rates, and covering both search marketing metrics and web performance measures including Pathloss and waterfall graphs.

    Website Optimization not only provides you with a strategy for success, it also offers specific techniques for you and your staff to follow. A profitable website needs to be well designed, current, highly responsive, and optimally persuasive if you're to attract prospects, convert them to buyers, and get them to come back for more. This book describes precisely what you need to accomplish to achieve all of those goals.

    Read More
    Posted by JavaBooks on

    Since the enormous number of new features made available with MySQL release 5.0, MySQL has been gaining steam as a viable alternative to database behemoths like Oracle and IBM DB2. MySQL users now have the ability to extend MySQL with new SQL commands, optimize query execution, and embed MySQL within low-resource environments like embedded devices and kiosks.

    Expert MySQL, by Dr. Charles A. Bell, is the first book to examine these opportunities in detail, showing you how to wield maximum control over this powerful open source database. Youll learn how to create your own custom storage handlers, ensuring maximum flexibility and speed within your specialized applications. Youll also gain valuable insight into MySQLs architecture and learn how to tweak its behavior through custom changes to the source code.

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

    After years of anticipation and delay, the W3C finally released the XSLT 2.0 standard in January 2007. The revised edition of this classic book offers practical, real-world examples that demonstrate how you can apply XSLT stylesheets to XML data using either the new specification, or the older XSLT 1.0 standard. XSLT is a critical language for converting XML documents into other formats, such as HTML code or a PDF file. With XSLT, you get a thorough understanding of XSLT and XPath and their relationship to other web standards, along with recommendations for a honed toolkit in an open platform-neutral, standards-based environment. This book: Covers the XSLT basics, including simple stylesheets and methods for setting up transformation engines Walks you through the many parts of XSLT, particularly XSLT's template-based approach to transformations Applies both XSLT 1.0 and 2.0 solutions to the same problems, helping you decide which version of XSLT is more appropriate for your project Includes profuse examples that complement both the tutorial and the reference material.

    The new edition of XSLT has been updated thoroughly to explain XSLT 2.0's many dependencies, notably XML Schema and XPath 2.0. Want to find out how the 2.0 specification improves on the old? This book will explain.

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

    More and more Web sites are being rewritten as Ajax applications; even traditional desktop software is rapidly moving to the Web via Ajax. But, all too often, this transition is being made with reckless disregard for security. If Ajax applications aren’t designed and coded properly, they can be susceptible to far more dangerous security vulnerabilities than conventional Web or desktop software. Ajax developers desperately need guidance on securing their applications: knowledge that’s been virtually impossible to find, until now.

    Ajax Security systematically debunks today’s most dangerous myths about Ajax security, illustrating key points with detailed case studies of actual exploited Ajax vulnerabilities, ranging from MySpace’s Samy worm to MacWorld’s conference code validator. Even more important, it delivers specific, up-to-the-minute recommendations for securing Ajax applications in each major Web programming language and environment, including .NET, Java, PHP, and even Ruby on Rails. You’ll learn how to:

    · Mitigate unique risks associated with Ajax, including overly granular Web services, application control flow tampering, and manipulation of program logic

    · Write new Ajax code more safely—and identify and fix flaws in existing code

    · Prevent emerging Ajax-specific attacks, including JavaScript hijacking and persistent storage theft

    · Avoid attacks based on XSS and SQL Injection—including a dangerous SQL Injection variant that can extract an entire backend database with just two requests

    · Leverage security built into Ajax frameworks like Prototype, Dojo, and ASP.NET AJAX Extensions—and recognize what you still must implement on your own

    · Create more secure “mashup” applications

    Ajax Security will be an indispensable resource for developers coding or maintaining Ajax applications; architects and development managers planning or designing new Ajax software, and all software security professionals, from QA specialists to penetration testers.

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

    Deliver dynamic, client/server PL/SQL applications with expert guidance from an Oracle programming professional. With full coverage of the latest features and tools, Oracle Database 11g PL/SQL Programming lays out each topic alongside detailed explanations, cut-and-paste syntax examples, and real-world case studies. Access and modify database information, construct powerful PL/SQL statements, execute effective queries, and deploy bulletproof security. You'll also learn how to implement C, C++, and Java procedures, Web-enable your database, cut development time, and optimize performance. This Book covers

    • Create, debug, and manage Oracle-driven PL/SQL programs
    • Use PL/SQL structures, delimiters, operators, variables, and statements
    • Identify and eliminate errors using PLSQL_WARNINGS and exception handlers
    • Work with functions, procedures, packages, collections, and triggers
    • Define and deploy varray, nested table, and associative array data types
    • Handle external routines, object types, large objects, and secure files
    • Communicate between parallel sessions using DBMS_ALERT and DBMS_PIPE
    • Call external procedures through Oracle Net Services and PL/SQL wrappers
    • Integrate internal and server-side Java class libraries using Oracle JVM
    • Develop robust Web applications using PL/SQL Gateway and Web Toolkit

    Read More
    Posted by JavaBooks on

    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

    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

    No Unix-class system administrator or user will get far without learning the basics of vi(1), the widespread visual text-mode editor. Learning it has just gotten easier with "vi(1) Tips," the first book on vi(1) that doesn't scare the reader with unfamiliar terminology. We designed this book to get you up to speed with vi(1) in the least possible amount of time. And yes, the skills you learn in this book can be applied to all vi(1) implementations, including vim.

    Enjoy this great book!

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

    There’s zero which hard-core Unix as well as Linux users have been some-more immoderate about than their content editor. Editors have been a theme of devotion as well as worship, or of gibe as well as ridicule, depending upon possibly a subject of contention is your editor or someone else’s. vi has been a customary editor for tighten to thirty years. Popular upon Unix as well as Linux, it has a flourishing following upon Windows systems, too. Most gifted complement administrators bring vi as their apparatus of choice. And given 1986, this book has been a beam for vi. However, Unix systems have been not what they were thirty years ago, as well as conjunction is this book. While maintaining all a profitable facilities of prior editions, a 7th book of Learning a vi as well as motion Editors has been stretched to embody minute report upon vim, a heading vi clone. motion is a default chronicle of vi upon most Linux systems as well as upon Mac OS X, as well as is accessible for most alternative handling systems too. With this guide, we sense content modifying basis as well as modernized collection for both editors, such as multi-window editing, how to write both interactive macros as well as scripts to magnify a editor, as well as energy collection for programmers — all in a easy-to-follow character which has done this book a classic. Learning a vi as well as motion Editors includes: A finish key to content modifying with vi: How to pierce around vi in a precipitate Beyond a basics, such as regulating buffers vi’s tellurian poke as well as deputy Advanced editing, together with customizing vi as well as executing Unix commands How to have full have make make use of of of of vim: Extended content objects as well as some-more absolute unchanging expressions Multi-window modifying as well as absolute motion scripts How to have full have make make use of of of of a GUI chronicle of vim, called gvim vim’s enhancements for programmers, such as syntax highlighting, folding as well as lengthened tags Coverage of 3 alternative renouned vi clones — nvi, elvis, as well as sinister — is additionally included. You’ll find multiform profitable appendixes, together with an in a order of a alphabet discerning anxiety to both vi as well as ex mode commands for unchanging vi as well as for vim, as well as an updated supplementary material upon vi as well as a Internet. Learning possibly vi or motion is compulsory believe if we have make make use of of of Linux or Unix, as well as in possibly case, celebration of a mass this book is essential. After celebration of a mass this book, a preference of editor will be viewable for we too.

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

    This book is for PHP developers who want to or are using Zend Framework. As Zend
    Framework has a use-at-will philosophy, not all chapters will be useful to every reader
    immediately. However, we believe that all readers will gain something from every
    chapter, even if you have to read it again to pick up the details when you start using
    that component!.

    This is not a beginner’s book; you should already familiar with PHP and have an understanding of object-oriented programming.

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

    This book will give ASP.NET developers the power to quickly and easily create visually stunning Internet applications, coupled with rich interactivity to fully immerse the user in a new online experience. Silverlight gives you everything you need to do just this, and in serious style!

    As well as taking you through each feature that ships with Silverlight, this book will make sure you’re able to debug, troubleshoot, and performance-tune your Silverlight applications, as well as seamlessly hook into your existing ASP.NET architecture and code base.

    This book is aimed at .NET developers and architects who want to quickly get up to speed with all that Silverlight 2 has to offer.

    As well as covering the breadth of features that Silverlight 2 provides, this book makes a point of demonstrating where necessary how the particular feature can be integrated tightly with the ASP.NET host application. An example is in Chapter 7, where the ASP.NET Profile service is utilized directly from within Silverlight to obtain user-specific data.

    It’s fair to say that although this book is aimed at ASP.NET developers, it covers all of the salient features of Silverlight 2 to the degree that it’s a useful programming resource for developers not using ASP.NET also.

    If you’re fresh to .NET development, however, you might want to check out a beginning .NET book first, to help you overcome the syntax and set-up queries when learning a new language. Otherwise, take a deep breath and dive in!

    This book covers the full feature set of Silverlight 2, diving into each of the subject areas to give depth and breadth coverage. As well as teaching you about the component parts of the Silverlight API, the book also covers debugging, troubleshooting, and performance-tuning your Silverlight applications, arming you with all the skills and knowledge you’ll need to create advanced Silverlight-based applications in record time.

    Importantly, this book covers the integration points between ASP.NET and Silverlight, taking you through the different techniques you can use to seamlessly augment your existing or new ASP.NET web sites with the power of Silverlight.

    If you want to program in Silverlight and potentially use ASP.NET as the host, then this book covers it all.

    This book is split into two distinct parts. Part I is titled “Silverlight Fundamentals for ASP.NET Developers,” and Part II is titled “Developing ASP.NET Applications with Silverlight.” Part I is intended to give you grounding in what Silverlight is as a technology and how it fits into the Web-based landscape. The component pieces of a Silverlight application are also laid out at a high level, and any knowledge required before putting an application together is explained.

    Part II is written to give you depth of knowledge across the Silverlight feature-set and show you how to leverage the power of both Silverlight and ASP.NET to create compelling applications.

    Read More
    Posted by JavaBooks on

    JavaFX is a scripting language which provides built-in properties for manipulating objects within a 2D coordinate system. A competing technology to Microsoft’s Silverlight, JavaFX provides the tools to fill and pen stroke colors, and create special effects, shapes and lines. It also manipulates images and play videos and sound and defines animations that affect objects over time. This complete introduction for any level doesn’t bury you with details. It starts quickly with an introduction to the power of JavaFX key features–scene node graphs, nodes as components, the coordinate system, layout options, colors and gradients, custom classes with inheritance, animation, binding, and event handlers. It then shows step-by-step how these features could be used in a real JavaFX application and will help an application look professionally designed.

    This Book commissioned by JavaFX product team and reviewed by renowned Java author, Brian Goetz, this guide is intended as the first and most accessible book for people new to JavaFX.

    - The Andersons are working directly with the JavaFX team at Sun for a complete and authoritative guide
    - Gets you started on building rich Web apps quickly without having to sort through unnecessary details or search the Web for answers
    - Focuses on most useful features and shows how to build apps that tap the full potential of JavaFX

    Source Code For this book can be found Here!

    Read More
    Posted by JavaBooks on

    ASP.NET 3.5 is the latest version of Microsoft’s revolutionary ASP.NET technology. It is the principal standard for creating dynamic web pages on the Windows platform. Pro ASP.NET 3.5 in VB 2008: Includes Silverlight 2 raises the bar for high–quality, practical advice on learning and deploying Microsoft’s dynamic web solution.

    Updated with everything you need to integrate Silverlight 2.0 into your ASP.NET applications, this book teaches you all about Silverlight’s exciting new features so that your ASP projects can be rich in visual flair and compelling to the user. You’ll learn how to use the new levels of abstraction in the Entity Framework to design elegant, powerful application architectures.

    Seasoned .NET professionals Matthew MacDonald, Mario Szpuszta, and Vidya Vrat Agarwal explain how you can get the most from these groundbreaking new technologies. They cover ASP.NET 3.5 as a whole, illustrating both the brand–new features and the functionality carried over from previous versions of ASP. This book will give you the knowledge you need to code real ASP.NET 3.5 applications in the best possible style.

    This book will teach you ASP.NET 3.5 starting with core concepts to more advanced topics. You will learn Core concepts of ASP.NET 3.5. Why it’s special. What its fundamental principles are. The basics of Visual Studio. How ASP.NET 3.5 controls are created, and how they fit into ASP.NET 3.5 pages, ultimately creating full applications. Security. Once considered the Achilles’ heel of all Windows web applications, security has vastly improved and is a cornerstone of ASP.NET 3.5. This book explains the various forms of available security and how to best apply them. Taking things further using advanced user interface techniques. This includes user controls, customer server controls, client–side javascript, and GDI+. Web services. In an increasingly connected world, working with web services grows in importance. This book will show you how to work with them. ASP.NET AJAX, with an emphasis on contemporary web development techniques. Development using Internet Information Services 7, Microsoft’s premier web hosting platform.

    Read More
    Posted by JavaBooks on Tuesday, July 21, 2009

    This book describes C# 3.0. It is divided into two parts. Part I provides a comprehensive discussion of the C# language, including the new features added by version 3.0. This is the largest part in the book, and it describes the keywords, syntax, and features that define the language. I/O, file handling, reflection, and the preprocessor are also discussed in Part I.Part II explores the C# class library, which is the .NET Framework class library.

    This library is huge! Because of space limitations, it is not possible to cover the entire .NET Framework class library in one book. Instead, Part II focuses on the core library, which is contained in the System namespace. Also covered are collections, multi-threading, networking, and Windows Forms. These are the parts of the library that nearly every C#programmer will use.

    This book does not require any previous programming experience. If you already know C++ or Java, you will be able to advance quite rapidly because C# has much in common with those languages. If you don’t have any previous programming experience, you will still be able to learn C# from this book, but you will need to work carefully through the examples in each chapter.

    Read More
    Posted by JavaBooks on

    As the ultimate resource on the basics of the Linux desktops, servers, and programming tools, this book is written by the ultimate author on all things Linux. This transition resource is ideal if you are making the move from Windows or Macintosh to using Linux as your desktop system, and explains the Linux technology, offers detailed installation instructions, and includes step-by-step descriptions of key desktop and server components. You’ll relish the in-depth descriptions that will help you choose the best Linux distribution to suit your needs.

    This Book
    covers Ubuntu, Fedora, OpenSuSe, Debain and other Top 13 Linux Distributions.

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

    They dreamed of a better browser . . . and before you could say "explore no more," Firefox was born. But already you want more. Tighter security, greater functionality. A custom installation for Linux. Maybe even that unique extension you've always dreamed of creating. Well, if you want to tweak the Fox, here are over 400 pages of ways to do it.

    Step-by-step instructions for these hacks and dozens more

    * Settings, content, and extension hacks
    * Hacking the interface and themes
    * Performance boosters
    * Anti-phishing and security hacks
    * Toolbar and status bar tweaks
    * Navigation, download, and search hacks
    * Hacks for common plugins
    * Extension and theme creation

    From the Back Cover
    They dreamed of a better browser . . . and before you could say "explore no more," Firefox was born. But already you want more. Tighter security, greater functionality. A custom installation for Linux. Maybe even that unique extension you've always dreamed of creating. Well, if you want to tweak the Fox, here are over 400 pages of ways to do it. From hacking profile settings to *****ing links and cleaning out the cookie jar, this is the stuff that puts you in control.

    Step-by-step instructions for these hacks and dozens more

    * Settings, content, and extension hacks
    * Hacking the interface and themes
    * Performance boosters
    * Anti-phishing and security hacks
    * Toolbar and status bar tweaks
    * Navigation, download, and search hacks
    * Hacks for common plugins
    * Extension and theme creation

    And More.. So Why are you waiting Get It! Here!

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

    The everyday Linux user can easily get overwhelmed by the complexity of the new software that exists when creating an Ubuntu system. This book covers the basics of creating a new system from scratch and explains what software is installed. You’ll take a tour of installing the Ubuntu Linux distribution system in most environments, including nontraditional situations such as dual-boot and text-based installations. Plus, clear explanations of each of the installed applications show you how to get the most out of each application, rather than simply using them as they exist.

    Grab it! Here!

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

    The EasyMock project provides a library that simplifies the use of Mock Objects in interfaces. Unit testing is the testing of software units in isolation. However, most units in real world production environments do not work alone, but rather in collaboration with other units. To test a unit in isolation, we have to simulate the collaborators in the test. A Mock Object is a test-oriented replacement for a collaborator configured to simulate the object it replaces. In contrast to a stub, a Mock Object can also verify whether it has been used as expected.

    EasyMock was the first dynamic Mock Object generator, relieving the need for users to hand-write Mock Objects, or generate code for them.

    EasyMock generates Mock Objects on the fly using Java's proxy mechanism. Due to EasyMock's unique style of recording expectations, most refactorings will not affect the Mock Objects. This makes EasyMock a perfect fit for Test-Driven Development.

    You can download EasyMock Here!

    Read More
    Posted by JavaBooks on

    Apache ActiveMQ is the most popular and powerful open source Enterprise Messaging and Integration Patterns provider.

    Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License

    Grab yourself a Download, try our Getting Started Guide, surf our FAQ or start Contributing and join us on our Discussion Forums.

    Features:

    • Supports a variety of Cross Language Clients and Protocols from Java, C, C++, C#, Ruby, Perl, Python, PHP
      • OpenWire for high performance clients in Java, C, C++, C#
      • Stomp support so that clients can be written easily in C, Ruby, Perl, Python, PHP, ActionScript/Flash, Smalltalk to talk to ActiveMQ as well as any other popular Message Broker
    • full support for the Enterprise Integration Patterns both in the JMS client and the Message Broker
    • Supports many advanced features such as Message Groups, Virtual Destinations, Wildcards and Composite Destinations
    • Fully supports JMS 1.1 and J2EE 1.4 with support for transient, persistent, transactional and XA messaging
    • Spring Support so that ActiveMQ can be easily embedded into Spring applications and configured using Spring's XML configuration mechanism
    • Tested inside popular J2EE servers such as Geronimo, JBoss 4, GlassFish and WebLogic
      • Includes JCA 1.5 resource adaptors for inbound & outbound messaging so that ActiveMQ should auto-deploy in any J2EE 1.4 compliant server
    • Supports pluggable transport protocols such as in-VM, TCP, SSL, NIO, UDP, multicast, JGroups and JXTA transports
    • Supports very fast persistence using JDBC along with a high performance journal
    • Designed for high performance clustering, client-server, peer based communication
    • REST API to provide technology agnostic and language neutral web based API to messaging
    • Ajax to support web streaming support to web browsers using pure DHTML, allowing web browsers to be part of the messaging fabric
    • CXF and Axis Support so that ActiveMQ can be easily dropped into either of these web service stacks to provide reliable messaging
    • Can be used as an in memory JMS provider, ideal for unit testing JMS

    Read More
    Posted by JavaBooks on

    Pragmatic Ajax: A Web 2.0 Primer eBook

    Ajax turns static web pages into interactive applications. Now you can deploy rich-client applications to clients without sacrificing the easy deployment of web applications. But to many folks, Ajax seems difficult. That’s why we produced this book. As a Pragmatic guide, it strips away the mystery and shows you the easy way to make Ajax work for you.


    Writing dynamic applications isn’t that hard. Folks are awed by Google Maps, but it isn’t rocket science (apart from the satellite pictures). As a special bonus, see how to implement your own Google Maps-like application using DHTML.

    We cover the the basics of DHTML, JavaScript, and the infamous XmlHttpRequest call. You’ll see how to add Ajax to existing programs, and design new applications to exploit the power of Web 2.0. Learn the three layers of Ajax framework, and when (and how) to use each. See how to create rich clients, use visual effects, add client-side validation, and handle forms. Write applications that degrade gracefully if clients don’t support JavaScript. And see how to integrate your Ajaxified clients into Java, .NET, and Ruby on Rails server frameworks.

    Authors: Justin Gehtland, Ben Galbraith, Dion Almaer

    Download Pragmatic Ajax: A Web 2.0 Primer eBook

    Read More
    Posted by JavaBooks on

    Ext4, the next generation of Linux's Ext3 filesystem, is now available in the latest Ubuntu 9.04 installer images. Ext4 was officially declared stable in version 2.6.28 of the Linux kernel, which was released last month.

    Ext4 is designed to provide better performance and increase reliability. It also increases the maximum filesystem size to one exabyte and reduces the amount of time that is required to perform a fsck operation.

    Linux hardware site Phoronix has released benchmarks based on extensive Ext4 performance testing that was conducted with a solid-state drive. The most impressive results can be seen in the IOzone test, which measures write performance for a large file. In this test, Ext4 annihilated the competition and significantly outperformed XFS, JFS, ReiserFS, and Ext3. The new filesystem also outpaced its peers in the Intel IOMeter File Server Access Pattern Test.

    Read More
    Posted by JavaBooks on

    SoapUI is a simple desktop application used to test web services developed using different languages.

    This is used for

    It is mainly aimed at developers and testers providing or consuming WSDL or REST based Web Services (Java, .net, etc). Functional and Load Testing can be done both interactively in soapUI or within an automated build or integration process using the soapUI command line tools.

    Mock Web Services can easily be created for any WSDL and hosted from within soapUI or using the command-line MockService runner. IDE-plugins are available for

    SoapUI requires Java 1.5 and is licensed under the LGPL license.

    You can download SoapUI Here!

    Read More
    Posted by JavaBooks on

    Here are the list of useful vim commands.

    Search
    /word Search “word” from top to bottom
    ?word Search “word” from bottom to top
    /jo[ha]n Search “john” or “joan”
    /\< the Search “the”, “theatre” or “then”
    /the\> Search “the” or “breathe”
    /\<> Search “the”
    /\< ….\> Search all words of 4 letters
    /\/ Search “fred” but not “alfred” or “frederick”
    /fred\|joe Search “fred” or “joe”
    /\<\d\d\d\d\> Search exactly 4 digits
    /^\n\{3} Find 3 empty lines
    :bufdo /searchstr/ Search in all open files


    Replace
    :%s/old/new/g Replace all occurences of “old” by “new” in file
    :%s/old/new/gw Replace all occurences with confirmation
    :2,35s/old/new/g Replace all occurences between lines 2 and 35
    :5,$s/old/new/g Replace all occurences from line 5 to EOF
    :%s/^/hello/g Replace the begining of each line by “hello”
    :%s/$/Harry/g Replace the end of each line by “Harry”
    :%s/onward/forward/gi Replace “onward” by “forward” , case unsensitive
    :%s/ *$//g Delete all white spaces
    :g/string/d Delete all lines containing “string”
    :v/string/d Delete all lines containing which didn't contain “string”
    :s/Bill/Steve/ Replace the first occurence of “Bill” by “Steve” in current line
    :s/Bill/Steve/g Replace “Bill” by “Steve” in current line
    :%s/Bill/Steve/g Replace “Bill” by “Steve” in all the file
    :%s/\r//g Delete DOS carriage returns (^M)
    :%s/\r/\r/g Transform DOS carriage returns in returns
    :%s#<[^>]\+>##g Delete HTML tags but keeps text
    :%s/^\(.*\)\n\1$/\1/ Delete lines which appears twice
    Ctrl+a Increment number under the cursor
    Ctrl+x Decrement number under cursor
    ggVGg? Change text to Rot13


    Case
    Vu Lowercase line
    VU Uppercase line
    g~~ Invert case
    vEU Switch word to uppercase
    vE~ Modify word case
    ggguG Set all text to lowercase
    :set ignorecase Ignore case in searches
    :set smartcase Ignore case in searches excepted if an uppercase letter is used
    :%s/\<./\u&/g Sets first letter of each word to uppercase
    :%s/\<./\l&/g Sets first letter of each word to lowercase
    :%s/.*/\u& Sets first letter of each line to uppercase
    :%s/.*/\l& Sets first letter of each line to lowercase


    Read/Write files
    :1,10 w outfile Saves lines 1 to 10 in outfile
    :1,10 w >> outfile Appends lines 1 to 10 to outfile
    :r infile Insert the content of infile
    :23r infile Insert the content of infile under line 23

    File explorer
    :e . Open integrated file explorer
    :Sex Split window and open integrated file explorer
    :browse e Graphical file explorer
    :ls List buffers
    :cd .. Move to parent directory
    :args List files
    :args *.php Open file list
    :grep expression *.php Returns a list of .php files contening expression
    gf Open file name under cursor

    Interact with Unix
    :!pwd Execute the “pwd” unix command, then returns to Vi
    !!pwd Execute the “pwd” unix command and insert output in file
    :sh Temporary returns to Unix
    $exit Retourns to Vi



    Alignment
    :%!fmt Align all lines
    !}fmt Align all lines at the current position
    5!!fmt Align the next 5 lines


    Tabs
    :tabnew Creates a new tab
    gt Show next tab
    :tabfirst Show first tab
    :tablast Show last tab
    :tabm n(position) Rearrange tabs
    :tabdo %s/foo/bar/g Execute a command in all tabs
    :tab ball Puts all open files in tabs

    Window spliting
    :e filename Edit filename in current window
    :split filename Split the window and open filename
    ctrl-w up arrow Puts cursor in top window
    ctrl-w ctrl-w Puts cursor in next window
    ctrl-w_ Maximise current window
    ctrl-w= Gives the same size to all windows
    10 ctrl-w+ Add 10 lines to current window
    :vsplit file Split window vertically
    :sview file Same as :split in readonly mode
    :hide Close current window
    :only Close all windows, excepted current
    :b 2 Open #2 in this window

    Auto-completion
    Ctrl+n Ctrl+p (in insert mode) Complete word
    Ctrl+x Ctrl+l Complete line
    :set dictionary=dict Define dict as a dictionnary
    Ctrl+x Ctrl+k Complete with dictionnary
    Marks
    mk Marks current position as k
    ‘k Moves cursor to mark k
    d’k Delete all until mark k


    Abbreviations
    :ab mail mail@provider.org Define mail as abbreviation of mail@provider.org
    Text indent
    :set autoindent Turn on auto-indent
    :set smartindent Turn on intelligent auto-indent
    :set shiftwidth=4 Defines 4 spaces as indent size
    ctrl-t, ctrl-d Indent/un-indent in insert mode
    >> Indent
    << Un-indent


    Syntax highlighting
    :syntax on Turn on syntax highlighting
    :syntax off Turn off syntax highlighting
    :set syntax=perl Force syntax highlighting

    Read More
    Posted by JavaBooks on

    This is a simple script which will display Host Name and Ip address of your computer under Linux Environments

    #!/usr/bin/perl

    use LWP::UserAgent;
    use Socket;
    use Sys::Hostname;

    $host = hostname();
    $ipAddress = inet_ntoa(scalar gethostbyname($host));
    print("Host name is :::: $host \n");
    print("Ip Address is ::: $ipAddress \n");


    Save this code as any file.sh

    chmod +x
    go to that directory and run $./file.sh

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

    The NetBeans IDE is an award-winning integrated development environment available for Windows, Mac, Linux, and Solaris. The NetBeans project consists of an open-source IDE and an application platform that enable developers to rapidly create web, enterprise, desktop, and mobile applications using the Java platform, as well as JavaFX, PHP, JavaScript and Ajax, Ruby and Ruby on Rails, Groovy and Grails, and C/C++.

    The NetBeans project is supported by a vibrant developer community and offers extensive documentation and training resources as well as a diverse selection of third-party plugins.

    Please visit Download Page to grab one you required.

    Bellow list of features are supported by NetBeans 6.7

    Connected Developer Tools

    * Create Kenai-hosted open source projects directly within the IDE
    * Manage your Kenai project and collaborate with like-minded developers
    * File issue tracking reports using both Jira and Bugzilla

    Maven

    * Library dependency graph viewer
    * Improved code completion for Maven plugin parameters
    * Support for Java EE, Web Services creation and consumption
    * POM Editor and Navigator enhancements

    PHP

    * PHPUnit support
    * Code coverage and Selenium support
    * SQL code completion in the PHP editor

    GlassFish

    * Glassfish v3 Prelude instance with pre-configured Derby (Java DB) integration
    * Code completion support for Glassfish v3 Prelude
    * Added Hierarchy to the Tree View in the Services Explorer

    Groovy and Grails

    * Out-of-the-box support for Grails 1.1
    * Code completion
    * Disable browser opening on run and configure platforms to use with Grails projects
    * Invoke Grails command or custom script from context menu item

    Ruby and Rails

    * Remote debugging
    * Improvements to Ruby constants support
    * Run and debug actions for test cases and suites included in context menu
    * Support for Shoulda tests

    C/C++

    * DLight profiling tools for C++ projects (with minimal overhead!)
    * Integrated support of popular Qt library and tools
    * More refactorings and code generation in the C/C++ editor
    * Macro expansion view to analyze preprocessor output

    Profiler

    * Export profiling data into CSV, HTML and XML file formats
    * HeapWalker supports OQL queries to analyze the contents of the heapdump

    Debugger

    * Debugger options to customize debugging process
    * Easy viewing and setup of sources before start of debugging session

    Java

    * Hudson services integration for Ant and Maven projects
    * Generated source roots now displayed in the Projects tab
    * Struts library migrated to version 1.3.8

    Java ME / Mobility

    * Bundled with the Java Platform Micro Edition Software Development Kit 3.0
    * Support for the Java Card Platform 3.0
    * Full support for SVG Rich Components in the Visual Mobile Designer
    * Improvements to the SVG Composer

    NetBeans Platform

    * Enhancements to Output window, Update Center catalog, and search performance
    * Improved toolbar behavior and declarative MIME type resolvers
    * Ability to change extension of files

    Read More
    Posted by JavaBooks on

    The Eclipse Memory Analyzer is a fast and feature-rich Java heap analyzer that helps you find memory leaks and reduce memory consumption.

    Use the Memory Analyzer to analyze productive heap dumps with hundreds of millions of objects, quickly calculate the retained sizes of objects, see who is preventing the Garbage Collector from collecting objects, run a report to automatically extract leak suspects.

    The stand-alone Memory Analyzer is based on Eclipse RCP. It is useful if you do not want to install a full-fledged IDE on the system you are running the heap analysis.

    You can use Update Site: http://download.eclipse.org/technology/mat/0.8/update-site/ for Eclipse Galileo.


    Read More
    Posted by JavaBooks on

    Visits

    Label Cloud

    Blog Archive

    About Me

    Followers