URGENT Different ways of creating portals (Daniel & subbu Have a look and answer)

Hi all,
     My primary aim is to run an existing application in a portal server.
My application is running in weblogic6.1. I need to provide a link to that application
from a portlet.
I was going thro' the newsgroups and I found out the following responses for my
requirement,
I am not clear with these answers.
1) I need to know what is an IFRAME and some more steps to execute the answer
given by
Daniel selman.
2) Can I convert an URL into portlet?
     This URL content should be shown as it, without has to write any code from the
side of developer.
Plz give me some detailed steps to execute this.
If you guyz can give me some good reference document probably a cook book sort
of thing, then I will feel more comfortable.
Thanx in advance,
Prasanna
Different ways of creating portlets
Answered By Daniel selman.
You can also use an IFRAME inside a Portlet to "include" an external URL within
a Portlet page.
I have attached an example of doing this (content.jsp for the portlet uses an
IFRAME to include www.google.com).
Can I convert an URL into portlet?
Answered By Subbu Allamaraju <subbuATBeaDOTCom>
This URL content should be shown as it, without has to write any code from the
side of developer. The example provided in portal installation needs demonstrates
this feature to some extent. But the developer is supposed to extract HTML content
he/she wants to see and put it in the JSP.
If the URL is pointing to a page in the same web app, it is straight forward
to make it a portlet.
I have few JSPs running in a machine that is remote to the portal node, and which
is accessible through a proxy from portal. Can I convert these applications into
portlets?
Answered By Subbu Allamaraju <subbuATBeaDOTCom>
The easiest approach is make those remote apps available as web services. Please
look at the portal wizard that can create portlets to talk to web services. The
same wizard will also help convering remote
URLs to portlets.
I have a full fledged webapplication running on weblogic server. But for some
additional features (commercial services) I need to used portal server. How do
i modify the existing site for the desired
change?
Answered By Subbu Allamaraju <subbuATBeaDOTCom>
This will involve some amount of redesign since you're converint a regular web
site into a portal (the domain/portal wizards will help you do this). You'll then
need to create a new portal app, and convert those web apps into portlets, and
add these portlets to the new portal app.

Prasanna,
It is impossible to answer this question is a general way, it all depends on
what the other web application is doing. If it is just returning static HTML
then a home-grown solution (scrape taglib / IFRAME) and some URL rewriting
will suffice. If the remote application requires authentication, uses SSL,
cookies, Javascript, displays pop-ups etc. then things can get complicated
extremely quickly. At that point you probably need to use a 3rd-party web
scraping engine (Kapow for example. Peter Laird posted a list of many
others.)
There are network throughput, single sign-on, and performance issues to
consider. Obviously the most performant solution entails converting your
exisitng WLS application into a Portal application, by refactoring its JSPs,
deploying its EJBs etc. Alternatively making remote calls into your business
objects (EJBs) or deploying WebServices to extract the DATA from the remote
application independent of the presentation may be an option for well
architected applications.
So, sorry, I'm afraid it is very hard to generalize these things into much
more than a list of issues that you should consider as you work through the
possible solutions.
FYI: IFRAME is supported by IE 5+ and Netscape 6.x:
http://www.webreview.com/browsers/browser_implementation.shtml
Sincerely,
Daniel Selman
"Prasanna" <[email protected]> wrote in message
news:[email protected]...
>
Hi all,
My primary aim is to run an existing application in a portal server.
My application is running in weblogic6.1. I need to provide a link tothat application
from a portlet.
I was going thro' the newsgroups and I found out the following responsesfor my
requirement,
I am not clear with these answers.
1) I need to know what is an IFRAME and some more steps to execute theanswer
given by
Daniel selman.
2) Can I convert an URL into portlet?
This URL content should be shown as it, without has to write any code fromthe
side of developer.
Plz give me some detailed steps to execute this.
If you guyz can give me some good reference document probably a cook booksort
of thing, then I will feel more comfortable.
Thanx in advance,
Prasanna
Different ways of creating portlets
Answered By Daniel selman.
You can also use an IFRAME inside a Portlet to "include" an external URLwithin
a Portlet page.
I have attached an example of doing this (content.jsp for the portlet usesan
IFRAME to include www.google.com).
Can I convert an URL into portlet?
Answered By Subbu Allamaraju <subbuATBeaDOTCom>
This URL content should be shown as it, without has to write any code fromthe
side of developer. The example provided in portal installation needsdemonstrates
this feature to some extent. But the developer is supposed to extract HTMLcontent
he/she wants to see and put it in the JSP.
If the URL is pointing to a page in the same web app, it isstraight forward
to make it a portlet.
I have few JSPs running in a machine that is remote to the portal node,and which
is accessible through a proxy from portal. Can I convert theseapplications into
portlets?
Answered By Subbu Allamaraju <subbuATBeaDOTCom>
The easiest approach is make those remote apps available as web services.Please
look at the portal wizard that can create portlets to talk to webservices. The
same wizard will also help converingremote
URLs to portlets.
I have a full fledged webapplication running on weblogic server. But forsome
additional features (commercial services) I need to used portal server.How do
i modify the existing site for thedesired
change?
Answered By Subbu Allamaraju <subbuATBeaDOTCom>
This will involve some amount of redesign since you're converint a regularweb
site into a portal (the domain/portal wizards will help you do this).You'll then
need to create a new portal app, and convert those web apps into portlets,and
add these portlets to the new portal app.

