Using portlets in one enterpriseapplication as sharedlibraries in other EAR
Hi All,
i have one enterprise application consists of web project containing portlets .Now i want to reuse those portlets in another different enterprise application. I went through the concept of shared libraries but didnt work for me(may be i did wrong). Can anyone help me in regarding this step by step.Please reply me soon as this urgent one.
Thanks
ch
another option would be dbms_xmlgen.getxml:
create table master (
table_name varchar2(30)
, column_name varchar2(30)
insert into master (table_name, column_name) values ('EMP', 'EMPNO');
insert into master (table_name, column_name) values ('EMP', 'DEPTNO');
insert into master (table_name, column_name) values ('EMP', 'COMM');
select dba_tab_cols.owner
, dba_tab_cols.table_name
, dba_tab_cols.column_name
, to_number(
extractvalue(
xmltype(
dbms_xmlgen.getxml('select count(*) c from '
|| dba_tab_cols. owner
|| '.'
|| dba_tab_cols.table_name
|| ' where '
|| dba_tab_cols.column_name
|| ' is null')
,'/ROWSET/ROW/C')) num_nulls
from dba_tab_cols
join master
on ( dba_tab_cols.table_name = master.table_name
and dba_tab_cols.column_name = master.column_name )
where dba_tab_cols.owner = 'SCOTT'
OWNER TABLE_NAME COLUMN_NAME NUM_NULLS
SCOTT EMP EMPNO 0
SCOTT EMP DEPTNO 0
SCOTT EMP COMM 10
Similar Messages
-
our granddaughter has a ipod. She's getting a iphone and a mini idpad. what is the best way to set them up. Does she need a new apple id and password or would she use the same one she has for her ipod
Just use the same one on all devices.
-
How do I add multiple portlets to one provider?
Hello,
I'm using JDeveloper 10g. Created an Application Workspace which holds several projects (java/jsp porlets). I would like all of these portlets to be under one provider rather than registering a provider for each project. Do I choose one project and add information to the provider.xml file for my other portlets? If anyone could help, it would be appreciated...
TIA[Matthew: think I understand. Is it safe to use a provider for each portlet? If I had a hundred portlets would it effect system hardware requirements with multitude of providers running? Now I'm trying to determine if I should combine each project or if I should leave them seperate. Thanks again...]
Matthew - Would be good if you could hit "reply" to the last concerned post. I had some trouble trying to find whether you had posted any more questions ;-)
here's my response to your last post:
There is definitely a performance hit when you have just one portlet under one provider. First - You will have to undergo 100 provider registrations and I'm sure that can drive anybody crazy ;-)
Secondly, for each provider, there is a ProviderDefinition object created in memory. In your case, there would be 100 such objects created at any point in time (assuming 100 are in use). had you classified portlets under say 10 such providers, you will definitely save memory. For each instance of the provider registration, you have one ProviderInstance object created. So even if all these 100 providers are registered once on Portal A, you will have 100 instances of this object. When registered on portal B, 100 more will be created. This will be sufficiently less if you had just 10 top level providers.
As a best practice, you might want to group related portlets under one provider e.g. If you are having a bunch of SAP, Oracle, PeopleSoft portlets, you could create three top level providers and just add those portlets accordingly. Just an example though. the classification is totaly based on what binds two portlets together and is something that will have to be decided by you.
Just my 0.02$
Regards,
Abhinav -
How can I use more than one Data Provider in my web Apps
I am trying to use two different data provider in my web apps to run two different queries from the same table ,the data provider A is working correctly but when I attempt to run data provider B ,It display an error page ,here is the error message : Exception Details :javax.servlet.ServletEx ception
java.lang.RuntimeException: java.sql.SQLException : Cannot connect .Both dataSourceName and url properties are null.Hi,
You can use more than one data provider in your application. However if you have defined a dataprovider for a particular table already, and wish to bind a component, select the component and use its context menu to Bind to Data... -
We have 4 iphones and an Ipad in our family. When we purchase music, I would like for the entire family to be able to use it and then back it up to Icloud. What is the best and cheapest way for this to happen. Should we all have a different apple id or should we use the same one.
You will all need to be on the same itunes account ID.
You can however all have seperate icloud accounts aswel. -
Can I use more than one Apple ID on one device
I have seen some answers to this type of question before but not that since the ios 6 so will ask again. My household shares an Apple ID and it has worked great as we have added devices and purchased apps. My problem now is this, we have hit a point where I have work things on my iPad and iPhone that I really don't need to be shared with the whole family but it isn't a major deal or security risk. I don't want to give up the advantages of having the household ID. Is there an easy way to have another ID on my iPad and switch between them without having major complications? I am for the most part a techie so not afraid of these kind of things but I can't afford to lose everything right now and take the time to set it all back up so getting advice here. Thanks in advance for any help you can give.
You can use more than one apple id, but keep in mind that when apps need updating that you'll will need to sign in with correct credentials to update them.
Share an apple id for the itunes and app stores, but keep your own for icloud, facetime and messages.
Managing and Sharing multiple id's with your family
http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/ -
Hi. I am using a time capsule for few PC s. I have made 5 different account to access time capsule. but in windows when I enter account name and password for one account, i cannot access other accounts, because windows saves username. how can i prevent this from happenning. I really need to access all my accounts and dont want it to save automaticlly.
Why have 5 accounts if you need to access all of them.. just have one account?
Sorry I cannot follow why you would even use the PC to control the Time Capsule. Apple have not kept the Windows version of the utility up to date.. so they keep making it harder and harder to run windows with apple routers. -
I am trying to develop a query in MS Access 2010 to join two tables using three joins, one of which is a (between) date range. The tables are contained in Access. The reason
the tables are contained in access because they are imported from different ODBC warehouses and the data is formatted for uniformity. I believe this cannot be developed using MS Visual Query Designer. I think writing a query in SQL would be suiting this project.
ABCPART links to XYZPART. ABCSERIAL links to XYZSERIAL. ABCDATE links to (between) XYZDATE1 and ZYZDATE2.
[ABCTABLE]
ABCORDER
ABCPART
ABCSERIAL
ABCDATE
[ZYXTABLE]
XYZORDER
XYZPART
XYZSERIAL
XYZDATE1
XYZDATE2Thank you for the looking at the post. The actual table names are rather ambiguous. I renamed them so it would make more sense. I will explain more and give the actual names. What I do not have is the actual data in the table. That is something I don't have
on this computer. There are no "Null" fields in either of the tables.
This table has many orders (MSORDER) that need to match one order (GLORDER) in GLORDR. This is based on MSPART joined to GLPART, MSSERIAL joined to GLSERIAL, and MSOPNDATE joined if it falls between GLSTARTDATE and GLENDDATE.
[MSORDR]
MSORDER
MSPART
MSSERIAL
MSOPNDATE
11111111
4444444
55555
2/4/2015
22222222
6666666
11111
1/6/2015
33333333
6666666
11111
3/5/2015
This table has one order for every part number and every serial number.
[GLORDR]
GLORDER
GLPART
GLSERIAL
GLSTARTDATE
GLENDDATE
ABC11111
444444
55555
1/2/2015
4/4/2015
ABC22222
666666
11111
1/5/2015
4/10/2015
AAA11111
555555
22222
3/2/2015
4/10/2015
Post Query table
GLORDER
MSORDER
GLSTARTDATE
GLENDDATE
MSOPNDATE
ABC11111
11111111
1/2/2015
4/4/2015
2/4/2015
ABC22222
22222222
1/5/2015
4/10/2015
1/6/2015
ABC22222
33333333
1/5/2015
4/10/2015
3/5/2015
This is the SQL minus the between date join.
SELECT GLORDR.GLORDER, MSORDR.MSORDER, GLORDR.GLSTARTDATE, GLORDR.GLENDDATE, MSORDR.MSOPNDATE
FROM GLORDR INNER JOIN MSORDR ON (GLORDR.GLSERIAL = MSORDR.MSSERIAL) AND (GLORDR.GLPART = MSORDR.MSPART); -
From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?
Hi,
Use NVL or COALESCE:
NVL (col_a, col_b)
Returns col_a if col_a is not NULL; otherwise, it returns col_b.
Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
I used to share one apple ID/account with my ex but made a new one for myself recently and logged out of the old one but when I try to update my iBooks (only happens with this app)it asks for the other account's password(which my ex changed by now). I don't understand why this happens when I'm logged into my account and it only happens with that app. Please help, I need to update. :/
Content (apps, music, ibooks, films etc) is tied to the account that originally downloaded it, so if the iBooks app was downloaded using the account that you used to share with your ex then only that account can download updates to it. As it's a free app you could delete it and re-download it under your own account - and then re-download your ibooks into it (or copy the books to your computer's iTunes first via File > Transfer Purchases and then sync them back to the app).
-
I have forgotten icloud account password linked to my ipad. I am unable to reset the password as well as delete this account from my ipad, and use a new one.
None of us here, nor Apple, can help you.
-
SAP Crystal Reports data source connection problem using sap business one
Hi,
I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
I am trying to create a Crystal report but when I try to configure a new connection it does not work.
I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
Our Current SAP related software details are as follows:
OS: Windows Server 2008
SAP B1 Version: SAP B1 9 (902001) Patch 9
SAP Crystal Report Version: 14.0.4.738 RTM
Database: MS SQL Server 2008 R2
I have also added some screenshots of the issues.
Please have a look and let me know if you have any questions or any further clarifications.
I m eagerly waiting for a quick and positive reply.Hi,
There is problem with SAP Business One date source.
I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
So, try to use OLEDB.
Regards,
Amrut Sabnis. -
I have 2 itunes accounts. I can no longer use my first one for purchases so I had to start a new one and it will not sync from my new one without deleting everything on my same ipod from my previous account. How do I sync between both accounts?
Wayland wrote:
The CS.com service account has long been closed. I cannot get it to respond to my years ago password for that account. So I ask them to send me a new password and of course it goes to my years ago email number.
Don't have it send email.
Answer the security questions. -
i have two users with different music on each itunes and i can only use one library, how do i use both for one iTouch?
Chris, I believe this link may have the information you're looking for. Welcome to discussions!
http://docs.info.apple.com/article.html?artnum=300432 -
HOW DO I USE MORE THEN ONE ITUNES WITH MY IPHONE WITHOUT ERASING MY MUSIC?
I have two different laptops with iTunes on it. I use both of them but my iPhone only works with one iTunes. I plug it into the computer and it says that my iPhone cannot use more then one iTunes. Is there a way I can use both or no?
YES I AM CLICKING MANUELLY ADD SONGS TO MY iPhone.
I just bought my iPhone about a week or so ago.
Please help ASAP.I clone my library to a portable drive using SyncToy 2.1, a free tool from MS. I run this both at home & work so that I essentially have three identical copies of my library for backup redundacy, any of which I can use to update my iPods and my iPhone. I use iTunes Folder Watch occasionaly in case I've managed to download, for example, a podcast at one location but overwrite the library with a newer copy updated at the other. It can be done but you need to take considerable care...
tt2
Maybe you are looking for
-
i bought a new iphone and as i was setting my apple ID account and i signed in to my account and confirmed two useres with diffrent numbers that were signed to the same apple ID and it messed up my i messege and face time. how do i fix that or delete
-
Hang in initializing database in RedHat Linux 7.0
I could successfully install oracle 8.1.6 in RedHat Linux7.0. Although it installed oracle software it hang when creating a database ( Actually in initializing the Database )It doesn't give any error message.
-
Insert data file name into table from sql loader
Hi All, I have a requirement to insert the data file name dynamically into table using sql loader. Example: sqlldr userid=username/passwword@host_string control=test_ctl.ctl data=test_data.dat test_ctl.ctl LOAD DATA FILED TERMINATED BY ',' INTO TABLE
-
Missing web page composer in portal installation
Hello to all, how can I find out, if the web page composer is installed in our actual portal enviroment? I visited the basic course SAPEP and worked with the web page composer, but in our admin area there is no access. I am not a basic guy, that is m
-
MBST BDC and Ztable filed to be update
Hi Guys, In BDC Call transaction for MBST reversal postings After the BDC Success posting the indicator field from Ztable should update to blank and I need to print the error records and success records as well. I am sending the steps that I am do