Quantcast
Channel: Oracle Bloggers
Viewing all 19780 articles
Browse latest View live

RPi and Java Embedded GPIO: Using Java to read input

$
0
0
Now that we've learned about using Java code to control the output of the Raspberry Pi GPIO ports (by lighting up LEDs from a Java app on the RPi for now and noting in the future the same Java code can be used to drive industrial automation or medical equipment, etc.), let's move on to learn about reading input from the RPi GPIO using Java code.

As before, we need to start out with the necessary hardware. For this exercise we will connect a Static Electricity Detector to the RPi GPIO port and read the value of that sensor using Java code. The circuit we'll use is from William J. Beaty and is described at this Web link.

See:

Static Electricity Detector

He calls it an "Electric Charge" detector, which is a bit misleading. A Field Effect Transistor is subject to nearby electro-magnetic fields, such as a static charge on a nearby object, not really an electric charge.

So, this sensor will detect static electricity (or ghosts if you are into paranormal activity ;-) ). Take a look at the circuit and in the next blog posts we'll step through how to connect it to the GPIO port of your RPi and then how to write Java code to access this fun sensor.


NUMA-aware placement of communication variables

$
0
0

For classic NUMA-aware programming I'm typically most concerned about simple cold, capacity and compulsory misses and whether we can satisfy the miss by locally connected memory or whether we have to pull the line from its home node over the coherent interconnect -- we'd like to minimize channel contention and conserve interconnect bandwidth. That is, for this style of programming we're quite aware of where memory is homed relative to the threads that will be accessing it. Ideally, a page is collocated on the node with the thread that's expected to most frequently access the page, as simple misses on the page can be satisfied without resorting to transferring the line over the interconnect. The default "first touch" NUMA page placement policy tends to work reasonable well in this regard. When a virtual page is first accessed, the operating system will attempt to provision and map that virtual page to a physical page allocated from the node where the accessing thread is running. It's worth noting that the node-level memory interleaving granularity is usually a multiple of the page size, so we can say that a given page P resides on some node N. That is, the memory underlying a page resides on just one node.

But when thinking about accesses to heavily-written communication variables we normally consider what caches the lines underlying such variables might be resident in, and in what states. We want to minimize coherence misses and cache probe activity and interconnect traffic in general. I don't usually give much thought to the location of the home NUMA node underlying such highly shared variables. On a SPARC T5440, for instance, which consists of 4 T2+ processors connected by a central coherence hub, the home node and placement of heavily accessed communication variables has very little impact on performance. The variables are frequently accessed so likely in M-state in some cache, and the location of the home node is of little consequence because a requester can use cache-to-cache transfers to get the line.

Or at least that's what I thought. Recently, though, I was exploring a simple shared memory point-to-point communication model where a client writes a request into a request mailbox and then busy-waits on a response variable. It's a simple example of delegation based on message passing. The server polls the request mailbox, and having fetched a new request value, performs some operation and then writes a reply value into the response variable. As noted above, on a T5440 performance is insensitive to the placement of the communication variables -- the request and response mailbox words. But on a Sun/Oracle X4800 I noticed that was not the case and that NUMA placement of the communication variables was actually quite important.

For background an X4800 system consists of 8 Intel X7560 Xeons . Each package (socket) has 8 cores with 2 contexts per core, so the system is 8x8x2. Each package is also a NUMA node and has locally attached memory. Every package has 3 point-to-point QPI links for cache coherence, and the system is configured with a twisted ladder "mobius" topology. The cache coherence fabric is glueless -- there's not central arbiter or coherence hub. The maximum distance between any two nodes is just 2 hops over the QPI links. For any given node, 3 other nodes are 1 hop distant and the remaining 4 nodes are 2 hops distant.

Using a single request (client) thread and a single response (server) thread, a benchmark harness explored all permutations of NUMA placement for the two threads and the two communication variables, measuring the average round-trip-time and throughput rate between the client and server. In this benchmark the server simply acts as a simple transponder, writing the request value plus 1 back into the reply field, so there's no particular computation phase and we're only measuring communication overheads. In addition to varying the placement of communication variables over pairs of nodes, we also explored variations where both variables were placed on one page (and thus on one node) -- either on the same cache line or different cache lines -- while varying the node where the variables reside along with the placement of the threads. The key observation was that if the client and server threads were on different nodes, then the best placement of variables was to have the request variable (written by the client and read by the server) reside on the same node as the client thread, and to place the response variable (written by the server and read by the client) on the same node as the server. That is, if you have a variable that's to be written by one thread and read by another, it should be homed with the writer thread. For our simple client-server model that means using split request and response communication variables with unidirectional message flow on a given page. This can yield up to twice the throughput of less favorable placement strategies.