Similar Messages

  • Different ways in Creating BP

    Hi,
      Can somebody brief me the different ways for Creating BP in cProjects?
    If i create a BP in SAP R/3 which BP role do i need to use for creating an external resource as Business Partner?
    With path for creation will be appriciated
    Rgds
    Sudhir Reddy

    Hi,
    We had this scenario where we had a separate ERP system and a standalone CRPXRPM system. The replication was done via ALE.
    The report RHALEINI (T-Code - PFAL) was used to move the HR Master data to the cProjects sytem.
    The BPs are created with 'Employee' role. Not very sure, but I think its BUP0003. However, you need to maintain these BPs in the 'Resource' role if you want to maintain their cost/revenue rates.
    We used the field 'BP Type' to differentiate external employees.
    Let me know if you found this helpful.
    Regards,
    Vivek

  • Is there a way to create a drop down menu with an automatic answer dependent on what is chosen?

    Is there a way to create a drop down menu with an automatic answer dependent on what is chosen? An if-then statement perhaps?  I am looking to add over 100 drop down options and would like to have a message automatically pop up depending one which option they chose.  Thank you.

    Hi,
    You would use the skip logic to conditionally show form items based on the selection within the drop-down menu. Here's a link to a description of the feature in our help documentation:
    http://help.adobe.com/en_US/formscentral/using/WSd789abd336388b1642c7fce012da94afe4f-8000. html#WS0faeceb8c23f5d60-774f03e3131ddc76d7d-8000
    Regards,
    Brian

  • How to get Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information I want to create a Paid Books Account use apple ID

    I was given this address from the Apple customer support team.
    I have an active existing iTunes store account and use the same Apple ID for signing into my iTunes Connect Account that distributes Apps.
    I have created some books using the iBook author and in order to distribute content on the iBookstore I have been told electronically that I need a new Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information valid until 2013?
    I want to create a Paid Books Account using the same email address, tax information and bank information. This has been most frustrating, as I cannot get passed the sign in section and there is no contact person I can speak to. I was of the understanding the iTunes connect account and the Developer programs which I paid good money for is all what I needed to be paid for selling iBooks on the iBookstore???
    I only have one email address and wish to also use it for the Paid Books Account. I have books ready to be exported and published.
    I am also having trouble locating and downloading iTunes Producer. I understand I need to have the Paid Books Account active to access the iTunes Producer program. Please help.
    See additional information below:
    What device did you use to connect to the store?  Mac computer
    Which operating system is installed?  Mac OS X v10.7.x
    What version of iTunes is installed on your computer?  iTunes 10.6
    Choose the iTunes Store or App Store for your country:  Other
    Please select your country:  Australia

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • Is there some way to create a mirror image backup of iPhone and iPad ?

    Is there some way to create a mirror image backup of iPhone and iPad ? At this time our company has over 250 devices that are constantly being upgraded and passed down the line. it would speed things up considerably if there was a way to mirror the old device and then restore it on the new Phone or iPad. I don't care about any of the other features in iTunes, i just need something to speed up the process without having to walk them thru reintering their passwords, redownloadeing all the apps that didn't transfer ect.

    You would need to tell each user to make sure they backup their devices either thru itunes or icloud.
    With a company like yours, you should suggest backing up to icloud.
    IOS backup http://support.apple.com/kb/HT1766  then when the user gets a new phone, you or they can just restore from their icloud.
    The only hard part would be if the user has music (non purchased from itunes) which they would need to sync to itunes to get back on their phone.
    there is no easy process for this.  I'm in the same boat as you but way fewer people to deal with.

  • I am using Iphoto 11 ver 9.4.3 on mac using oxs 10.8.5 i want to export calendar projects to an external hard drive. what is the easiest way to do this? i have tried export and import but it didn't seem to work.

    I am using Iphoto 11 ver 9.4.3 on mac using oxs 10.8.5 i want to export calendar projects to an external hard drive. my goal is to store them in an external hard drive so it doesn't use up memory on the mac hard drive. is it possible to copy the specific projects without copying the entire library? what is the easiest way to do this? i have tried export and import but it didn't seem to work.

    What do you not understand?
    You can duplicate the iPhoto library (command - D ) and delete everything except the project and its photos from the copy and move that
    Or
    However the calendar takes very little space - it is simpy database entries - it is the photos in the calendar that take space - and for most people you would wnat to keep those photos in your library
    you can use a photo in 50 calendars and it still is only one photo in your library - as I explained calenders do not exist as such - they are simply database entries telling iPhotop how to display the calendar - they take almost no space at all
    LN

  • Different ways to create content in dreamweaver

    So Its been a while since I used Dreamweaver, and from what I remember, there was a way for me to "draw" a box on a page, and then I could put text , images or anything else I needed on the page. It probably wasn't the most professional way to create a page, but it worked for me. Now that I have CS5.5, I can't seem to figure out how I did that.
    The reason why I did it this way was because I knew where everything was going to be once I published the page. It was almost like creating content in a DTP, you drew a box and either put text or images....anyway, if anyone knows what I'm refering to, and I can still do this in 5.5, please let me know.....
    Thanks in advance for your help!
    Chaz

    APDiv Layers are gone and for good reason.  They lulled inexperienced users into a false sense of power & security that everything was lining up correctly for all users, displays and browsers.  Actually  this was the worst possible way to design for the web. You can read why below.
    http://www.apptools.com/examples/pagelayout101.php
    Fast forward to today where everyone uses different sized devices: mobile, tablets, desktops, and APDivs won't work.   
    Best advice, use the CSS starter pages.  Go to File > New > Blank page> HTML and pick a layout from the 3rd panel.  Hit Create button.   Add your own text, images and backgrounds.  Much better than APDiv Layers.
    Nancy O.

  • Different ways to create an object

    Hi All,
    I am a new bie to java programming. I know the way to create an object for a class will be something like
    A b = new A(); // A is the class name and b is the object name.
    But i am not sure what the following code means, I know it is also creating an object but how and why in that manner.
    CaptureSearchForm userBean = (CaptureSearchForm) form;
    A b = (A) c;
    If b is the object name, then what is c here?Can anyone please explain me in detail.
    Also,
    java.util.List pageList = new ArrayList();
    Why should we give in the above manner? what does it mean?
    Thanks in advance....,,,,

    auto wrote:
    But i am not sure what the following code means, I know it is also creating an object but how and why in that manner.
    CaptureSearchForm userBean = (CaptureSearchForm) form;This does not create an object. It takes the value in the reference variable foram and copies it into the refernce variable userBean, so that userBean and form both point to the same object. The (CaptureSearchForm) is called a cast. It tells the compiler that even though form may not be declared to be of type CaptureSearchForm or a subclass, you the programmer know that the object it points to will be a CaptureSearchForm or a subclass, and to treat it as such. If at runtime this is not the case, you'll get a ClassCastException.
    A b = (A) c;
    If b is the object name, then what is c here?Can anyone please explain me in detail. b is not the object name. Objects do not have names. b and c are both variable names.
    Also,
    java.util.List pageList = new ArrayList();
    Why should we give in the above manner? what does it mean?It's known as programming to the interface. On the LHS, you're saying that pageList must point to an object that implements List. You don't cae if it's an ArrayList or LinkedList or something else. It's a way to decouple your code from the specific implementations of the types it uses.

  • How to create Portal/OID groups from AD OUs and keep them sync'd?

    We are currently doing a simple one-to-one import sync mapping from Active Directory to OID for use by Portal.
    In AD there are 40+ OUs with CN=username records, that we would like to have mapped to 40+ Portal groups with CN=username records as unique group members. We want to manage Portal privileges at the Portal group level rather than for each of 3,000+ individual users.
    Each OU has it's own AD admin, so there is no way of knowing at what sub-level in the OU, an AD admin might create a CN=username record.
    I had thought to manually create 40 new Portal groups, since the OUs seldom change. Now, I need to know how to create/map each of the OU=xxx, CN=username values as a unique member of the correct Portal group. During the sync, if an AD CN=username is added/modified/deleted from an existing OU=xxx, that same add/modify/delete needs to happen in the appropriate Portal group.
    If somebody could assist me in "making it so", I would appreciate your time and help.
    --Don                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    If you are already running the AD->OID synchronization, where do your OU's end up? It all depends on the mapping profile you (should have) set up.
    Not sure where Portal stores the OID stuff, but you sjould be able to change the profile in such a way it ends up in the correct tree

  • Is there a way to create a shared net conn. between Airport and Ethenet?

    Is there a way to create a shared internet connection between one airport computer and another via ethernet?
    I have one computer (lets call this computer 'A') connected to the net via Airport which connects to a router, which is directly connected to my ADSL line.
    However, my other computer (computer 'B') is not located within range of this wireless router.
    Is there a way for me to send my internet connection via computer A to computer B, via an Ethernet cable or Airport connection or otherwise?
    ADSL---Wireless Router---(Airport)---Computer A---(Ethernet)---Computer B

    Is there a way for me to send my internet connection via computer A to computer B, via an Ethernet cable or Airport connection or otherwise?
    Yes, it's called Internet Sharing, and here's how to set it up...
    To setup for Internet Sharing (Wireless to Wired):
    Enable Software Firewall (Computer A)
    System Preferences > Sharing > Firewall
    o Click Stop to start the software firewall
    Setup the Network
    ADSL Modem > (Ethernet cable) > (Ethernet port) Wireless Internet Router > (wireless) > (AirPort Card) Computer A (Ethernet port) > (Ethernet cable) > (Ethernet port) Computer B
    Setup Port Order (Computer A)
    System Preferences > Network > Show > Network Port Configurations
    o Verify that "AirPort" and "Built-In Ethernet" are enabled.
    o Verify that "AirPort" is at the top of the list, followed by "Built-In Ethernet."
    o Click "Apply Now."
    Configure the Internet Connection (Computer A)
    System Preferences > Network > Show > AirPort > TCP/IP
    o Configure IPv4: Using DHCP
    o Configure IPv6: Automatically or Off
    Enable Internet Sharing (Computer A)
    System Preferences > Sharing > Internet
    o Share your connection from: AirPort
    o To computers using: Built-In Ethernet (checked) (Note: Uncheck all other entries in the list.)
    o Click Start

  • I have two videos and I would like to use parts of both videos with one audio track what is the best way to edit this?, I have two videos and I would like to use parts of both videos with one audio track what is the best way to edit this?

    In Final Cut Express I have two videos I'd like to merge parts of each video into a final film.  What is the best way to do this in FCE?

    Hi
    I use a slightly different way than Alchroma.
    Same
    • One video on track 1 and the other on Video.track 2
    • Resize to 25% and move one to the left and the other to the right
    Diff
    • I don't use the blade tool
    • I use the Pen tool and change the transparency - then I get fast or slow transitions in same stroke and easy to fine-tune later if needed. (But this can be done with the Roll-tool if Blade is used - so it might be as easy)
    Final
    • Resize to 100% and Center
    Video is done
    Audio - very close to this by changing the level so that best audio will dominate
    • Pen tool here too
    But that's me - the Alchroma way is as good as this or may be better for some
    Yours Bengt W

  • Creating an messagebox in forms with look and feel of Windows

    I wanted to create an message box in my form with look and feel of windows.For this i used the package ORA.FFI...but i am getting an error....and i am not bale to clear it...the code is as follows
    Package Specification: -
    PACKAGE messagebox IS
    /*Function message_box calls windows MessageBox function. */
    FUNCTION message_box(plptext IN VARCHAR2,plpcaption IN VARCHAR2)
    RETURN PLS_INTEGER;
    END;
    Package body : -
    PACKAGE BODY messagebox IS
    lh_window ORA_FFI.LIBHANDLETYPE;
    fh_mb ORA_FFI.FUNCHANDLETYPE;
    lh_forms ora_ffi.libHandleType;
    /* Function i_mbx acts as the interface to the Messagebox
    function in windows
    FUNCTION i_mbx(funchandle IN ORA_FFI.FUNCHANDLETYPE,
    plptext IN OUT VARCHAR2,
    plpcaption IN OUT VARCHAR2)
    RETURN PLS_INTEGER;
    PRAGMA interface(C,i_mbx,11265);
    FUNCTION message_box(plptext IN VARCHAR2,
    plpcaption IN VARCHAR2)
    RETURN PLS_INTEGER IS
    ltext VARCHAR2(500) := plptext;
    lcaption VARCHAR2(500) := plpcaption;
    BEGIN
    RETURN(i_mbx(fh_mb,ltext,lcaption));
    END;
    BEGIN
    lh_window := ORA_FFI.LOAD_LIBRARY('d:\','DclMsgBox.dll');
    fh_mb := ORA_FFI.REGISTER_FUNCTION(lh_window,'DclMsgBox',ORA_FFI.C_STD);
    ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_CHAR_PTR);
    ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_CHAR_PTR);
    --ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_INT);
    END;
    Now when i call this function in When-New-Form-Instance as
    declare
    p number;
    begin
    p:=messagebox.message_box('hello','test');
    end;
    I had created an dll for message box and placed the .dll and .lib files in the d:\ of my system.
    I get an error message when i run the app. The error is:
    The instruction at "0x005a3b24" referenced memory at "0x00000006".The memory could not be "read".
    Can anybody please tell me where have i gone wrong....

    Colin Martin wrote:
    I agree the leather look is horrible. It's just not a reflection of the cutting edge modern design we have all got to love over the years. If it has to be there at least give us a choice of looks.
    There is a word for this (not that one) - skeuomorph. Wikipedia defines this as 'a derivative object that retains ornamental design cues to a structure that was necessary in the original. Skeuomorphs may be deliberately employed to make the new look comfortably old and familiar'.
    Common examples are found in audio software with pictures of actual knobs that you turn, as here; and the leather-bound tear-off look of calendar and contacts on the iPad is the same principle: the intention is to make it familiar and friendly to people who might otherwise be frightened off by a modern look because they are not used to modern technology. The whole concept and look of the iOS operating system is being brought into use on Macs for the same reason, to encourage non-tech-savvy people not to be frightened of them.
    This is all very well in its way, but in these two particular cases the result is unfortunate, particularly for experienced users, and it really ought to be possible to choose between the looks (as you can with the Mail layouts), even if the skeuomorph is the default.

  • A different way to create a new object?

    Hi all!
    I have an array of type Object were I'm inserting different data types (String,Integer and so on..) now I want to go over this array and I want to create
    a new object that is not(!) a clone of the object in a given position but is the same type (the downcasted type)
    I want to implement it in a single command but not in series of if (.. instance of ..)
    The new value should be inserted into an array of Object too so I assume it will implicitly downcast it automatically.
    how can I do that? I hope you understand the problem..
    thanks
    omer
    Edited by: omerkap on Dec 29, 2009 8:27 AM

    omerkap wrote:
    what do you want?!To engage in a reasonable discussion. How about you?
    I came here to ask a very specific question about a way to implement something.Many folks do. And they often ask how to implement their solution in a way that is impractical or inefficient. Sometimes, they attempt to incorporate better ideas when given suggestions for better implementations. Sometimes, they just throw miniature temper tantrums.
    You purposed another way? ok, thanks, but I need to know how to do it in the original way I asked.Well, no. You said what you wanted to do. Now that it's a need, my advice is different.
    I proposed an idea for a simple solution to accomplish the general requirements you originally mentioned. If you have design restrictions that mandate you write code in a certain way or to fulfill a particular design, then you should comply with those restrictions. Personally, I like to guide folks toward a useful design. If you don't want to be guided that way, that's certainly your prerogative.
    As it stands now, it sounds like you have an assignment. And I suspect that assignment isn't intended to test your ability to copy a solution someone gave you on an internet forum. It sounds like the assignment requires the use of a lengthy if chain. I recommend you comply with your requirements.
    As an aside, you could use a Map<String, InstructionBuilder>(), but you'd be getting into some serious class bloat for what I presume is a relatively small, simple app. You could also probably hack up something with reflection, but that's probably out-of-bounds with your requirements as well.
    You don't want to answer? Don't know where you got that idea. I post here only when I want to.
    ~

  • Different ways to create a blog entry

    I'm using iWeb '08. I have set up several blog pages and want to allow people to update them outside of iWeb. Is there a way to accomplish this?

    No. iWeb is required to make new entries (but not for comments of course).

  • Any ideas on a good way to create a digital album for photos, videos and text info?

    I would like to create on my iMac an electronic album that has pages that allow me to place text, a thumbnail that would activate a video, and some text to explain the contents?  I have looked at a variety of  multimedia software like Powerpoint and am testing Googles Picaca but so far none look to do the job.

    True that no two monitors ever match ... that's why engineers claim that NTSC really stands for Never Twice the Same Color. But the point of NOT using a consumer set for critical monitoring is that almost all consumer sets are designed to "correct" the incoming image somewhat (depending on model). So what you're seeing isn't necessarily what you really have in FCP.
    On the other hand, a properly calibrated and aligned pro monitor doesn't add or take away from the image so what you see on the screen is going to be pretty darn accurate.
    The same applies with audio monitors. Don't use consumer speakers that "color" the sound. Use reference monitors that are design to output the real sound as it was intended.
    Once all the color grading and audio tweaking is done, then feel free to view on any consumer set that you want. Or view both at the same time while editing. That's why I use the Samsung 36" LCD.
    if you are a male you have some color blindness. All males do, that's why the colorists at the BBC are all female.
    Now that I know that, I finally understand why women know so many different color shades while most guys only know the typical Crayola 12.
    -DH

Maybe you are looking for

  • How to catch SSO userid and store it in deployment database?

    Hi, Environment: OID,Portal,forms,reports 9.0.2.3 How do I do if I have a SSO user, lets say DAVE, and he has a resource pointing to a Deployment database un/pw@ORAC? When he has made his SSO login and choose a form I want store his real userid in th

  • Reinstall Server and restore mail

    Our 10.4.9 server won't boot. It's been determined that there is something wrong when the boot drive mounts for read/write - it kernel panics. I have been able to mount the server drive on another mac via target disk mode and copy the entire hard dri

  • Alv_list 2 headers problem

    Hi All, I have created an ALV_List with 2 headers (columns sub columns). e.g     Months                 |           year jan     feb     march    |     2012     2013 10      30     40          |      bc       ab 10      30     40          |      ad  

  • 2012 R2 NIC Teaming and netwroking

    I have a 4 port NIC, all connected to the same network using DHCP, when I team two cards, they no longer have an IP address. Is that by design? Where can I find more information about the virtual networking how to? TIA

  • About The Repository Design Approach

    Hi All, I am working for a project on OBIEE in which this tool is used for Ad Hoc Reporting. I need to create a repository that should be generic one means i need to create a repository that i need to handover to the client. This repository should be