Keep Window Healthy

Today we are posting ways to keep your window safe and free from errors . Tips . Keep at least 10 GB of free space in your c: drive. Clear junk files on a regular .....

Windowns Heathy

Wanna be hacker....?

In the beginning we all asked ourselves a few questions... Where do I start? Where do I go to learn? What do I need to Hack?...

hackers

Downloading trick for Ebooks..

This is Abhishek nehra. I just observe that in colleges (special in engineering colleges) there is a big problems on books as many of guys have to buy a book of the cost they do not want to.But there is a solution and that is ......

Free

Linux Step by Step ...

Now a days Linux became a main stream operating system. Many users are now start using it. But as we know it's like a platform build for advance users so we face a little difficulty in using it. ......

Linux

Remote File Inclusion ...

Remote file inclusion is basically a one of the most common vulnerability found in web application. This type of vulnerability allows the Hacker or attacker to add a remote file on the web server. If the attacker gets successful in performing.....

Omnis dolor repellendus

Spread your rat...

At Any Thought of a virus who can help you? Not even one? ok!! I will tell you about one , some may know it in advance but......

rat

Playing games without graphics or low graphics..

Many of us has a desire of playing PC games at high-quality. But some of us can’t fulfill our desire because of the non-availability of Graphics card or we can’t afford. Today, maximum pc games demand graphic card

Harum quidem rerum
  • Reiciendis voluptatibus maiores
  • Asumenda omnis dolor
  • Voluptates repudiandae sint
  • Necessitatibus saepe eveniet
  • Omnis dolor repellendus
  • Pomnis voluptas assumenda
  • Harum quidem rerum
Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Saturday, February 5, 2011

ADF BC and ADF Libraries: The Library Private Property - Java

ADF Libraries are a very useful feature of JDeveloper 11g. They allow a master application, via the Resource Palette, to load Bounded Task Flows (BTFs) and the BTF's associated ADF Business Components from separate applications, without having to include the BTF and ADF BC objects in it's own application.
In the following picture you can see the Resource Palette exposing adflibChildBTF.jar, a BTF application containing both the ChildBTF bounded task flow, and it's associated Business Components including the ChildAppModule Application Module, Events Entity Object and so on:


If this ADF Library is loaded into a consuming application's ViewController project, the consuming application is free to call the adflibChildBTF's embedded Bounded Task Flow. However it's also free to call directly the Business Components of the adflibChildBTF. This is revealed by the Data Control Panel in the Application Navigator, it will by default include the Application Module of the child application as can be seen here:

Yet this isn't always desirable behaviour, the Child Application may not want to expose all its Business Components for easy picking by the consuming application. For example, you may have included a collection of test Business Components in the Child Application which really aren't appropriate for the consuming application to use, or, you may think it inappropriate for the consuming application to even reference the regular Business Components of the Child Application. How to fix?

When you open the editor for most Business Components including Application Modules, Entity Objects and View Objects, you may notice that the Property Inspector also reflects options for the selected and edited Business Component. In the Property Inspector for each Business Component there's typically a boolean property not included in the associated editors called Library Private. In the following diagram you can see the property inspector for the Application Module from the Child Application:

This property, when set to true for each Business Component (the default is false), means the Business Components will not be available in the Resource Palette when the ADF Library is redeployed (note: you must refresh the Resource Palette to see this effect):

As can be seen in the previous picture, the ChildAppModule Application Module is no longer available in the Resource Palette. In addition in the consuming Application's Data Control Palette, as we've hidden the ChildAppModule, simply it doesn't appear in the Data Control Palette:

Returning to the Resource Palette, you may in fact want to hide *all* of the Business Components. This requires you to simply set the Library Private property of each Business Component to true, and then regenerate the ADF Library JAR. We can see the end effect here:

However it must be noted, in the consuming application, this does not stop the consumed BTF from working. All the Library Private option is doing is hiding the Business Components from the IDE for the user to use. The Business Components are still used by Child Application/BTF when called from the caller at runtime.

Caveat

I've yet to fully use this feature, so be careful to check it works for you, your mileage will vary. If you find any issues I'd appreciate a comment to this blog post, to assist other readers.

Addendum

This feature is available in the latest version of JDev 11.1.1.4.0 through 11.1.1.2.0. It's possibly available in earlier versions, but I'll leave readers to check themselves as I no longer have these earlier JDev versions installed.

In addition this feature works within an Application too, such that the Business Components don't show in the Data Control Palette for the same Application's ViewController project.
Posted by Unknown 0 comments

Enterprise JavaBeans 3.1


Learn how to code, package, deploy, and test functional Enterprise JavaBeans with the latest edition of bestselling guide. Written by the developers of the JBoss EJB 3.1 implementation, this book brings you up to speed on each of the component types and container services in this technology, while the workbook in the second section provides several hands-on examples for putting the concepts into practice.
Enterprise JavaBeans 3.1 is the most complete reference you'll find on this specification.
Posted by Unknown 0 comments

Hadoop: The Definitive Guide


Apache Hadoop is ideal for organizations with a growing need to store and process massive application datasets. With Hadoop: The Definitive Guide, programmers will find details for analyzing large datasets with Hadoop, and administrators will learn how to set up and run Hadoop clusters.
The book includes case studies that illustrate how Hadoop is used to solve specific problems.
Posted by Unknown 0 comments

Seven Languages in Seven Weeks


You should learn a programming language every year, as recommended by The Pragmatic Programmer. But if one per year is good, how about Seven Languages in Seven Weeks? In this book you'll get a hands-on tour of Clojure, Haskell, Io, Prolog, Scala, Erlang, and Ruby. Whether or not your favorite language is on that list, you'll broaden your perspective of programming by examining these languages side-by-side. You'll learn something new from each, and best of all, you'll learn how to learn a language quickly.
Posted by Unknown 0 comments

Pragmatic Guide to JavaScript


Once the province of half-baked implementations and useless scrolling messages, JavaScript is now a powerful, dynamic language with a rich ecosystem of professional-grade development tools, infrastructures, frameworks, and toolkits. Presented in bite-sized two-page tasks, these JavaScript tips help practitioners start quickly and save
time-particularly through shrewd use of reusable code libraries.
Posted by Unknown 0 comments