Our X4800 uses the QPI 1.0 protocol with source-based snooping. Briefly, when node A needs to probe a cache line it fires off snoop requests to all the nodes in the system. Those recipients then forward their response not to the original requester, but to the home node H of the cache line. H waits for and collects the responses, adjudicates and resolves conflicts and ensures memory-model ordering, and then sends a definitive reply back to the original requester A. If some node B needed to transfer the line to A, it will do so by cache-to-cache transfer and let H know about the disposition of the cache line. A needs to wait for the authoritative response from H. So if a thread on node A wants to write a value to be read by a thread on node B, the latency is dependent on the distances between A, B, and H. We observe the best performance when the written-to variable is co-homed with the writer A. That is, we want H and A to be the same node, as the writer doesn't need the home to respond over the QPI link, as the writer and the home reside on the very same node. With architecturally informed placement of communication variables we eliminate at least one QPI hop from the critical path.

Newer Intel processors use the QPI 1.1 coherence protocol with home-based snooping. As noted above, under source-snooping a requester broadcasts snoop requests to all nodes. Those nodes send their response to the home node of the location, which provides memory ordering, reconciles conflicts, etc., and then posts a definitive reply to the requester. In home-based snooping the snoop probe goes directly to the home node and are not broadcast. The home node can consult snoop filters -- if present -- and send out requests to retrieve the line if necessary. The 3rd party owner of the line, if any, can respond either to the home or the original requester (or even to both) according to the protocol policies. There are myriad variations that have been implemented, and unfortunately vendor terminology doesn't always agree between vendors or with the academic taxonomy papers. The key is that home-snooping enables the use of a snoop filter to reduce interconnect traffic. And while home-snooping might have a longer critical path (latency) than source-based snooping, it also may require fewer messages and less overall bandwidth. It'll be interesting to reprise these experiments on a platform with home-based snooping.

While collecting data I also noticed that there are placement concerns even in the seemingly trivial case when both threads and both variables reside on a single node. Internally, the cores on each X7560 package are connected by an internal ring. (Actually there are multiple contra-rotating rings). And the last-level on-chip cache (LLC) is partitioned in banks or slices, which with each slice being associated with a core on the ring topology. A hardware hash function associates each physical address with a specific home bank. Thus we face distance and topology concerns even for intra-package communications, although the latencies are not nearly the magnitude we see inter-package. I've not seen such communication distance artifacts on the T2+, where the cache banks are connected to the cores via a high-speed crossbar instead of a ring -- communication latencies seem more regular.

ORACLE UK TECHNOLOGY “TEST FEST”

$
0
0

ORACLE UK TECHNOLOGY “TEST FEST”

Join us at the UKOUG Conference at the ICC in Birmingham and Take your OPN Implementation Specialist Exam for Free!

3-5 December 2012, ICC Birmingham (UK)


Dear Oracle Partner
,

** As a priority partner, we are sending you advance notice of these exclusive “Technology Test Fest” free examination sessions. Please note that this communication will be sent out to the wider community one week from today, so please register immediately to secure your place! **

We are delighted to offer you the exclusive opportunity to register and attend the Oracle UK “Technology Test Fest” being held as Part of the UKOUG Conference at the ICC in Birmingham in the Drawing Room at the Hyatt Regency hotel adjacent to the ICC venue, from 3rd to 5th December 2012.

This is your opportunity to sit your chosen Oracle Technology Specialist Implementation Exam free of charge on this day. Four sessions are being run (10.00AM and 14.00PM), with just 15 places at each session – so register now to avoid disappointment! (Exams take about 1.5 hours to complete.)

Price: FREE

Address:
The Drawing Room

Hyatt Regency Hotel

Birmingham

2 Bridge Street

Birmingham

BI 2JZ

3 - 5 December 2012

Which Implementation Specialist Exams are available to take?

