Business Components Data Tags Library Concern
I am in process of upgrading our application from 9.0.2 to 9.0.5. I noticed many notes in the documentation to use ADF UIX when designing new pages.
Is the Business Components Data Tags Library still supported? Is it still available in 10.1.2? Are there plans to de-support or deprecate these tags.
Check out this document http://www.oracle.com/technology/products/jdev/collateral/others/desupport10g.html
You don't need to do JSP development with UIX though, in JDeveloper 10g we use expression language to bind the JSP to the BC4J (now called ADF BC) layer.
Check out for example this online demo:
http://www.oracle.com/technology/products/jdev/collateral/papers/10g/reviewer/viewlets/reviewer_jsp_viewlet_swf.html
Similar Messages
-
I still seem to have a problem when using trying to use the Wizard to create a Dataform.
Eg. I have a brand new project, goto "File" menu, select "New" and then select "Business Components Data Form" and i get this message:
"No Business Component Application
modules found in this JDeveloper workspace. There is not enough informaion to create a Business Components Data Form."
Anyone know what im doing wrong ? Ive used the online help, but that didnt help me :)
Im open to suggestions
CheersTry using -
1- File/new .jws
2-File/new project
3- New project-application
4- Application wizard-info bus data form
5- select options-as you wish
6- save and run
Thanks
Vinay
null -
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 -
Passing variables between data tag and Java
Hello all,
I have a question about using variables between data tag and java.
Let me explain.
I would like to populate variable "Test" with
the information returned by jbo data tag library.
<code>
<% String Test = "%><jbo:ShowValue datasource="ds" dataitem="Cod" /><%";%>
or
<% String Test = "<jbo:ShowValue datasource="ds" dataitem="Cod" />";%>
</code>
This code did not work.
Some suggestions
Thanks
Humberto
nullHumberto,
I'm afraid I do not know the specific answer
to your question (perhaps Juan the Data Tag
Wizard will reply ;-). I vaguely recall
struggling with teh same issue when I was
playing with the tags for a demo. Here
is a hack-around lifted from my demo
that might help:
<jbo:Row id="privRow" action="CURRENT" datasource="privileges" />
<%
String privName = (String)privRow.getAttribute("Privilegename");
%>
In other words, I ended up using the Row
tag to get a local Java variable bound to the
row instance and then used its methods
to extract the value. I presume the class
of the row instance is oracle.jbo.Row
and you can lookup its supported methods
in the reference doc.
I'd be interested to hear if their is a more
elegant way - the one suggested above is
pretty tedious.
Regards,
Bill
---- -
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. -
How to load data from XML DOM into tables using Business Components
<p>
Hi,
</p>
<p>
I need to upload XML file (it's not a problem) an load data (DOM tree) from this file into relationan tables. This filelooks like this:
</p>
<p>
<font face="courier new,courier" size="2"><Departments>
<Department>
<DepartmentName>OPERATIONS</DepartmentName>
<Localization>BOSTON</Localization>
<Employees>
<Employee>
<LastName>TURNER</LastName>
<Job>SALESMAN</Job>
<Manager>7698</Manager>
<HireDate>1981-09-08</HireDate>
<Salary>1500</Salary>
<Commerce>0</Commerce>
</Employee>
</Employees>
</Department>
</Departments></font>
</p>
<p>
Is there any Business Components support to obtain this ? What about primary and foreign keys values (there is no in XML file). How to place this XML data in appropriate tables ?
</p>
<p>
Kuba
</p>Pl post details of exact OS and database versions, along with a sample of the XML file and description of the tables. What have you tried so far ?
http://docs.oracle.com/cd/E11882_01/server.112/e22490/ldr_control_file.htm#i1005614
HTH
Srini -
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 -
Enhance Req: Business Components Browser close data viewer
Hi JDev team
Regards the Business Components Browser in JDev 11g TP with an open data viewer. To close the data viewer you need to right click on the tab then select Close.
Can you raise an enhancement request please for a 1 click close facility, such as floating the mouse over the tab, an X button appearing in the right side of the tab, which with 1 click closes the tab.
Thanks,
CM.Filed ER# 6121756
Thanks -
Hi, can anyone advise as to whether my tag library code (based
on Apache Jakarta Project) will actually achieve connection
pooling functionality across my entire JSP based application? I
am slightly concerned that my OracleConnectionCacheImpl object
may exist multiple times, hence rendering my conection pooling
attempt useless.
package com.solved.tag.dbtags.connection;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import javax.servlet.jsp.tagext.TagSupport;
import javax.servlet.jsp.JspTagException;
import javax.sql.DataSource;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import oracle.jdbc.pool.OracleConnectionCacheImpl;
* <p>JSP tag connection, used to get a
* java.sql.Connection object.</p>
* <p>JSP Tag Lib Descriptor
* <pre>
* <name>connection</name>
<tagclass>com.solved.tag.dbtags.connection.ConnectionTag</t
agclass>
* <bodycontent>JSP</bodycontent>
<teiclass>com.solved.tag.dbtags.connection.ConnectionTEI</t
eiclass>
* <info>Opens a connection based on a jndiName.</info>
* <attribute>
* <name>id</name>
* <required>true</required>
* <rtexprvalue>false</rtexprvalue>
* </attribute>
* </pre>
* @author Matt Shannon
public class ConnectionTag extends TagSupport {
static private OracleConnectionCacheImpl cache = null;
public int doStartTag() throws JspTagException {
try {
Connection conn = null;
if (cache == null) {
try {
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup
("jdbc/pool/OracleCache");
cache = (OracleConnectionCacheImpl)ds;
catch (NamingException ne) {
throw new JspTagException(ne.toString());
conn = cache.getConnection();
pageContext.setAttribute(getId(),conn);
catch (SQLException e) {
throw new JspTagException(e.toString());
return EVAL_BODY_INCLUDE;
package com.solved.tag.dbtags.connection;
import java.sql.Connection;
import java.sql.SQLException;
import javax.servlet.jsp.tagext.TagSupport;
* <p>JSP tag closeconnection, used to close the
* specified java.sql.Connection.<p>
* <p>JSP Tag Lib Descriptor
* <pre>
* <name>closeConnection</name>
<tagclass>com.solved.tag.dbtags.connection.CloseConnectionTag&
lt;/tagclass>
* <bodycontent>empty</bodycontent>
* <info>Close the specified connection. The "conn"
attribute is the name of a
* connection object in the page context.</info>
* <attribute>
* <name>conn</name>
* <required>true</required>
* <rtexprvalue>false</rtexprvalue>
* </attribute>
* </pre>
* @author Matt Shannon
* @see ConnectionTag
public class CloseConnectionTag extends TagSupport {
private String _connId = null;
* The "conn" attribute is the name of a
* page context object containing a
* java.sql.Connection.
* @param connectionId
* attribute name of the java.sql.Connection to
close.
* @see ConnectionTag
public void setConn(String connectionId) {
_connId = connectionId;
public int doStartTag() {
try {
Connection conn = (Connection)pageContext.getAttribute
(_connId);
conn.close();
} catch (SQLException e) {
// failing to close a connection is not fatal
e.printStackTrace();
return EVAL_BODY_INCLUDE;
public void release() {
_connId = null;
package com.solved.tag.dbtags.connection;
import javax.servlet.jsp.tagext.TagData;
import javax.servlet.jsp.tagext.TagExtraInfo;
import javax.servlet.jsp.tagext.VariableInfo;
* TagExtraInfo for the connection tag. This
* TagExtraInfo specifies that the ConnectionTag
* assigns a java.sql.Connection object to the
* "id" attribute at the end tag.
* @author Matt Shannon
* @see ConnectionTag
public class ConnectionTEI extends TagExtraInfo {
public final VariableInfo[] getVariableInfo(TagData data)
return new VariableInfo[]
new VariableInfo(
data.getAttributeString("id"),
"java.sql.Connection",
true,
VariableInfo.AT_END
data-sources.xml:
<?xml version="1.0"?>
<!DOCTYPE data-sources PUBLIC "Orion data-
sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
<data-sources>
<data-source
class="oracle.jdbc.pool.OracleConnectionCacheImpl"
name="jdbc/pool/OracleCache"
location="jdbc/pool/OracleCache"
url="jdbc:oracle:thin:@oracle1:1521:pdev"
>
<property name="maxLimit" value="15" />
<property name="cacheScheme" value="2" />
<property name="user" value="console" />
<property name="password" value="console" />
<description>
This DataSource is using an Oracle-native DataSource Class so as
to allow Oracle Specific extensions.
A getConnection() call on this DataSource will return
oracle.jdbc.driver.OracleConnection.
The connection returned is a logical connection.
The caching scheme in place is Fixed Wait. Refer below to
possible values.
Dynamic 1
Fixed Wait 2
Fixed Return Null 3
</description>
</data-source>
</data-sources>
many thanks,
Matt.Hi. Show me your pool definition.
Joe
Ramamurthy wrote:
I am using the jsp custom tag library from BEA called sqltags.tld which came with Weblogic 5.1. Currently I am using Weblogic6.1 sp2 on Solaris.
I have created a Connection Pool for Sybase database using the driver com.sybase.jdbc.SybDriver.
When I created jsp page to connect to the connection pool using sqltags custom tag library, I am getting the error
"javax.servlet.jsp.JspException: Failed to write body content
at weblogic.taglib.sql.ConnectionTag.doAfterBody(ConnectionTag.java:43)
at jsp_servlet.__hubwcdata._jspService(__sampletest.java:1014)"
After this message, whenever I try to access the same jsp page I am getting the message
"javax.servlet.jsp.JspException: Failed to load JDBC driver: weblogic.jdbc.pool.D
river
at weblogic.taglib.sql.ConnectionTag.doStartTag(ConnectionTag.java:34)
at jsp_servlet.__hubwcdata._jspService(__sampletest.java:205)".
Can you please help me the reason why this problem is happening and how to fix this ?
This problem doexn't happen consistently. This occurs once in a while.
I tried to increase Login delay Seconds parameter in the Connection Pool to 15 sec. It didn't help me much.
Thanks for your help !!!
Ram -
What is the purpose of TAG library?
I feel so hard while using Tag library in my JSP pages?Which taglibrary are you talking about? JSTL?
If so, its purpose is just to control the flow of code logic and the data output in JSP. It is less or more a replacement of scriptlets, which are been discouraged since a decade. Scriptlets are considered a bad practice. Taglibs (and EL) forces you to write clean and well-MVC-formed JSP code. The JSTL core, format and functions taglibs are extremtly useful. The JSTL sql and xml taglibs are intented for quick prototyping only, in real you should be using Java classes for this to avoid tight coupling of database/business/model/view logic. -
Best way to call EJB - Servlet or Tag Library
Hi,
What is the best way to call an EJB from a JSP? We are using Weblogic 7.0(moving to 8.1 beta). WE have a form on a JSP that needs to get data from an EJB. Our flow goes from JSP --> Controller servlet or tag library -->EJB "Bean" Controller ---> EJB. The specfic EJB we need to populate drop downs and fields will be called by a bean controller. Is it better to call the bean controller using a tag library in the jsp or go to the controller servlet to get the data? If servlet is the answer, where do I lookup the EJB Home and call the create from within the servlet? Any help would be greatly appreciated!!
Thanks!IMO, if you are following some design patterns, like the MVC framework, the best thing is to populate the model(entities that contain the business data) and call the respective getXX methods from the model on the JSP page. The reason for doing so is to keep JSP pages away from any other work other than to just display the business data contained in the respective business entities.
The model can be populated in the servlet and either set in the request or session attribute as per the requirement.
The EJB can be looked up in the servlet as and when required. I would suggest to make use of the Service Locator Pattern to do a look up for the EJB Remote Interface and accordingly make the business calls.
Hopefully this answers some of your questions. -
Customizing Business Components Error Messages sample
hi i have been following this sample and this: http://jobinesh.blogspot.de/2011/03/customizing-business-components-error.html,i have follow the instruction but its not working win my application i re-create the problem,i have check with the working sample i have done everything i can see be done in the working sample but mine still not work can somebody check what am i missing i have upload in this hostfile i used hr schema http://www.datafilehost.com/download-9d37bd8a.html. am using jdeveloper 11.1.1.6.0
i have created the two class and one of them
<Application xmlns="http://xmlns.oracle.com/adfm/application"
version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
Package="view" ClientType="Generic"
ErrorHandlerClass="view.CustomErrorHandler"
what else am i missing what have i not done,i know am mssing something but don't know what,the sample does not show step by step implementation,it just have a working solution,if somebody know step by step implementation can you pls explain to meEdited by: adf009 on 2013/03/12 12:09 PM
Edited by: adf009 on 2013/03/20 2:44 PMis not working in my application,in my application am checking primary key constraint not unique constrains like in sample is there a diffirent
this is my class,i have re-create the problem http://www.datafilehost.com/download-9c3e5f17.html
import java.util.ListResourceBundle;
public class CustomMessageBundle extends ListResourceBundle {
private static final Object[][] sMessageStrings =
new String[][] { { "UAM_ORGUSERSLINK_PK",
"Hello, The user Already Belong to this organisation" }, };
/**Return String Identifiers and corresponding Messages in a two-dimensional array.
protected Object[][] getContents() {
return sMessageStrings;
i have follow steps in the sample
am geting this log error,instead of geting my error message
<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[assist03 3099 ].
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: oracle.jbo.TooManyObjectsException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25013. Error message parameters are {0=oracle.jbo.Key[assist03 3099 ]}
at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1820)
at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:4094)
at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3676)
at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3301)
at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
at ecadastre.gov.za.uam.model.entities.UamOrganisationUserImpl.setUsername(UamOrganisationUserImpl.java:137)
at OrgDetails.onRowCreate(OrgDetails.java:2057)
at OrgDetails.addMember(OrgDetails.java:1978)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 38 morehi can anybody help me please
Edited by: adf009 on 2013/03/26 4:59 PM -
Role Of Servlet when we have Tag Library ?
Hi all,
I am little bit confuse about Servlet Role.
I have been working in a IT (dot com) compnay in India for the last one year. I have developed Program for the Projects and worked in Modules.
When I joined the company we followed MVC (Model View Controller) Architecture, and technology we had use-------- JAVA, JSP,Servlets,Java Bean,JDBC.
But now we are working on Tag Library (Custom Tags) . And our total work is shifted to Tag Library Architecture.
Now, there is no use of Servlet in our Modules and or program except for Login and Password Authentication/Verification.
So I want to know that What is the role of Servlet in the current scenario when we have Tag Library (an excellent feature, code reusablity, fast,less coding in JSP,separate design from coding,separate tag handler class for each tag).
Why do we use Servlet-JSP-Bean Architecture when we have Tag Library
Please guide me to the right direction.
Thanking You!
amitindiaIf I understand JSP model 2 architecture (MVC) role of custom tag is to support presentation layer. Construction of tag classes is coupled with data presentation also data flow in custom tags is connected with atributies, tag body etc. Also tasks such a security validation should be rather done in filters then in custom tag, becouse it depends then on puting tag in page source.
In fact each approach (if working:)) is good.
In real world real logic should be implemented in business objects layer and then need for servlets is limited to one controller servlet. And I believe servlets are best in this role. And with this approach use of TLs is in fact limited to presentation support. -
JDeveloper Business components JSP problem!!
Hi all,
First of all sorry for my English language (very poor).
My question is when I generate Business components JSP Application by JDeveloper 9i
is running on JDeveloper(oc4j) without any problems but when I using resin server or tomcat I have this exception
Error Message: �ApplicationModule� is an unknown tag in tag library �/webapp/DataTags.tld�.
com.caucho.jsp.JspParseException: �ApplicationModule� is an unknown tag in tag library �/webapp/DataTags.tld�.
at com.caucho.jsp.ParseTagManager.getTag(ParseTagManager.java:144)
at com.caucho.jsp.java.JavaJspGenerator.getTag(JavaJspGenerator.java:1508)
at com.caucho.jsp.java.JavaJspBuilder.startElement(JavaJspBuilder.java:199)
at com.caucho.jsp.JspParser.parseOpenTag(JspParser.java:1204)
at com.caucho.jsp.JspParser.parseNode(JspParser.java:469)
at com.caucho.jsp.JspParser.parseJsp(JspParser.java:320)
at com.caucho.jsp.JspParser.parse(JspParser.java:251)
at com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:335)
at com.caucho.jsp.JspManager.compile(JspManager.java:182)
at com.caucho.jsp.JspManager.createPage(JspManager.java:130)
at com.caucho.jsp.PageManager.getPage(PageManager.java:244)
at com.caucho.jsp.PageManager.getPage(PageManager.java:181)
at com.caucho.jsp.QServlet.getSubPage(QServlet.java:289)
at com.caucho.jsp.QServlet.getPage(QServlet.java:216)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:144)
at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:173)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:149)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:256)
at com.caucho.server.port.WorkerThread.run(WorkerThread.java:126)
at java.lang.Thread.run(Thread.java:536)
any ideas please!!:(
-
Install business content -Data flow before.
Hi,
How to install business (Data flow before)
for example- 0sd_c03 cube,and it's objects, transformation(update rule,transfer rule) and data source.
how to activate stranded data source?? and full data flow before (with these data source for 0sd_c03)??
Please if possible give step by step solution.
Thanks in advance,
R. Singh
Edited by: Rdg singh on Feb 2, 2012 4:40 PMWelcome to SDN !!!
Please go thru below article
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/102906a4-f13d-2e10-7199-ce316ff254b8?QuickLink=index&overridelayout=true
This will be useful as far as sd data flow is concern
http://forums.sdn.sap.com/thread.jspa?threadID=1943181
Thank-You.
Vinod
Maybe you are looking for
-
When I turn on iPad it says connect to iTunes after attempting a restore
Been having a bit of trouble with my iPad recently so thought I would do a factory reset to try and fix it. So i put it on to do the reset using iTunes and left the room, only to come back 5 minutes later and see that my iPad is showing the iTunes lo
-
I just got a new external hard drive and will be getting my macbook pro next week. I was wondering if the external hard drive could be used as both a time machine and to have extra files on it? And if so how would you do that?
-
SSRS Use a formula for a line graph y = mX + b
Hi I want to show a line on a line chart using a formula in the form y = mX + b. Can't seem to get this to work. I inputted the formula into the "Value field" of the "Data field" but the line doesn't show up. X = value for X axis (it's a date);
-
Is it possible to a photo, actually I want to use a jpeg of logo, to the signature on an account? Tried vCard, but doesn't show logo to those who receive message. thanks. armando
-
Comcast's new email - Xfinity Connect - does not work in Firefox. Comcast support wants me to uninstall & reinstall Firefox. I know others have had this problem; has anyone found a solution?