Development without Business Components
We have to support two other databases beside Oracle.
1) Is it possible to develop applications and EJB's with JDeveloper 3.1 without using Business Components for Java ?
2) Is it possible to use the infobus enabled Swing components without BC4J ? Or do we have to implement the data-awareness by ourselves ?
Thank you
Andreas
null
1) Is it possible to develop applications >>and EJB's with JDeveloper 3.1 without
using Business Components for Java?Absolutely, EJB's are a Middle Tier component
that are always available.
Business Components __CAN__ be deployed as an EJB, but an EJB can serve many other needs.
Q2: Unsure, but I believe so. Please consult the JavaDoc of the InfoSwing/InfoProducer controls.
-John
null
Similar Messages
-
Usinf Web Beans without Business Components
We are using JDeveloper 3.0 with Oracle8i. However, we deploy an various platforms (OAS, IBM WebSphere, Apache, Iportal) and do not want to use Oracle's Business Objects. Is there any problem with using Data Web Beans without the Business Objects? Or does there have to be a View to render it?
JDeveloper includes WebBeans and Data WebBeans.
Data WebBeans are essentially WebBeans with
the builtin support for Data coming from
the Business Components.
You can always create your own WebBeans and
have it become data aware in any manner that you choose.
You may end up with an architecture similar
to Data WebBeans or you may not.
John - JDeveloper team
John - JDeveloper Team -
Does ADF Business Components work well with tables without primary Key?
We have tables using unique index without primary key. Can ADF Business Components relate business objects based on the unique index columns of the tables?
Hi,
Regarding my question about the XML syntax for custom properties:
It turned out to be another problem in the Entity object definition that caused the JDeveloper error. Other entities let me add the custom property without problems. However should anybody ever need that XML syntax, here's how you add a custom property to an entity definition in the XML code:
<Attribute
Name="Id"
IsNotNull="true"
Precision="10"
Scale="0"
ColumnName="ID"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
SQLType="NUMERIC"
TableName="TABLE"
PrimaryKey="true">
<DesignTime>
<Attr Name="_DisplaySize" Value="22"/>
</DesignTime>
<Properties>
<CustomProperties>
<Property
Name="SequenceName"
Value="SEQ1"/>
</CustomProperties>
</Properties>
</Attribute>Best regards,
Bart Kummel
Edited by: Bart Kummel on Sep 8, 2009 1:14 PM -
Associations and Links does not load when creating Business Components
Hi guys,
I am having a problem when I create my business components from table. Let's say that I start a new fusion web application. I then create my business components, enter the proper database connection settings. After everything is done, I am only getting my entities and my views, without any associations and links.
The thing is that it worked the first time. Everything loaded as it should. I then asked a collegue of mine to try on his computer. Surprise, everything loads perfectly just like it did the first time I did it.
I then tried on one of my linux virtual machine, via the same PC that I am having the problem. Again, the same problem, even if this is another JDeveloper instance (vm).
I have read the thread 2187263 that mentions to re-create the DB connection. Again, it is not working.
Associations and View Links missing in JDeveloper 11.1.1.3 and 11.1.1.4
I saw this under the "Messages - Log" tab in JDeveloper :
Aug 7, 2012 11:09:06 AM oracle.jdbc.driver
SEVERE: 3F794B56 Throwing SQLException: 3
Aug 7, 2012 11:09:06 AM oracle.jdbc.driver
SEVERE: 6C9DD8BE Throwing SQLException: ORA-00936: missing expression
I am using JDeveloper 11.1.1.6.
Any help would do, since I do not want to uninstall JDeveloper and reinstall it again and again...Yes. In SQL Developer, when I click "Modify" on one of my tables, and then on "Foreign Keys", I can see them all.
Like I said, it worked on a different workstation, and it worked before on my computer. -
NO Links or Associations created with the "Business Components From Tables"
Hello,
I have a strange problem. I'm working on a Fusion Web Applicaiton. In the Model project, I try to create some Business Components from Tables with the help of the provided wizard.
I select one of my IDE Connections, and I choose two of my tables as Entity Objects (*PATIENTS* and COUNTRIES - more details about them bellow), and also as Updatable View Objects. For Read-Only View Objects I select some other tables, afterwards I choose to create a default Application Module, and I press Finish without creating a Business Diagram. Everything works perfectly except of the fact that the wizzard has created everything but the Links and the Associations between my tables.
To be more precise, COUNTRIES is a simple table, only two columns - ID and NAME, and PATIENTS has some columns like ID, NAME, ADDRESS, DATE_OF_ADMISSION, COUNTRY_ID, where COUNTRY_ID is a foreign key to the COUNTRIES table. Both columns, PATIENTS.COUNTRY_ID and COUNTRIES.ID are NUMBERs. I was expectig the wizard to create a Link and a Association for this foreign key constraint I have between this two tables.
On the other hand, following one of the tutorials I've found, *"Developing RIA Web Applications with Oracle ADF"*, I've noticed that when I was creating Business Components from Tables based on the HR schema, all the Links and Associations were created as they were expected. I've also tried to create the same Business Components from Tables in my own project, and all the Links and Associations were in place. Somehow, it's not working for my particular schema (the one that contains PATIENTS and COUNTRIES).
Is there something I do wrong? I've made sure that all the FK constraints are enabled, alive and kicking. From my point of view, the tables are working and behavig as they should, but I can't understand why that feature of automatically creating the Links and Associations works on the HR schema but not on mine.
Please help!
Bogdan.
PS: I am using Oracle JDeveloper Studio Edition Version 11.1.1.1.0, Oracle SQL Developer Version 1.5.5, and Oracle 10g Express Edition installed on localhost.Hello John,
Of course I can post the scripts.
The schema name is "TEST". But you should know that there are some extra columns in the PATIENTS table, I've not mentioned before. As you can tell from the scripts bellow, the PATIENTS table has the following columns: ID (number), NAME (varchar2), COUNTRY (number), GENDER (number), ADMISSIONDATE (date), DIAGNOSTIC (number), FIRSTNAME (varchar2), SALARY (number). There are actually 3 FK constraints, I've only mentioned one for the simplifying the example. The first FK constraint is towards COUNTRIES, the second one is towards GENDERS, and the final one is towards DIAGNOSTICS. All this 3 tables have only two columns (ID as number, and GENDER as varchar2). I will post the scripts for all.
Here is the output of the Export DDL to Clipboard from SQL Developer for the COUNTRIES table:
CREATE TABLE "TEST"."COUNTRIES"
( "ID" NUMBER NOT NULL ENABLE,
"NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
CONSTRAINT "COUNTRIES_UK1" UNIQUE ("NAME")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE,
CONSTRAINT "COUNTRIES_PK" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE UNIQUE INDEX "TEST"."COUNTRIES_PK" ON "TEST"."COUNTRIES" ("ID")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE UNIQUE INDEX "TEST"."COUNTRIES_UK1" ON "TEST"."COUNTRIES" ("NAME")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE OR REPLACE TRIGGER "TEST"."COUNTRIES_TRG"
BEFORE INSERT ON COUNTRIES
FOR EACH ROW
BEGIN
SELECT COUNTRIES_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
END;
ALTER TRIGGER "TEST"."COUNTRIES_TRG" ENABLE;
Here is the same output for the GENDERS table:
CREATE TABLE "TEST"."GENDERS"
( "ID" NUMBER NOT NULL ENABLE,
"NAME" VARCHAR2(50 BYTE) NOT NULL ENABLE,
CONSTRAINT "GENDERS_PK" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE,
CONSTRAINT "GENDERS_UK1" UNIQUE ("NAME")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE UNIQUE INDEX "TEST"."GENDERS_PK" ON "TEST"."GENDERS" ("ID")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE UNIQUE INDEX "TEST"."GENDERS_UK1" ON "TEST"."GENDERS" ("NAME")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE OR REPLACE TRIGGER "TEST"."GENDERS_TRG"
BEFORE INSERT ON GENDERS
FOR EACH ROW
BEGIN
SELECT GENDERS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
END;
ALTER TRIGGER "TEST"."GENDERS_TRG" ENABLE;
Here is the same output for the DIAGNOSTICS table:
CREATE TABLE "TEST"."DIAGNOSTICS"
( "ID" NUMBER NOT NULL ENABLE,
"NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
CONSTRAINT "DIAGNOSTICS_PK" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE,
CONSTRAINT "DIAGNOSTICS_UK1" UNIQUE ("NAME")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE UNIQUE INDEX "TEST"."DIAGNOSTICS_PK" ON "TEST"."DIAGNOSTICS" ("ID")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE UNIQUE INDEX "TEST"."DIAGNOSTICS_UK1" ON "TEST"."DIAGNOSTICS" ("NAME")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE OR REPLACE TRIGGER "TEST"."DIAGNOSTICS_TRG"
BEFORE INSERT ON DIAGNOSTICS
FOR EACH ROW
BEGIN
SELECT DIAGNOSTICS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
END;
ALTER TRIGGER "TEST"."DIAGNOSTICS_TRG" ENABLE;
And finally, here is the same output for the PATIENTS table:
CREATE TABLE "TEST"."PATIENTS"
( "ID" NUMBER NOT NULL ENABLE,
"NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
"COUNTRY" NUMBER,
"GENDER" NUMBER,
"ADMISSIONDATE" DATE,
"DIAGNOSTIC" NUMBER,
"FIRSTNAME" VARCHAR2(1000 BYTE),
"SALARY" NUMBER,
CONSTRAINT "PATIENTS_PK" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE,
CONSTRAINT "PATIENTS_UK1" UNIQUE ("NAME", "ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE,
CONSTRAINT "PATIENTS_GENDERS_FK1" FOREIGN KEY ("GENDER")
REFERENCES "TEST"."GENDERS" ("ID") ENABLE,
CONSTRAINT "PATIENTS_DIAGNOSTICS_FK1" FOREIGN KEY ("DIAGNOSTIC")
REFERENCES "TEST"."DIAGNOSTICS" ("ID") ENABLE,
CONSTRAINT "PATIENTS_COUNTRIES_FK1" FOREIGN KEY ("COUNTRY")
REFERENCES "TEST"."COUNTRIES" ("ID") ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE INDEX "TEST"."PATIENTS_INDEX1" ON "TEST"."PATIENTS" ("NAME")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE UNIQUE INDEX "TEST"."PATIENTS_PK" ON "TEST"."PATIENTS" ("ID")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE UNIQUE INDEX "TEST"."PATIENTS_UK1" ON "TEST"."PATIENTS" ("NAME", "ID")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE OR REPLACE TRIGGER "TEST"."PATIENTS_TRG"
BEFORE INSERT ON PATIENTS
FOR EACH ROW
BEGIN
SELECT PATIENTS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
END;
ALTER TRIGGER "TEST"."PATIENTS_TRG" ENABLE;
If a complete DB dump would be more helpful, please let me know. I am willing to provide any details.
Thanks for your support. -
Help required building ADF-Swing/ADF-Faces using ADF Business Components
My question is in regards to how you can go about building a light swing application to an ADF model?
In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
In particular can we develop these screens using ADF-Faces and also ADF-Swing?
The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
This would be typically deployed to an app server, like Oracle App Server 10G.
Could you please have a look at this, as I am doing a lot of research into this.
eg. Taking example from oracle magazine sept/oct 2006
with slight enhancements
package oramag.frameworks.example.common;
import oracle.jbo.ApplicationModule;
import oramag.frameworks.customdto.EmployeeDTO;
public interface HRService extends ApplicationModule {
void deleteCurrentEmpAndCommit();
EmployeeDTO findEmployee(int employeeId); // new method
import oramag.frameworks.customdto.EmployeeDTO;
public class HRServiceImpl extends ApplicationModuleImpl {
public void deleteCurrentEmpAndCommit() {
Row empRow = getEmpView().getCurrentRow();
if (empRow != null) {
empRow.remove();
getDBTransaction().commit();
public EmployeeDTO findEmployee(int employeeId)() {
EmployeeDTO employeeDTO = null;
EmployeesImpl employees = getEmployees();
employees.setNamedWhereClauseParam("EmployeeId", employeeId);
employees.executeQuery();
if(employees.hasNext()) {
EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
employeeDTO = new EmployeeDTO(employee);
return employeeDTO;
public EmployeesImpl getEmployees() {
return (EmployeesImpl)findViewObject("Employees");
Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
Cheers
RodneyThe tutorial is for ADF BC used with JavaServer Faces.
While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
It's more of what you don't need to do :-)
Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
Trying to do everything with hand-coded DTO beans is really going the hard way.
Could you help us regarding this? -
Nested Tables and Business Components
Hi,
We have developed a paradigm whereby all of our tables are of object types. In one example we haveL
create type addresslines_nt as table of varchar2(30);
We have another type:
create type address_ot as object(
lines addresslines_nt );
We create the TABLE off of address_ot with a nested table (store as) off LINES.
CREATE TABLE ADDRESS of ADDRESS_OT ....
In JDeveloper we want to create BUSINESS COMPONENTS and can not find a way for it (JDeveloper) to create a matching component for ADDRESS (the table) without it dropping a reference to the LINES property?
HELP!
DaveBC4J version 3.2.x only supports VARRAY collection types.
BC4J 9i (which will come with JDeveloper 9i when it's release) supports both VARRAY and TABLE collection types. -
Can not see the menu of New Business Components Package in jdeveloper
I am just follow the developer guide.
and when I create the Business Components Package, the guide said that
========================================
In the JDeveloper Navigator, select the OA Project where you want to create your package.
From the main menu, choose File > New to open the New Object Gallery.
In the Categories tree, expand the Business Tier node, and select Business Components (BC4J).
In the Items list, select Business Components Package to open the Business Components Package Wizard. You can also right-click on the OA Project and select New Business Components Package to navigate directly to the Business Components Package Wizard.
=====================================
In fact I can not see the menu about Business Components (BC4J) in the File/new/buisness tier/Business Components (BC4J).
I can only see the File/new/buisness tier/ADF Business Components.
And can not find the "Business Components Package" under ADF Business Components either.
I am using the JDev Extension for OA (p5856648_R12_GENERIC.zip) and EBS 12.0.0.
And I create an OA Workspace and OA Project.
can anyone help?James,
Use search facility on forum. Chk thread Re: OAF Toolbox Tutorial Help - Search
--Shiv -
Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server
Hi,
I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
Application Module is configured with a Service Interface for ordinary ViewObjects.
Now I want to create a EAR file of this application to deploy it on the weblogic server.
But I got an error while deploying it.The error i am getting is shown below.
ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
I have followed the steps mention in the below link :
http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
I'm using Jdeveloper 11.1.2.4 on windows.
Please suggest what i could be doing wrong.
Regards,
HimanshuDoes the deployment profile include Java EE modules?
Refer
Java EE Developer: ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.Veto… -
Connecting to a database from Business Components JSP Application
Hallo All!
Can anybody give me an advice about connecting to a database from Business Components JSP Application? In all examples I see that Oracle user name and password placed in configuration file.
How can user provide his own name and password to start Oracle session and how then hi can close this session?
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dmitri:
Dear Laura,
I mean first variant where the database would be the same:
scott/tiger@database1
foo/bar@database1
Of course I understand that we must register every user in database by "CREATE USER XXX" and it is unacceptable for Internet. But it may be very convenient for an Intranet because we can build access restriction based on set of views without any changes in applications.
Best wishes,
Dmitri.<HR></BLOCKQUOTE>
null -
Load Error - Business Components
I created a project that has business components and when I close down JDeveloper and reopen I get the following message below
More Information:
We use a central objects and import them into each project that must use them. I am assuming that the issue is the projects are not seeing the central ADF Objects. But I would like to know how to Fix this without rebuilding everything all over again....
JDeveloper Version: 10.1.3.0.4.3673
Enviroment: Creating ADF Client ( Swing ) Application
Error Messages:
Object prices.phoenix.conformity.adf
Project: xxx
The following object refeered to object that could not be found:
Prices.phoenix.conformity.adf.CProductOfferView
Could not find the following objects:
Prices.phoenix.dbo.Banner
Stack Trace:
[ pre]
oracle.jbo.dt.objects.JboException: The following object(s) referred to
objects that could not be found:
prices.phoenix.conformity.adf.C_ProductOfferViewEx
Could not find the following referenced object(s):
prices.phoenix.dbo.Banner
at
oracle.jbo.dt.objects.JboException.throwException(JboException.java:81)
at
oracle.jbo.dt.objects.JboPackage.loadResolveReferencesXML(JboPackage.jav
a:1397)
at
oracle.jbo.dt.objects.JboPackage.finishObjectsLoad(JboPackage.java:1042)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:972)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:951)
at
oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:2
555)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:880)
at
oracle.jbo.dt.objects.JboPackage.checkForLoad(JboPackage.java:451)
at
oracle.jbo.dt.objects.JboPackage.findContainedObjectByName(JboPackage.ja
va:440)
at
oracle.jbo.dt.objects.JboPackage.findObjectByName(JboPackage.java:1999)
at
oracle.jbo.dt.objects.JboApplication.findObjectByName(JboApplication.jav
a:943)
at
oracle.adf.dt.providers.BC4JDataControlProvider.createDataControls(BC4JD
ataControlProvider.java:153)
at
oracle.adf.dt.providers.BC4JDataControlProvider.addControlsToArrayList(B
C4JDataControlProvider.java:98)
at
oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.j
ava:129)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:50)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:35)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:30)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:25)
at
oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(Data
ControlsTree.java:81)
at
oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
at
oracle.adf.dt.controls.DataControlsTree.internalPopulateFromActiveWorkSp
ace(DataControlsTree.java:76)
at
oracle.adf.dt.dbpanel.DataBindingPanelTree.dataControlSetChanged(DataBin
dingPanelTree.java:115)
at
oracle.adf.dt.DataControlManager.notifyDataControlSetChanged(DataControl
Manager.java:54)
at
oracle.adf.dt.dbpanel.DataBindingPanel.populateTreeIfNecessary(DataBindi
ngPanel.java:99)
at
oracle.adf.dt.dbpanel.DataBindingDockeableWindow.dockableShown(DataBindi
ngDockeableWindow.java:140)
at
oracle.ide.docking.DockableWindow$ShowHideTranslator.dockableShown(Docka
bleWindow.java:68)
at
oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
.java:961)
at
oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
.java:1001)
at
oracle.ideimpl.docking.TitledPanel.fireDockableShown(TitledPanel.java:62
7)
at
oracle.ideimpl.docking.TitledPanel.setPageVisible(TitledPanel.java:828)
at
oracle.ideimpl.docking.TitledPanel.showClient(TitledPanel.java:758)
at
oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:745
at
oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:738
at
oracle.ideimpl.docking.TitledPanel.loadVisibilityLayout(TitledPanel.java
:1799)
at
oracle.ideimpl.docking.DockPanel.loadVisibilityLayout(DockPanel.java:200
at
oracle.ideimpl.docking.AbstractDockPanelHost.loadVisibilityLayout(Abstra
ctDockPanelHost.java:94)
at
oracle.ideimpl.docking.DockStationImpl.onStartup(DockStationImpl.java:14
08)
at
oracle.ideimpl.docking.DockStationImpl.loadLayout(DockStationImpl.java:1
353)
at
oracle.ideimpl.docking.DockStationListener.init(DockStationListener.java
:36)
at oracle.ide.layout.Layouts.activate(Layouts.java:758)
at oracle.ide.layout.Layouts.activateLayout(Layouts.java:176)
at
oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:743)
at
oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
d.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[ /pre]
Message was edited by:
cchobanik
Message was edited by:
cchobanik
Message was edited by:
cchobanikJust to let everyone know the issue is a result of this error:
Compile Errors
Cory -
What are ADF Business Components??
ADF BC is running in my mind
Can anyone tell what do they look like??
are they different from any of the components which we develop such a EJB or any JSF components??
revert back ASAPADF Business Components is enhanced in 11g, but it is production now in JDeveloper/ADF 10.1.3.
The ADF Learning Center [http://www.oracle.com/technology/products/adf/learnadf.html] has our latest resources for enterprise 4GL Developers getting started with Oracle ADF. This includes the complete ADF Developer's Guide for Forms/4GL Developers [http://www.oracle.com/technology/documentation/jdev/b25947_01/index.html], a companion sample application [http://www.oracle.com/technology/products/jdev/samples/srdemoadfbc.html], and a companion step-by-step tutorial [http://www.oracle.com/technology/obe/ADFBC_tutorial_1013/10131/index.htm].
To complement the free Developer's Guide from Oracle, you might be interested in the Oracle Press title Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF [http://www.amazon.com/Oracle-JDeveloper-Forms-SQL-Developers/dp/0072259604].
There is an instructor-led course for Oracle ADF For Forms/4GL Developers [http://education.oracle.com/pls/web_prod-plq-dad/show_desc.redirect?dc=D18384GC10&p_org_id=1001&lang=US&source_call=].
Potentially of interest to any former Oracle Forms or Oracle Designer user is the additional Oracle JHeadstart for ADF [http://www.oracle.com/technology/consulting/9iServices/JHeadstart.html]extension for JDeveloper. This is a complete web-tier page generation solution that has its own step-by-step tutorial [http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html?_template=/ocom/technology/content/print] so customers can evaluate whether it might benefit their developer productivity. The JHeadstart Features/Benefits document is here [http://www.oracle.com/technology/consulting/9iservices/JHeadstart%20White%20Paper.pdf] (pdf).
The OTN J2EE for Forms Devs [http://otn.oracle.com/formsdesignerj2ee] home page has additional resources of particular interest to Oracle Forms developers.
Last but not least, the JDeveloper OTN Discussion Forum JDeveloper and ADF is a great resource to ask JDeveloper/ADF questions of your peers and Oracle employees working on/with the technology.
Hope this helps -
Reusing ADF Business components in a different installation
Hi,
I have a customer who's interested in creating Business Components, packing them in a jar file, send that file to another location where some developers want to develop JSF pages using those BCs. I know this is posible in 11g, but can that be done in JDeveloper 10g?Hi,
yes and it is explained in the Developer Guide. In 10g you don't have ADF Library JAR files, but you can create JAR files from ADF BC to import in the new project
Frank -
Integrating ADF Business Components from heterogenous data sources
Hi all,
has anybody experience in integrating ADF Business Components from heterogenous data sources like ViewObjects from a DB2 database as LOV in a ViewObject from a Oracle 11g?
What is the best practice approach to integrate such different ADF Business Components in declarative and programmatic ways?
Thank you!thank you for the answer! We already updated out BC according to http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
The DB2 ViewObjects are exported as ADF Libraries and imported in the BC of the project with Oracle DB ViewObjects. In the root AM I created instances from the imported DB2-ViewObjects as well as from the Oracle-ViewObjects, but when I start AM test environment it takes the preconfigured Data Source of the root AM. So I probably will pesneed to create two AMs for the different ViewObject types and for the two connection types. My question is what will be best practices to use data from the DB2-VO of AM_DB2 in the OracleDB-VOs as part of AM_Oracle? Should it be done only programmatically or can it be done also declaratively and any suggestions how to proceed?
Thank you!
Edited by: nbo on Jun 3, 2012 2:53 AM -
Not a visible GUI in Business Components Type of Application
Hi ,
Trying to discover the various types of JDeveloper 10g , I have developed a very simple form (Business Components Application) based on emp , dept data tables.
However , i don't see any visual object... as in a SWING Application....
At runtime , some objects - text fields , menus,,,e.t.c. are appeared.
Is it possible to modify the visual objects of these objects at design time...?????
Thanks , a lot
SimonThe BC Browser is just a tester - it create a default UI to ease testing.
If you want to configure the user interface, create a Swing application based on your ADF BC. See the JDeveloper tutorials page for more info.
Maybe you are looking for
-
Youtube airplay on ATV dropped from iPhone
When using Airplay to watch a YouTube video from my iPhone 5 on my AppleTV 2, anytime, I switched to Messages, Email, or any other program on my iPhone, YouTube stops playing on my Apple TV. This is a new issue. It hadn't happened in the past when I
-
Update operation times in routing
hello all, I need to do a mass change on routing in order to update operation times. I'm trying to find a BAPI/function to do this but without any success. It's not possible to do it with call transaction CA02 because depending on the material I can
-
I need your support please.
Hello, Model: wdbuzg0010bbk-04 Suddenly my External Hard Drive is not detected and failed (Not even processing) with the tests of Western Digital Data LifeGuard Diagnostics. I believe I tried everything. When I connect it, there is no strange sound,
-
I have a Crystal report in which we have used hyperlink say the report gets drill down from level1 to level10 i can able to drill down till last level..... But how can i drill up, ie going to previous level i have not used univerese for designing thi
-
Hi, I posted this query earlier as well, but along with lots of dubious informations which may have confused people. Here is the issue as it stands:- - Signon to the PeopleSoft portal works fine, I can see the homepage. - If I click on any content re