Click here to see the list of exams available for you to sit for free at the Oracle UKOUG “Technology Test Fest”. The links also include the study guide for the particular exam.
Please review the Specialization Guide as well.

How do I register for the Oracle UK “Technology Test Fest”?

  • Fill out the Pearson Vue profile HERE and complete it with your OPN Company ID.

    • NB: Instructions on how to create/update the profile can be found HERE.

  • Register for one of the 4 sessions using the registration links at the top of this page

You will need to bring your own laptop with 'Windows OS' and a form of identification to be able to take any of the exams.

Need Help or Advice?

For more information about the tests and Get Specialized programme, please contact: ishacq.nada@oracle.com.

For issues with your profile or any other OPN-related problems, please contact our Oracle Partner Business Centre: partnerbusinesscenter-uk_ww@oracle.com or call 08705 194 194.

We look forward to welcoming you to the Oracle UK “Technology Test Fest” on the 3rd- 5thDecember 2012! Book early to avoid disappointment.

eSTEP Newsletter November 2012

$
0
0

Dear Partners,

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

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

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

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

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

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

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

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

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

Thanks and best regards,

Partner HW Enablement EMEA

Additional new content SOA Partner Community

$
0
0

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit  www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInMixForum

The Power of Specialization – google ads for WebLogic Specialized Partners

$
0
0

For WebLogic specialized partner we offer free google advertisement to promote your Oracle WebLogic service offerings on your website or your WebLogic events. We will host the complete campaign management.

To create your google campaign please send Jürgen Kress below:

  • Your campaign text: 3 lines of text each 35 letters (NOT more letters!)
  • Your campaign link: direct link to the website you want to promote

Ideas for the website which we will promote with the google ads:

  • Your Oracle WebLogic Service offerings with concrete offering e.g. WebLogic Innovation Workshop
  • Oracle WebLogic Specialized Logo
  • Your Oracle WebLogic References
  • Your WebLogic Implementation consultant with pictures
  • Your WebLogic sales contact persons

Example of an WebLogic Specialization text ad:

Oracle SOA Specialized plan to become more agile?
eProseed the Oracle SOA Experts

An interview with Griffiths Waite's Business Development Director highlighting the benefits of the Oracle Specialization Programme.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInMixForumWiki



Oracle数据库支持通讯2012年11月版

$
0
0


欢迎阅读Oracle数据库支持通讯11月版。本期的内容包括:


最佳实践:针对性能问题的主动型数据收集
Oracle数据库技术更新
支持提示
网上研讨会
补丁更新


下载地址:Oracle数据库支持通讯2012年11月版

Another Twig Improvements

$
0
0

Hi all! We are here again to intorduce you some of our new NetBeans 7.3 features. Today we'll show you some another Twig improvements. So let's start!

Code Templates

First feature is about Code Templates. We added some basic templates to improve your Editor experience. You will be really fast with it!

If someone don't know what Code Templates are, they are piece of code (snippet) which is inserted into editor after typing its abbreviation and pressing Tab key (or another one which you define in Tools -> Options -> Editor -> Code Templates -> Expand Template on) to epxand it.

All default Twig Code Templates can be found in Tools -> Options -> Editor -> Code Templates -> Twig Markup. You can add your custom templates there as well.

Twig Code Templates

Note:
Twig Markup code templates have to be expanded inside Twig delimiters (i.e. { and }). If you try to expand them outside of delimiters, it will not work, because then you are in HTML context. If you want to add a template which will contain Twig delimiter too, you have to add it directly into Tools -> Options -> Editor -> Code Templates -> HTML/XHTML. Don't add them into Twig File, it will not work.

Interpolation Coloring

The second, minor, feature is, that we know how to colorize Twig Interpolation. It's a small feature, but usefull :-)

Interpolation Coloring

And that's all for today and as usual, please test it and if you find something strange, don't hesitate to file a new issue (product php, component Twig). Thanks a lot!


La réponse d’Oracle aux nouveaux enjeux de la Grande Distribution Catégorie Apps

$
0
0

Retrouvez l'interview de Franck Westrelin, Directeur Associé Oracle Retail, lors du Retail Business Technologie Forum du 20 novembre 2012 à Paris.

oracle retail LSA

Résumé de l'interview :

