Business Components Tutorial
In the help system for jdeveloper under tutorials. I'm doing the first Business Components Tutorial. When I get to Step 3: Creating the class diagram. I drag the customers table to the class digram. I get the following error...
An error ocurred while opening
jar:file /usr/java/jdk1.3.1_02/src.jar!
/src/java/lang/String.jar
In the details it reports a sun.io.MalformedInputException
Any ideas on what's going on? It does create a domain object and an entity object.
I'm running jdeveloper 9.0.3.10.76
Thanks!
Repost
Similar Messages
-
Images not displayed in Developing Business Services tutorial
Hi Oracle Team,
Images in the Developing Business Services with ADF Business Components tutorial @http://www.oracle.com/technetwork/testcontent/developbusinessservices-097552.html is not getting displayed.
CAn anyone from Oracle team fix this please.
Regards,
VikramVikram is right!
Neither IE nor Mozilla work.
It is 3 days since vikram reported the defect.
Won't anybody fix the code of the page?
Is oracle committed to offer support, training and reliable resources to developers who use their products, or not?
NA
http://nickaiva.blogspot -
Tutorial - Building Business Components
I am using Oracle JDeveloper3.0 (Build 532) on Windows NT. I am trying to work through the above tutorial, but when I try to invoke the Business Components or New Entity Objects, nothing happens.
Have not installed some components correctly ? Do I need to make any changes to the Gallery.INI file ?
Thank you very much for your response..
SudarshanSudarshan,
It should never be necessary for you to edit your gallery.ini to get default installation behavior.
Are you sure you sucessfully installed JDeveloper?
My JDeveloper 3.1 Gallery.ini looks as pasted below. Yours should look similar.
You may have to re-install.
I hope this helps,
-John
[Gallery_Params]
snippetStorage=E:\JD31\snippets\en
left=241
top=88
width=518
height=347
locale=en_US
[Gallery_Pages]
Page1=Objects
Page2=Business Components
Page3=Web Objects
Page4=Beans
Page5=Snippets
[Gallery_Page1]
wizard=Application=oracle.jdeveloper.wizard.application.ApplicationWizard
wizard=Applet=oracle.jdeveloper.wizard.applet.AppletWizard
wizard=Frame=oracle.jdeveloper.wizard.frame.FrameBuilder
wizard=Panel=oracle.jdeveloper.wizard.panel.PanelBuilder
wizard=Dialog=oracle.jdeveloper.wizard.dialog.DialogBuilder
wizard=Class=oracle.jdeveloper.wizard.cls.ClassBuilder
wizard=Enterprise JavaBean=oracle.jdeveloper.wizard.ejb.NewEJBWizard
wizard=CORBA Server Object=oracle.jdeveloper.wizard.corba.CORBAWizard
wizard=SQLJ File=oracle.jdeveloper.wizard.sqlj.NewSqljBuilder
wizard=SQL File=oracle.jdeveloper.wizard.sqlplus.NewSQLPlus
wizard=IDL File=oracle.jdeveloper.wizard.idl.NewIdl
snippet=Standard Menus - AWT=StandardMenu.snippet=StandardMenu.gif
snippet=Standard Menus - JFC=SwingMenu.snippet=JFCStandardMenu.gif
wizard=Business Components Data Form=oracle.jdeveloper.wizard.formgen.dacform.DACFormWizard
[Gallery_Page2]
wizard=Business Components=oracle.jbo.dt.ui.main.DtuAppAddin
wizard=Entity Object=oracle.jbo.dt.ui.entity.EOAddin
wizard=View Object=oracle.jbo.dt.ui.view.VOAddin
wizard=View Link=oracle.jbo.dt.ui.viewlink.VLAddin
wizard=Association=oracle.jbo.dt.ui.assoc.ASAddin
wizard=Package=oracle.jbo.dt.ui.pkg.PKAddin
wizard=Application Module=oracle.jbo.dt.ui.module.AMAddin
wizard=Domain=oracle.jbo.dt.ui.domain.DOAddin
[Gallery_Page3]
wizard=HTML=borland.jbuilder.wizard.app.NewHtml
wizard=JSP=oracle.jdeveloper.wizard.app.NewJsp
wizard=HTTP Servlet=oracle.jdeveloper.wizard.servlet.ServletWizard
wizard=DB Servlet=oracle.jbo.dt.ui.formgen.dbservlet.DbServlet
wizard=Web Bean=oracle.jbo.dt.ui.wizards.webbean.WebBeanWizard
wizard=Business Components JSP Application=oracle.jbo.dt.ui.wizards.webapp.WebAppWizard
[Gallery_Page4]
wizard=Bean=oracle.jdeveloper.wizard.bean.BeanBuilder
wizard=BeanInfo=oracle.jdeveloper.wizard.bean.BeanInfoBuilder
wizard=Customizer=oracle.jdeveloper.wizard.bean.CustomizerBuilder
wizard=Property Editor=oracle.jdeveloper.wizard.bean.PropertyEditorWizard
wizard=EventSet=oracle.jdeveloper.wizard.bean.EventSetWizard
wizard=Oracle Forms PJC=oracle.jdeveloper.wizard.pjc.OracleFormsBuilder
wizard=Enterprise JavaBean=oracle.jdeveloper.wizard.ejb.NewEJBWizard
[Gallery_Page5]
snippet=Example Snippet=ExampleSnippet.snippet=ExampleSnippet.gif
snippet=Example JServer/EJB Client=ExampleJSEJBClient.snippet=ExampleEJBClient.gif
snippet=Example OAS/EJB Client=ExampleOASEJBClient.snippet=ExampleEJBClient.gif
snippet=Example JServer/CORBA Client=ExampleCORBAClient.snippet=ExampleCORBAClient.gif
snippet=Example Wizard/Addin=ExampleWizard.snippet=ExampleWizard.gif
null -
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 -
How to create "Business Components Package" in the Jdeveloper ?
Hi,
I installed and set up "Patch 7523554 10G Jdeveloper With OA Extension ARU for R12 RUP6"
I have ran out the test_fwktutorial.jsp and test_fwklabsolutions.jsp.
All links work properly on these pages.
I created HelloWorld page from "Oracle Application Framework Toolbox Tutorials".
Its works properly too.
Then I started to create "Search Page".
I created "Business Component project" in the toolbox.jws.
I was trying to perform step 2.1 "Create the BC4J Package for Client (UI) Objects".
But I didn't find "Business Components Package" in the context menu.
Could you give me advice how can I create package of this kind ?
Thanks.I created "OA Workspace" and simultaneously with it created "Business Components Package" <yourname>.oracle.apps.ak.employee.
After this it i necessary to creates one more "Business Components Package" <yourname>.oracle.apps.ak.schema.server
I failed to create Package of this kind.
In the "BC4J Tutorial" It seems to me I found similr actions.
I suppose I may perform next step:
Figure 6-3 http://download.oracle.com/docs/html/A97671_01/wtgbc4j.htm#BABIAIEI
Figure 6-4 http://download.oracle.com/docs/html/A97671_01/wtgbc4j.htm#BABJIIII
But I failed to pass these steps.
Could you tell me, please, how to do this?
Thanks. -
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? -
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 -
Hi this purna ,i am new to the JDeveloper .so can you tell me the step by step process of
creating business components . And also specify which site is full guide to perfect in JDeveloper other than Oracle sitethere is an adf tutorial in oracle website, you can find it.
also you can try to run bc4j wizard at Jdeveloper. -
Deploying Business Components as CORBA objects in JDev 3.0
I have two JDeveloper 3.0 projects: a "server" project
containing business components generated from my Oracle8i schema
using the wizards, and a "client" project containing an Infobus
application that uses the business components. I have
successfully deployed these locally and have now tried to deploy
the "server" application module as a CORBA object in my Oracle8i
schema (I have successfully deployed and used the "HelloCORBA"
tutorial CORBA object).
When I test my deployment using the Business Component Tester,
however, I get the following messages:-
javax.naming.NameNotFoundException
Nothing bound for specified name.
Has anyone any idea what I might be doing wrong? I haven't.
Howard
nullHoward,
Make sure that the JNDI path in the tester is correct.
The following steps might help you out:
1.Determine the JNDI path for your CORBA object. You can check
this in the deployment profile(choose 'Properties' from the
context menu of the .prf file in the 'deployment' folder. Also,
you can browse your connection (double click on the connection
in the 'Connections' folder) to determine the exact path for
your object.
2.In the 'Connect' pane of the Tester
-choose 'Oracle8i' as the 'Middle Tier Server Type'
-choose the appropriate IIOP connection
-Make sure that the JNDI path is correct
This should get it working...
Please let us know if you have any questions.
Howard (guest) wrote:
: I have two JDeveloper 3.0 projects: a "server" project
: containing business components generated from my Oracle8i
schema
: using the wizards, and a "client" project containing an
Infobus
: application that uses the business components. I have
: successfully deployed these locally and have now tried to
deploy
: the "server" application module as a CORBA object in my
Oracle8i
: schema (I have successfully deployed and used the "HelloCORBA"
: tutorial CORBA object).
: When I test my deployment using the Business Component Tester,
: however, I get the following messages:-
: javax.naming.NameNotFoundException
: Nothing bound for specified name.
: Has anyone any idea what I might be doing wrong? I haven't.
: Howard
null -
Business Components in JHeadstart
Hi
can any one tell me how to add business components in JHeadstart.Sohel,
The JHeadstart Designer Generator can only be used if you previously have generated (or reverse engineered) Oracle Forms applications using Oracle Designer. The JDG transfers the Oracle Designer metadata to the XML format that is used by the JHeadstart Application Generator. If you have never used Oracle Designer before, you cannot use the JDG. Instead you should create the ADF Business Components using the wizards in JDeveloper as explained in Steve Muench' JHeadstart tutorial.
Steven Davelaar,
JHeadstart Team. -
Business Components Project Error - Application Error
Hi All
Please can you help me with this one as JDeveloper is not giving me any clues.
I am following the tutorial for Business Components with a few modifications. I am using MS Access DB.
I have managed to successfully connect to this DB and pick the table I want to browse.
All is well until I run the jpr file and then I get this on my HTML page :
Application Error
Error returned : null
Any ideas ? What info should I post here as clues to solving this ?
Thanks all for viewing and providing any advice.
GregNew info :
oracle.jbo.NoDefException: JBO-25002: Definition
SYSMAN.CurrentRequestsView of type View Definition
not found
This exception means that the system cannot find SYSMAN\CurrentRequestsView.xml file from the classpath. Please make sure that CurrentRequestsView.xml is accessible. If necessary, change project settings and add the appropriate Library.
Thanks.
Sung -
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… -
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. -
How to use an existing data model using Business Components in OEPE
I am a beginner in ADF. I am working on a project with an existing data model that uses Business Components (EO, VO and AM). I know that OEPE does not handle the creation of BC, so if I want to modify them, I will have to do that in JDev. That's fine.
OEPE can create pages with drag and drop like in JDev. In my eclipse ADF projects, I would like to use the existing BC, to be able to use the bindings with ADF Faces. So far I have nothing in the Data Controls tab.
How to import the BC into the Data Controls tab?
JDev 11.1.1.6
WLS 10.3.6
Eclipse KeplerWe currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
HTH. Thanks for your interest in OEPE. -
Business packages, Business Functions and Business Components
Dear All,
I am new to ESS/MSS.
We are going to implement the following applications. (Company is Indian based).
Version : EHP6 and Portal 7.3
1. Employee Search
2. Personal Information
2. Working Time
3. Benefits and Payments (Reimbursements, Salary Advance, URL iviews have to create for PF and ESI)
4.Travel Management (No 3rd party integration for booking tickets)
5. Performance Management Systems (360* Degree Appraisal)
6. E- Separation
7. Corporate Information
8. E- Recruitment
9. MSS
What are the Business Packages have to deploy?
What are the Business Functions have to deploy?
What are the Business Components have to deploy?
Regards
SomuWhat are the Business Packages have to deploy?
In portal side you need to deploy the below packages.
-> BP ERP05 ESS 1.41
-> BP ERP05 MSS 1.51
-> BP ERP05 COMMON PARTS 1.51
-> BPERPESSWDA1.50
-> BP MSS ADDON 1.0
-> BP Recruiter
-> BP Recruiter Administrator
If you want implement TMS applications then you required below BP's
-> BP ERP TMS 1.51
-> BP ERP05 TALENT DEV 1.01
And the components should be SP level compatibility with SAP ECC system
-> SAP ESS
-> SAP MSS
-> SAP PCUI_GP
What are the Business Functions have to deploy?
You need to activate the below BF's in ECC HR system
HCM_ESS_CI_1
HCM_ESS_WDA_1
HCM_ESS_WDA_2
HCM_MSS_WDA_1
HCM_MSS_WDA_2
FIN_TRAVEL_1
FIN_TRAVEL_2
FIN_TRAVEL_3
HCM_ASR_CI_1
HCM_ASR_CI_2
HCM_ASR_CI_3
HCM_ECM_CI_1
HCM_ECM_CI_2
HCM_LSO_CI_1
HCM_LSO_CI_2
HCM_LSO_CI_3
HCM_OSA_CI_1
HCM_OSA_CI_2
HCM_PD_UI_1
HCM_TMC_CI_1
HCM_TMC_CI_2
CA_HAP_CI_1
HCM_OSA_CI_1
HCM_OSA_CI_2
HCM_TMC_CI_1
HCM_TMC_CI_2
HCM_HCP_CI_1
HCM_ECM_CI_2
HCM_ERC_CI_4
HCM_PD_UI_1
FIN_CO_MSSBUA_NWBC
FIN_REP_SIMPL_1
ERP_ENTERPRISESEARCH
What are the Business Components have to deploy?
In ECC side import the addon components based on your system component levels.
MSS Addon 1.0
ERECRUTIMENT
Maybe you are looking for
-
I purchased numbers but want to install in my new iMac. how?
I purchased numbers but want to install in my new iMac. how?
-
Do Time Machine backups carry across the OSX?
Basically, I had a computer with Mavericks and the hard drive went crazy and I had to reinstall the OSX, yet the only thing I had around was a copy of Lion. So, what I'd like to know is if my Time Machine backup will also install Mavericks on top of
-
I am unable to install adobe flashplayer onto my 3-4 year old macbook - please help!
I am unable to install adobe flashplayer onto my 3-4 year old macbook - please help.
-
My prints look fine on my screen but print too dark. I've spent time lowering the brightness on my iMac monitor, calibrating the monitor, tried every combination of Photoshop managing the print, the printer (Epson1900) managing printing, Adobe 1998,
-
Captivate CS5 - doesn't publish files
Hi I created a new project using ppt slides and then I just added a background music. Everything seemed to work when I previewed the project. The fun part began when I published it. First of all, it was weird as the ppt was about 100 Mb and the publi