Extending class and accessing enumeration table in DataWarehouse
Hi,
I've extended my Service Request class containing a new field which is an enumeration. It works fine excepting in the Datawarehouse. I'm unable to find a table for the related enumeration similar to ServiceRequestPriorityvw or ServiceRequestStatusvw.
Please let me know how to create the corresponding table in the Datawarehouse.
Thanks
Sue.
ps. the management pack is sealed.
First, all sealed MP are default synced to the DW so if you have sealed the list it should be transfered. However if it's not you have to do some modification with outriggers and dimensions. Take a look here https://technet.microsoft.com/en-us/library/hh916535.aspx
And this post is good but it's from 2010 but should apply to SCSM 2012 http://blogs.msdn.com/b/scplat/archive/2010/03/29/a-deep-dive-on-creating-outriggers-and-dimensions-in-the-data-warehouse.aspx
Cheers,
Thomas Strömberg
System Center Specialist
Blog:
Twitter: LinkedIn:
Please remember to 'Propose as answer' if you find a reply helpful
Similar Messages
-
Loading XML using a custom class and accessing it from other classes?
I began with a class for a movie clip rollover function
FigureRollOver. It works marvellously. Three things happen:
1) it loads XML from a file "mod1_fig1.xml" and uses another
class, XMLMember, to retool the scoping of the XML so that I can
get at it
2) an onload call inside of XMLMember calls the myOnLoad
function and transfers the XML into an array.
3) so long as the array is finished building, rolling over a
movie clip attaches a new movie clip with the rollover text in it.
But I don't want all those functions in one because I need it
to be more dynamic, starting with being able to load any old xml
file instead of just "mod1_fig1.xml", plus it seems like
overbuilding to have all of that in one class, so I've separated
out the loading of the XML and building of the array into its own
class, FigureXMLLoader. FigureRollOver is then left to just attach
the rollover with text in it, extracted from the array built by the
new class.
Problem is, though the array builds inside FigureXMLLoader, I
can't figure out how to make it available outside the class. I know
that I'm constructing things in the wrong order, and that the array
needs to be somehow built inside the class function to be
available, but I can't figure out how to do that. A cruddy
work-around is to put a function call at the end of the building of
the array, which calls yet ANOTHER function on the main timeline of
my .swf to put the array I've just built into a new variable. This
works, but it's messy. It seems like I should be able to have one
line of script in the .swf that generates an array on the main
timeline (or just a public array) which I can then access from my
FigureRollOver class:
var myRollOvers:Array = new FigureXMLLoader("mod1_fig1.xml");
Here is FigureXMLLoader (see comments in the code for more
details) which obviously does not return an array as it is, because
of all the working around I've had to do. Note the "testing"
variable, which can be traced from the main timeline of the .swf,
but I will get "not what I want" because of course the array hasn't
been built yet, and never will be, inside of the declaration as it
is. How do I get it in there so I can return an array?
Thanks!Suggest you ask this question in the Actionscript forum as
this forum is
more tuned to database integration questions.
You can create arrays outside a class and pass them into it
by reference and
visa versa build arrays inside a class and pass out via
reference.
The preferred approach is to place the array in a class and
not expose it.
Then add methods to use the array or should we say to use the
class.
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"maija_g" <[email protected]> wrote in
message
news:ed4i43$9v0$[email protected]..
> Update: I've now put this on the main timeline of the
.swf:
>
> myRollOversLoaded = false;
> var myRollOvers:Array;
> var roll_content = new FigureXMLLoader("mod1_fig1.xml");
>
> And inside the "myOnLoad" function in FigureXMLLoader,
just after the
> while
> loop I've put this:
>
> _root.myRollOversLoaded = true;
> _root.myRollOvers = figure_arr;
>
> The movie clip rollover won't act until
myRollOversLoaded is true. It
> works,
> but it still seems klugey. Any suggestions for a more
elegant solution
> would be
> appreciated.
> -
Custom object classes and access rights
Hi,
I have added a few object classes to the NDS schema; objects
belonging to one of them should be able to authenticate against the
directory and retrieve some attributes. I managed the login part having
the class inherit from ndsLoginAttributes, but if I login as the object
itself, I can't retrieve any attributes. I can browse the entry (it's a
container), but all I get are DNs and objectclass attributes. Is there a
way to grant the object the right to retrieve its own attributes, or
some of them, through the Java LDAP interface?
Thanks,
Juan
jheguia
jheguia's Profile: http://forums.novell.com/member.php?userid=84575
View this thread: http://forums.novell.com/showthread.php?t=415769Hello,
I found a solution which is *almost* the right one. Basically I
deleted the class and created it again with a default ACL:
X-NDS_ACL_TEMPLATES ( '2# subtree#[Self]#[All Attributes Rights]' )
This allows the object to do as it pleases with its own attributes. I'd
prefer it to be only able to read them, but I haven't found a syntax for
ACLs. Is there anything I can read to see how to fine tune the access
rights templates?
Thanks,
Juan
jheguia
jheguia's Profile: http://forums.novell.com/member.php?userid=84575
View this thread: http://forums.novell.com/showthread.php?t=415769 -
Extending classes and overriding methods
If I have a class which extends another, and overrides some methods, if I from a third class casts the extending class as the super class and calls one of the methods which gets overrided, is it the overrided method or the method of the superclass which get executed?
Stig.Explicit cast can't enable the object to invoke super-class's method. Because dynamic binding is decided by the instance. The cast can just prevent you from using methods only defined in sub-class, but it does not let the object to use super-class's method, if the method's been overrided. Otherwise, the polymophism, which is one of the most beautiful feature of Object-Oriented thing, can't be achieved. As far as I know, the only way to use super-class's method is the super keyword in the sub-class, and seems no way for an object to do the same thing (I may wrong, since I haven't read the language spec).
here's a small test:
public class Test {
public static void main(String[] args){
A a = new B();
a.method();
((A)a).method();
class A{
public void method(){
System.out.println("A's method");
class B extends A{
public void method(){
System.out.println("B's method");
The output is:
B's method
B's method -
JSP - difference between extending class and importing class
In the following scenario
class A
private static String con;
Case 1
==========
class B extends A
Case 2
===========
import A;
class C
A objA = new A;
What will be the difference in Case 1 and Case 2 on accessing the variable con.
thanx
Venki>
If i am not wrong, the above line should be private
static variables are not inherited.
NO, AFAIK, static variables, private or otherwise arent inherited. Please note that doesnt mean, its not available in the sub-class. Infact it is. However you cannot override or hide them ie polymorphism isnt applicable to static members which is what , IMO, inheritance is all about. Its logical, when you think about it, polymorphism is applicable for objects and static is a class thinggy, has nothing to do with objects.
cheers,
ram. -
Creating and accessing a Table control using CL_TABLE_VIEW_MM
Hi everybody.,
I am new to Module Pool Programming using Abap Object Oriented Programming .I need to create a Table Control in my Screen .I debugged the standard ME21n Tracsaction and found that it used class CL_TABLE_VIEW_MM .How can i make use of this class effictively for my Custom Program .Guide me on this .
Regards.,
S.Sivakumarsolved myself
-
Create and access a table OUTSIDE SAPR3 schema
Hi Gurus,
Can you please help me how do I create a table outside SAPR3 schema in the same database, I have a user schema TEST in the sap database (Using SAPR3 4.6C). If any tcode does that? Or I need to use oracle sqlplus.
HOW an ABAP progroam can access and manipulate the data available in this TEST schema?
Reference to some SAP NOTE will be highly helpfull.
Regards,
Soumen.>
Soumen Chattopadhyay wrote:
> Dear Fiedel and Eric,
Fiedel, Who?
>
> Thank you both for your suggestion,
> me and my team are are checking up according to your idea....
>
> Actually, I do need to integrate one plant machinery equipment which has the backend database in MS SQL server and our SAP is using the backend Oracle and running on Linux.
Very good, now we are getting more information.
The data is NOT on the oracle database but outside.
In this case DBCON (from DB+CONnection) can help
>
> As per the need of business data need to be exchanged between these two.
>
> If you have may I request you to share some more information e.g. snotes on DBCO?
>
Very easy, follow my mantra (Top right box-Search functionality is very useful, also sap notes search)
Lets chew this a little:
117261 Multiconnect and DB procedure enhancements for 4.0B
323151 Several DB connections with Native SQL
738371 Creating DBCON multiconnect entries for SQL Server
178949 MSSQL: Database MultiConnect with EXEC SQL
>
> But , why DBCON is not the right choice, Fiedel can U thow some more light?
Lets see, in your first request you wanted to access to a different schema in the same database.
you have the licence issues and DBCON is "overkill" (even when it can work) You would be connecting to yourself with a different usser.
Probably it is easier to create synonyms at DB level and provide proper authorizations.
In your second request the DBCON makes much more sense.
You want to access to a different (external) DB. That is the reason DBCON exist.
Now we have a little "issue". I'm not Windows/SQL expert, but, in order to connect to an external DB you need the SAP library "dbslib" (I think dbsmsslib is the correct name for the SQL server)
Unfortunately, SQLServer is a Windows only program and this library is only available for Windows.
To use it (use DBCON) you will have to install an AS on a windows machine and configure the DBCON on this server and execute the program to exchange data from this AS alone (if you execute it from another one it will fail because it does not find the dbslib)
As mentioned, not much experience with non "real" Operating Systems, so perhaps someone else has more information. -
Extending classes and constructors
Hi,
I am extending a class like this:
public class MyTreeCellRenderer extends CheckableTreeCellRenderer
public MyTreeCellRenderer()
The super class has a constructor:
public class CheckableTreeCellRenderer extends DefaultTreeCellRenderer
public CheckableTreeCellRenderer()
checkStyle = CHECKMARK;
But I cannot instantiate my newly created class. What is the reason for this? Something wrong with the constructors?
ERROR MESSAGE:
symbol : constructor MyTreeCellRenderer ()
location: class MyTreeCellRenderer
MyTreeCellRenderer renderer = new MyTreeCellRenderer();Didn't you define the constructor of MyTreeCellRendered with some arguments?
-
Extending wifi and accessing NAS offsite
Having a couple of issues I'm trying to work around. Hope someone here can help me out. I'm not sure if this is a two part question or can be combined.
I have a garden office which I'm about to start working from. It's about 30-35m from the back of my house and wifi for some reason is barely 1 bar once it reaches the office. I've had power installed to the office recently via armored cable which is conncted to the house mains but no phone line or Ethernet. Running an Ethernet cable at this point isn't really an option and this also being London it's really wet so the damp will eat though it in no time. The router is also located at the very rear of the house and the only thing between it and the garden shed is a set of glass doors and 30m of open space.
Due to security I'd also like to keep my QNAP NAS inside the house and not with the system and be able to backup remotly without having to transport the system. So needing suggestions on connecting to it from my tower as well please.
I did recently buy an Apple Airport Extreme thinking it would be as simple as that but sadly the range was was even shorter then with my standard router. I left it connected for a week to see if it would condition itself eventually but to no avail. I simply couldn't even get a connection at all with it.
I'm in desperate need of getting it up and running and not sure where to go or start with this.The advice given was partially correct. Adding the second base station will improve the signal level, but not necessarily with any useful bandwidth. Again that is dependent on distance and or Wi-Fi interference between base stations.
To be successful in "boosting" the wireless signal you would need a transceiver or an external high gain antenna on both the current AirPort Extreme and the computer in the garden office. The other option is to use a dedicated point-to-point system. Unfortunately, these can be quite pricey.
The following are links to some transceiver/external antenna vendors:
Quickertek
BearExtender -
What is access sequence tables and how to use them in program?
hi all, I know a little about SD and access sequence tables, but I get a requriment like this:
condition type is a paramater
The condition types allowed in this report are: Note: A list of pre-defined condition types with their corresponding access sequence tables will be defined.
How can I make it? How can I use it in program to get the price?Hi,
An access sequence is a search strategy with the aid of which the SAP
System searches for valid condition records of a certain condition type.
For example, you can stipulate for a price that the SAP System first
searches for a price for a specific plant, and then for a generally
applicable price.
For condition types for which you wish to maintain conditions with their
own validity period, you must assign an access sequence. With this, you
define which fields the SAP System checks in searching for a valid
condition record.
e.g. When you create condition record (e.g. Purchasing condition record) you enter condition type, system asks you the key combination to enter the entries. These key combinations are nothing but the access sequence. On the basis of combination of condition table it will search record. e.g. when u maintain condition record with acc seq Material/plant combination, it will transfer the same record in PO when u enter same material and plant in the PO.
Example:
An access sequence has been assigned to condition type PB00 so that
prices can be maintained in purchasing info records and contracts.
No access sequence has been assigned to condition type RC00 because it
does not have a validity period of its own. In the standard system, it is
always maintained simultaneously with the price and is valid for the
period of the price.
For more help
http://www.sap-img.com/materials/steps-for-mm-pricing-procedures.htm
Regards,
Raj. -
Can not filter the data with the extended class
Hi,
I have a quick question about PortableObject format. I have created a class which extends PortableObject interface and implemented serializer methods as well. I have updated it in the pof-config.xml file as well. If I insert the objects of this type of object in the cache, they get inserted properly and I can filter the values based on the getters defined in the class. Everything works fine here.
Now, I am trying to extend the existing class that I have. We have our custom API which we have built for our domain objects. I need to store these objects in the cache. So, naturally I need to implement PortableObject interface to do that. So, instead of creating a new class with new set of getters and setters and local fields, I am extending our domain class to create a new class which implements PortableObject interface. Instead of defining the local fields and getters and setters i am reusing the ones provided by my existing class. Now, I can insert the objects of the new class to the cache. But I can not filter the values for the objects of this new class.
Let me show you what exactly I am trying to achieve by giving a small example:
Domain Class:
class Person
private String person_name;
*public String getPerson_name() {return person_name;}*
*public String setPerson_name(person_name) {this.person_name = person_name;}*
The new class implementing PortableObject interface:
class ExtPerson extends Person implements PortableObject
public static final PERSON_NAME = 0;
*public void readExternal(PofReader reader) throws IOException{*
setPerson_name(reader.readString(PERSON_NAME));
*public void writeExternal(PofWriter writer) throws IOException{*
writer.writeString(PERSON_NAME, getPerson_name());
*// And HashCode, Equals and ToString methods, all implemented using the getter from the Person class*
So, if I create a new class ExtPerson without extending the Person class and write all the methods, store the objects in the cache and perform the following query, I get the size printed
System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
But if I use the extended class and insert the values into the cache and if I use the same query to filter, I get 0 printed on the console.
System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
So, can anyone tell what exactly is causing this?
Thanks!Well, just a quick question. It seems that I can not get ContainsAnyFilter or ContainsAllFilter working.
EqualsFilter is actually working properly.
I am preparing a Set of Strings and passing it to ContainsAnyFilter or ContainsAllFilter and it is returning me 0 records.
E.g.:
Set<String> setStr = new HashSet<String>();
setStr.add("ABC");
setStr.add("DEF");
System.out.println((cache2.entrySet(new ContainsAnyFilter("getPerson_name", setStr))).size());
I get 0 in my output
If I try this:
System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","DEF"))).size());
I get 1 for each of the query.
If I club all these EqualsFilter in a Filter[] array and create an AnyFilter or AllFilter and pass it to the query, it works fine.
List<Object> lst = new ArrayList<Object>();
lst.add("ABC");
lst.add("DEF");
Filter[] filter = new Filter[lst.size()];
for(int i=0;i<lst.size();i++)
filter[i] = new EqualsFilter("getPerson_name",lst.get(i).toString());
AnyFilter fil = new AnyFilter(filter);
System.out.println((cache4.entrySet(fil)).size());
I get the desired result here, which is 2.
Am I missing something here? -
Abstract classes and methods with dollar.decimal not displaying correctly
Hi, I'm working on a homework assignment and need a little help. I have two classes, 1 abstract class, 1 extends class and 1 program file. When I run the program file, it executes properly, but the stored values are not displaying correctly. I'm trying to get them to display in the dollar format, but it's leaving off the last 0. Can someone please offer some assistance. Here's what I did.
File 1
public abstract class Customer//Using the abstract class for the customer info
private String name;//customer name
private String acctNo;//customer account number
private int branchNumber;//The bank branch number
//The constructor accepts as arguments the name, acctNo, and branchNumber
public Customer(String n, String acct, int b)
name = n;
acctNo = acct;
branchNumber = b;
//toString method
public String toString()
String str;
str = "Name: " + name + "\nAccount Number: " + acctNo + "\nBranch Number: " + branchNumber;
return str;
//Using the abstract method for the getCurrentBalance class
public abstract double getCurrentBalance();
}file 2
public class AccountTrans extends Customer //
private final double
MONTHLY_DEPOSITS = 100,
COMPANY_MATCH = 10,
MONTHLY_INTEREST = 1;
private double monthlyDeposit,
coMatch,
monthlyInt;
//The constructor accepts as arguments the name, acctNo, and branchNumber
public AccountTrans(String n, String acct, int b)
super(n, acct, b);
//The setMonthlyDeposit accepts the value for the monthly deposit amount
public void setMonthlyDeposit(double deposit)
monthlyDeposit = deposit;
//The setCompanyMatch accepts the value for the monthly company match amount
public void setCompanyMatch(double match)
coMatch = match;
//The setMonthlyInterest accepts the value for the monthly interest amount
public void setMonthlyInterest(double interest)
monthlyInt = interest;
//toString method
public String toString()
String str;
str = super.toString() +
"\nAccount Type: Hybrid Retirement" +
"\nDeposits: $" + monthlyDeposit +
"\nCompany Match: $" + coMatch +
"\nInterest: $" + monthlyInt;
return str;
//Using the getter method for the customer.java fields
public double getCurrentBalance()
double currentBalance;
currentBalance = (monthlyDeposit + coMatch + monthlyInt) * (2);
return currentBalance;
}File 3
public static void main(String[] args)
//Creates the AccountTrans object
AccountTrans acctTrans = new AccountTrans("Jane Smith", "A123ZW", 435);
//Created to store the values for the MonthlyDeposit,
//CompanyMatch, MonthlyInterest
acctTrans.setMonthlyDeposit(100);
acctTrans.setCompanyMatch(10);
acctTrans.setMonthlyInterest(5);
DecimalFormat dollar = new DecimalFormat("#,##0.00");
//This will display the customer's data
System.out.println(acctTrans);
//This will display the current balance times 2 since the current
//month is February.
System.out.println("Your current balance is $"
+ dollar.format(acctTrans.getCurrentBalance()));
}Get a hair cut!
h1. The Ubiquitous Newbie Tips
* DON'T SHOUT!!!
* Homework dumps will be flamed mercilessly. [Feelin' lucky, punk? Well, do ya'?|http://www.youtube.com/watch?v=1-0BVT4cqGY]
* Have a quick scan through the [Forum FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ].
h5. Ask a good question
* Don't forget to actually ask a question. No, The subject line doesn't count.
* Don't even talk to me until you've:
(a) [googled it|http://www.google.com.au/] and
(b) had a squizzy at the [Java Cheat Sheet|http://mindprod.com/jgloss/jcheat.html] and
(c) looked it up in [Sun's Java Tutorials|http://java.sun.com/docs/books/tutorial/] and
(d) read the relevant section of the [API Docs|http://java.sun.com/javase/6/docs/api/index-files/index-1.html] and maybe even
(e) referred to the JLS for "advanced" questions.
* [Good questions|http://www.catb.org/~esr/faqs/smart-questions.html#intro] get better Answers. It's a fact. Trust me on this one.
- Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
- FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
- Often you discover your own mistake whilst forming a "Good question".
- Often you discover that you where trying to answer "[the wrong question|http://blog.aisleten.com/2008/11/20/youre-asking-the-wrong-question/]".
- Many of the regulars on these forums will bend over backwards to help with a "Good question",
especially to a nuggetty problem, because they're interested in the answer.
* Improve your chances of getting laid tonight by writing an SSCCE
- For you normal people, That's a: Short Self-Contained Compilable (Correct) Example.
- Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
- Often you discover your own mistake whilst writing an SSCCE.
- Often you solve your own problem whilst preparing the SSCCE.
- Solving your own problem yields a sense of accomplishment, which makes you smarter ;-)
h5. Formatting Matters
* Post your code between a pair of {code} tags
- That is: {code} ... your code goes here ... {code}
- This makes your code easier to read by preserving whitespace and highlighting java syntax.
- Copy&paste your source code directly from your editor. The forum editor basically sucks.
- The forums tabwidth is 8, as per [the java coding conventions|http://java.sun.com/docs/codeconv/].
- Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
- Indentation is essential to following program code.
- Long lines (say > 132 chars) should be wrapped.
* Post your error messages between a pair of {code} tags:
- That is: {code} ... errors here ... {code}
- OR: [pre]{noformat} ... errors here ... {noformat}[/pre]
- To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
System.out.println("Your momma!); // <<<< ERROR 1
- Note that error messages are rendered basically useless if the code has been
modified AT ALL since the error message was produced.
- Here's [How to read a stacktrace|http://www.0xcafefeed.com/2004/06/of-thread-dumps-and-stack-traces/].
* The forum editor has a "Preview" pane. Use it.
- If you're new around here you'll probably find the "Rich Text" view is easier to use.
- WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
- To see how a posted "special effect" is done, click reply then click the quote button.
If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
h1. The pledge!
We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game. -
Exception in extended class does not raise
I have extended a seeded class and raised an exception in the extended class.
Exception is raised if i modify seeded class. If i extend the class and then raise the exception it is not working.
Any pointers.Is the code reaching the extended class and is the exception condition being met ??
Thanks
Tapash -
Extending a nested class and parent access
I want the child of the abstract inner class to have access to the inner classes parent's variables. I know that an inner class can access it's parent's variables and methods with the "[ParentClass].this.[var/method]" syntax. What's the appropriate syntax for the situation I'm describing?
My setup is like this:
class Canister {
int a = 0;
public abstract class Behavior
class Lonely Behavior extends Behavior
public int getParentVariable() {
return Canister.this.a;
}Thanks!
-stephenThe correction to my code is:
class Canister
int a = 0;
public abstract class Behavior
class LonelyBehavior extends Canister.Behavior
public int getParentVariable() {
return Canister.this.a;
}The compiler doesn't have a problem with me extending Canister.Behavior because it's public inside of Canister. But as I explained, the "[ParentClass].this.[var/method]" syntax doesn't work.
This is inconsistent with inheritance: you'd think that if you extend an inner class, you would inherit the abilities and characteristics of that inner class, just as you would in other cases of inheritance. It's also inconvenient: if the inner class is abstract because you want programmers to extend and upgrade it, those programmers have to change the source code of the enclosing class to include the new classes.
Anyway, thanks for the info. -
Adf bc jar for base entity classes and extending them existing project
Hi,
I am using jdev 11.1.1.0 and have created a base workspace/project and adf jar for my base entity classes.
1. I can consume this base adf bc jar in a separate new consuming workspace and create VO based on base bc classes or create new EOs that extend base bc entity classes.
2. Furthermore, for an existing consuming project that earlier included src/ of base entity (BC components), i can remove the dependency on bc source and bring in this new adf jar and everything including the view controller and the service/datacontrol works fine.
The issue i am running into is as follows.
- In the existing project (#2) above i try to create a couple of entities based on entities in my base jar; associations are automatically brought in. Note i am not overriding any attributes. My intent here is to generate .java and implement some code.
- I then try to make my existing VOs based on the newly extended entity (VO overview->Entity Objects-> Shuttle NewEntity from Available to Selected)
- I then try to remove the old EO from selected under VO overview->Entity Objects->Shuttle OldEntity from Selected back
- I get a warning dialog box that says something to the effect that some viewlinks are dependent on these old EOs in this consuming project.
- I tried to laboriously analyzed dependencies and it this dialog box does not make any sense as I have already extended EOs and the tooling should be able to let me use these
My questions
- Why I am not able to remove old entities from VO dependencies
- Is it ok to leave the old EOs in "Selected" along with the newly extended EO ? What are the implications for this?
- I also thought about extending base associations, but did not go anywhere.
In general, I am ok with consuming an ADF BC jar that has entities etc. but not clear about removing dependencies of base EOs on VOs when entities are extended and consumed in a pre-existing project that used base entities.
I can send a project if any PM is willing to take a look at it.
Thanks,
ps:
I have already gone over the following info
http://technology.amis.nl/blog/215/organization-of-bc4j-domain-eo-and-business-vo-package
.. wants to create an enterprise data model in BC4J, reflecting the Enterprise Data Model set up in the RDBMS. All (or at least most) business rules will be implemented in the Middle Tier – to take the load of the database and also allow developers not comfortable with PL/SQL to define and maintain the business rules. It is clear that this means that all applications that need to access – and manipulate – the database, need to go through the BC4J foundation layer. Martijn wants to define the Entity Objects – and their business rules – only once and share that definition between different projects. Each projects can create its own ViewObjects on top of these shared Enterprise Entity Objects.
http://radio-weblogs.com/0118231/2005/09/29.html
I am currently working on a project for a partner where we will be using ADF BC as our model layer for a large application. In order to keep the footprint of each application module down to a reasonable size, we are intending to create a number of separate 'root' application modules for each functional area of the application. Within, these 'root' application modules we will then use nested application modules to further partition the application. All of the application modules will be accessing the same datasource and will need access to the same database objects.
In order to separate our code between the development team and into function areas, our initial thoughts were that we would create an ADF BC model project containing Entity Objects for all of the database tables e.t.c. as these are common amongst all functional areas. We have configured all of the EOs for validation rules, defaulting values and extending doDML() as appropriate. Happy at this stage we then created a simple .jar file to deploy all of the definitions. Upon creating a new ADF BC project for each functional area we added the jar file as a library import into the new project. However when we the tried to create some new View Objects via the JDev Wizard we were unable to see the imported Entity Objects.
Is the only way to share Entity Object definitions between different ADF BC projects to manually copy the source definition files into the new projects src directory? Since this would mean multiple copies of the same components, it could prove to be a maintenance nightmare.Is there a way of doing it without creating multiple copies of the same object definitions?
The developer is spot on in their ideas of layering and reuse, and even has created a library for their reusable entities. This last step is not something everyone thinks to do. The missing step is known as "importing" components, so with that one extra bit of knowledge under his belt, he should be able to do exactly what he envisions. My little article called Difference Between Adding and Importing Business Components tries to explain the difference and gives the menu options to choose to perform the importing.
Difference between adding and importing BC4J
http://radio-weblogs.com/0118231/stories/2005/08/11/differenceBetweenAddingAndImportingBusinessComponents.html
Working with Libraries of Reusable Business Components
http://download.oracle.com/docs/cd/B32110_01/web.1013/b25947/bcadvgen.htm#CHEFECGDHi,
since you followed the OC4J developer guide I think this question might be better handled there as well
OC4J
So in case you don't get an answer here on the forum, try it on the OC4J forum
Frank
Maybe you are looking for
-
I am having a problem deploying Crystal Reports to a test server. The site is an ASP.NET 4.0 site developed with Crystal version 13.0.1.220 engine for .NET. The site is deployed on Windows Server 2008 R2 64 bit using IIS 7 and Plesk. I've had multipl
-
Removing movie clip in a frame
Hello, I have a timeline with 12 frames, in frame 7 I added a movie clip to the stage: var pContainer:MovieClip = new MovieClip; addChild(pContainer); var myLoader1:Loader = new Loader(); pContainer.addChild(myLoader1); var myRequest1:URLRequest = n
-
Can you link directly to a flv or does a flv have to be embedded on an html page?
-
I have 25 PDF files (Client000001.pdf to Client000025.pdf) and every file contain the keyword "- End of Statement - " there. However, when I used FindText availabe in AcroExch.PDDoc SDK. Some files, I can find the text but some file I can't. Is it a
-
Although I've owned 10.3 for a while, I just started using it full time. However, I have some documents that require me to use OS 9. Here is the problem: When in Classic, the "click" of the mouse doesn't work on the Classic application or Classic men