Franck Westerlin discute des grandes tendances de la distribution : les changements du comportement client, l'étendu des outils d’achat et d’interactions clients, l'environnement concurrentiel et saturé…

Il présente aussi les attentes des consommateurs actuels : une expérience d’achat de qualité, l'homogénéité et la cohérence par rapport aux points d’interactions avec les distributeurs.

Enfin, il démontre comment Oracle répond à ces enjeux grâce à l'innovation : optimisation des interactions client et des processus métier (Gestion commerciale, eCommerce, planifications, CRM, back office magasin, supply chain…)

Retrouvez l'interview sur notre Chaine Youtube Oracle Applications France

New MOS Community: Oracle Endeca Information Discovery

$
0
0

Effective November 22, the Oracle Endeca Community has been split into separate communities representing individual Oracle Endeca products. The Oracle Endeca Information Discovery Community will fall under the Business Intelligence (BI) category, and can be found here:

https://communities.oracle.com/portal/server.pt/community/oracle_endeca_information_discovery/551.

This community will focus on the Oracle Endeca Information Discovery (OEID) product, formerly known as Endeca Latitude and Endeca Discovery Framework.

The previous Oracle Endeca Community has been renamed to Oracle Endeca Guided Search Community and will focus on discussions around the Oracle Endeca Guided Search product, formerly known as Endeca Infront and Endeca IAP.

The Guided Search Community will continue to be located under the Oracle Commerce Category. Forum threads in the previous Oracle Endeca Community related to Oracle Endeca Information Discovery product have been moved to the new Oracle Endeca Information Discovery Community. We look forward to your continued involvement.

Micro Focus supports Enterprise Developer 2.1 on Solaris 11 (SPARC)

OTN Virtual Developer Day: Oracle Fusion Development

$
0
0
otnreavdd.png
Am 11. Dezember 2012 findet der nächste Virtual Developer Day: Oracle Fusion Development statt.
Es finden 4 verschiedene Tracks (inkl. Hands-On-labs) zu den Themen
  • Ist die Entwicklung mit Oracle ADF schnellerund einfacher als mit Forms, Apex oder .NET?
  • Mobile Application Development mit ADF Mobile
  • Oracle ADF Entwicklung mit Eclipse
  • Oracle WebCenter Portal und ADF Development
  • Building Process Centric Anwendungen mit ADF und BPM
  • Oracle Business Intelligence und ADF Integration
  • Live Q&A Chat mit Oracle Mitarbeitern
statt. Die Hands-On-Sessions werden auf einem VirtualBox System durchgeführt.
Nähers siehe Agenda und Registrierung.

Sam's Story: It's About Life

$
0
0
Oracle recently released a video illustrating how Oracle products and services impact people every day of their lives.This overview demonstrates just how many different industries rely on Oracle’s world-leading technology solutions to gather and process data, enabling them to engineer systems together in the cloud and in the data centre.


The video explores how Oracle solutions are impacting the retail, automotive, pharmaceutical, medical and travel industries.Through the central character, Sam, this video highlights how cross-industry solutions like collaboration software, data processing and business intelligence platforms can improve business performance, reliability and flexibility; lower the cost and complexity of IT implementation and management; and deliver greater productivity, agility and better business intelligence.

To find out more about how Oracle’s products and services can help you to deliver better results, visit www.oracle.com/retail

OPN Developer Services for Solaris Developers

$
0
0

Independent Software Vendors (ISVs) who develop applications for Solaris 11 can exploit a number of interesting services as long as they are OPN Members with a Gold (or above) status and a Solaris Knowledge specialization:

  • Free access to a Solaris development cloud with preconfigured Solaris developer zones through the
  • Free access to patches and support information through MOS for Oracle Solaris, Oracle Solaris Studio, Oracle Solaris Cluster including updates for development systems 
  • Free email developer support for all questions around Oracle Solaris, Oracle Solaris Studio, Oracle Solaris Cluster and Oracle technologies integrating with Solaris 11

 

Oracle OpenWorld Latin America 2012 - Middleware Session

$
0
0

Oracle Fusion Middleware PaaS and Oracle Java Cloud Service

  Roberto Monteiro, Senior Sales Consultant, Oracle
In this session, learn how Oracle Fusion Middleware platform as a service (PaaS) can supercharge productivity with instant access to a platform for developing and deploying business applications in the cloud, complete with integrated security and database access. See how these capabilities are used by Oracle Java Cloud Service.

 Dec 4 - 17:15 - Mezzanine: Room 7


Virtual Developer Day: Oracle Fusion Development - December 11th - 10:00-14:00 CET

$
0
0

Get up to date and learn everything you wanted to know about Oracle ADF & Fusion Development plus live Q&A chats with Oracle technical staff.

Oracle Application Development Framework (ADF) is the standards based, strategic framework for Oracle Fusion Applications and Oracle Fusion Middleware. Oracle ADF's integration with the Oracle SOA Suite, Oracle WebCenter and Oracle BI creates a complete productive development platform for your custom applications.

Join us at this FREE virtual event and learn the latest in Fusion Development including:

  • Is Oracle ADF development faster and simpler than Forms, Apex or .Net?
  • Mobile Application Development with ADF Mobile
  • Oracle ADF development with Eclipse
  • Oracle WebCenter Portal and ADF Development
  • Application Lifecycle Management with ADF
  • Building Process Centric Applications with ADF and BPM
  • Oracle Business Intelligence and ADF Integration
  • Live Q&A chats with Oracle technical staff

Developer lead, manager or architect – this event has something for everyone. Don't miss this opportunity.



December 11th, 2012
9:00 – 13:00 GMT
10:00 – 14:00 CET
12:00 – 16:00 AST
13:00 – 17:00 MSK
14:30 – 18:30 IST

Register online now for this FREE event!

Agenda

9:00 a.m. – 9:30 a.m.

Opening

9:30 a.m. – 10:00 a.m.

Keynote
Oracle Fusion Development

Track 1
Introduction to Fusion Development

Track 2
What's New in Fusion Development

Track 3
Fusion Development in the Enterprise

Track 4
Hands On Lab - WebCenter Portal and ADF Lab w/ JDeveloper

10:00 a.m. – 11:00 a.m.

Is Oracle ADF development faster and simpler than Forms, Apex or .Net?

Mobile Application Development with ADF Mobile

Oracle WebCenter Portal and ADF Development

Lab materials can be found on event wiki here. Q&A about the lab is available throughout the event.

11:00 a.m. – 12:00 p.m.

Rich Web UI made simple – an ADF Faces Overview

Oracle Enterprise Pack for Eclipse - ADF Development

Building Process Centric Applications with ADF and BPM

12:00 p.m. – 1:00 p.m.

Next Generation Controller for JSF

Application Lifecycle Management for ADF

Oracle Business Intelligence and ADF Integration

View Session Abstracts

We look forward to welcoming you at this free event!

 

A simple deployment example using Oracle Solaris 11

$
0
0

Last week I was over in Melbourne and Sydney to present at an Oracle Technology Network System Administration Day. During a set of morning sessions, I presented on some of the new things that we've done in Oracle Solaris 11 and our focus for the future. One of the sessions I presented was giving a quick technical overview of what a typical application deployment scenario would look like using technologies like the Image Packaging System (IPS), Service Management Facility (SMF), Oracle Solaris Zones, and network virtualization. While it's just a simple example, it provides the basic building blocks for a more advanced configuration that a data center would typically deploy. Given these would likely be of general interest, I thought I'd upload the slides for others to view - enjoy!

You can download the original source PPTX without some of the formatting errors in the above.

Oracle DB, Oracle ADF, GlassFish, JDeveloper, NetBeans IDE

$
0
0

Today I started some experiments with Oracle guru Steven Davelaar, who lives about 20 minutes away from my place in Amsterdam by underground. Very convenient. He showed me a bunch of things in JDeveloper, while I showed him a bunch of things in NetBeans IDE.

He managed to deploy an ADF application to GlassFish in JDeveloper. And, so far, I failed to do the same thing in NetBeans IDE. Quite a few (around 100) JARs are needed, aside from the question of correctly setting up or importing an ADF application, and we're still figuring out which and who and when and where. And how. And if. And why.

Nonetheless, I did manage to get Oracle DB set up in NetBeans IDE, after downloading it from here:

http://www.oracle.com/technetwork/products/express-edition/downloads/index.html

Here's what it looks like when registered in NetBeans IDE, i.e., notice that I have a cool sample database available:

 

Data from the above database I managed to display very easily via the various NetBeans code generators in a PrimeFaces application, exactly as has been done many times in demonstrations and tutorials everywhere, i.e., generate JPA entities, then create an EJB, then inject the EJB into a PrimeFaces data table:

The next step is to somehow do the same with ADF in NetBeans IDE.

I had some trouble with passwords for Oracle DB, the command line (with Steven's help) proved helpful:

Wish us luck as we continue our ADF-inspired journey. This blog entry by Shay is also relevant:

Deploying Oracle ADF Essentials Applications to Glassfish

快速找到问题解决方案

$
0
0

使用几个简单的步骤获取Oracle产品相关知识!

客户告诉我们,返回的搜索结果之多使他们很难找到所需要信息,尤其是当存在类似Oracle产品中这些简单的技巧告诉你如何过滤,浏览,搜索优化您的搜索结果让您更快得到相关答案

第一是过滤 PowerView 你最好的朋友

PowerView是一个My Oracle Support上经常忽略功能,它使您能够在一个或多个参数基础控制仪表盘(Dashboard),知识库选项和区域服务请求选项显示的信息您可以根据产品,产品线支持ID平台,主机名,系统名其他信息来定义一个PowerView使用PowerView的可让您获得的限制有

  • 您已设置的过滤器可以限制您的搜索结果
  • 搜索和浏览选择您的产品,或创建服务请求产品列表中显示的名字

PowerView菜单在My Oracle Support的顶部,靠近标题

PVS1

点击PowerView is Off按钮可以切换PowerView on。当PowerView is On, 过滤器就激活了,再点击它就关闭了PowerView。

点击右边的下箭头可以去创建新的过滤器,编辑/删除过滤器,或选择以前建立的过滤器。

PVS2

3个简单步骤建立一个 PowerView !

  1. 点击 PowerView 右边的下箭头并选择New。 
  2. Select Filter Type下拉菜单中选择您的过滤器,并从其他2个菜单中选择合适的项。
  • 提示: 由于有很多过滤器可选择,选择一个产品线或产品列表是个不错的有效的过滤器。
  • 点击(+) 可以增加过滤。点击(-)删除一个过滤。
  • 点击Create来保存并激活过滤器。
  • 您将看到显示PowerView is On和激活的过滤器。

    PVS3

    关于 PowerView 的功能,点击菜单中的 Learn more about PowerView…或学习short video.

    PVS4


    浏览和精确搜索:对您的产品或任务快速获得最匹配的


    知识库中或Dashboard 中的 Knowledge Base区域选择你的产品选择一个任务选择一个版本(如果可以的话可能会显示一个最佳匹配文件 - 根据您的选择给出的特定知识库文章和资源的集合提供一站式服务



    PVS5


    这个最佳匹配文件,称为“Information Center”动态更新的,基于您选择产品,任务版本相关信息这些文件是每24小时刷新,以确保您及时获得最新信息

    注:不是所有产品都有“information centers”,如果没有的话,请点击Search查看搜索结果。

    从这个 information center,您可以访问一系列从产品概述到安全信息等主题,如左边菜单显示。


    PVS6

    或者您只是想搜索知识库?那也很容易!

    同样,从知识库区域,
    选择你的产品选择一个任务选择一个版本,然后输入关键字,点击Search.

    提示:
    在这个例子中,您看到PowerView启用并设置为
    PeopleSoft Enterprise。当PowerView启用,你从知识库产品列表中选择产品时,产品列表将限制在PowerView定义的列表中。


    PVS7

    您的搜索结果将基于您给出的参数。



    PVS8

    就这么简单!

    相关信息:

    My Oracle Support - User Resource Center [ID 873313.1]
    My Oracle Support Community

    Web Application Integration Steps in OAM 11gR2 (High Level)

    $
    0
    0

    1. Install OAM, Webtier (OHS) and WebGate as per the standard installation steps.
    2. Create a WebGate instance (i.e deploy WebGate)

    A WebGate instance must be created that will copy required bits of agent from WEBGATE_HOME to WebGate instance location that shares the same INSTANCE_HOME with OHS

    ./deployWebGateInstance.sh–w /Oracle/Middleware/Oracle_WT1/instances/instance1/config/ohs1–oh /Oracle/Middleware/Oracle_OAMWebGate1

    Note: Here–w flag indicates OHS instance folder and –oh indicates the WebGate Oracle home

    1. Configure WebGate

    In the webgate configuration the EditHttpdConf utility will copy OUI instantiated apache_webgate.template from WEBGATE_HOME to webgate instance location (renamed to webgate.conf), and update httpd.conf with one additional line to include webgate.conf.

    export LD_LIBRARY_PATH=$ LD_LIBRARY_PATH:/Oracle/Middleware/Oracle_WT1/lib

    Navigate to /Oracle/Middleware/Oracle_OAMWebGate1/webgate/ohs/tools/setup/InstallTools

    ./EditHttpdConf–w /Oracle/Middleware/Oracle_WT1/instances/instace1/config/OHS/ohs1 –oh /Oracle/Middleware/Oracle_OAMWebGate1 –o webgate.conf

    1. Register WebGate

    Use RREG tool to register the OAM 11G WebGate


    Navigate to /Oracle/Middleware/Oracle_IDM1/oam/server/rreg/input

    Edit OAM11Grequest.xml. Change the specific xml content to include the weblogic admin URL, agentBaseURL, host identifier etc..

    Navigate to /Oracle/Middleware/Oracle_IDM1/oam/server/rreg/bin

    Set permissions to oamreg.sh à chmod 777 oamreg.sh

    Edit oamreg.sh and set OAM_REG_HOME=/Oracle/Middleware/Oracle_IDM1/oam/server/rreg

    ./oamreg.sh inband input/OAM11Grequest.xml

    Enter the WebLogic admin credentials when prompted.

    After performing the above steps, there will be two artifcats created under Oracle/Middleware/Oracle_IDM1/oam/server/rreg/output, namely ObAccessClient.xml (Stroing webgate config parameters) and cwallet.sso (storing the agent key). These files must be copied to WebGate instance config folder (/Oracle/Middleware/Oracle_WT1/instances/instance1/config/ohs1/webgate/config)

    Restart OHS

    1. Deploy the web application (myApp) in WebLogic application server
    2. Proxy Configuration in OHS

    The mod_wl_ohs module enables requests to be proxied from Oracle HTTP Server 11g to Oracle WebLogic Server.

    Navigate to /Oracle/Middleware/Oracle_WT1/instances/instance1/config/OHS/ohs1

    Edit mod_wl_ohs.conf file to include the following:

    <IfModule weblogic_module>

    WebLogicHost <WEBLOGIC_HOST>

    WebLogicPort <WEBLOGIC_PORT>

    # Debug ON

    # WLLogFile /tmp/weblogic.log

    MatchExpression *.jsp

    </IfModule>

    <Location /myApp>

    SetHandler weblogic-handler

    # PathTrim /weblogic

    # ErrorPage http:/WEBLOGIC_HOME:WEBLOGIC_PORT/

    </Location>

    Note: Here WEBLOGIC_HOST and WEBLOGIC_PORT are the WebLogic admin server host and port respectively

    Restart OHS. Now if we access the web application URL with OHS host and port

    (Ex: http://OHS_HOST:<OHS_PORT>/myApp) so that the requests will be proxied to WebLogic server.

    1. Create a new application domain

    Login to OAM Admin Console

    Navigate to Shared Componentsà Authentication Schemesà Create Authentication Scheme (Ex: LDAP Auth Scheme. Here the scheme is assoicated with LDAP Authentication Module)

    Navigate to Policy Configuration à Application Domain à Create Application Domain

    Enter the Application Domain Name and Click Apply.

    Navigate to Resources tab and add the resource urls

    (Web Application URLs that needs to be protected)

    Navigate to Authentication Policy tab à Create a new authentication ploicy by providing the Resource URLs (The sample Web Application URLs) and Authentication Scheme.

    Navigate to Authorization Policy tab à Create a new authorization policy à Enter authorization policy name and navigate to Resource Tab à Attach the Reource URL, Host Identifiers here.

    Navigate to Conditions tab à Add the conditions like whom to allow and whom to deny access.

    Navigate to Rules tab à Crate the Allow Rule and Deny Rule with the available conditions from the previous step so that the Authorization Policy may authorize the logins.

    Navigate to Resources tab and attach the Authentication and Authorization plocies created in the above steps.

    1. Test the Web Application Integration.
    Viewing all 19780 articles
    Browse latest View live




    Latest Images