3-Tier model of linking DB

Dear all,
I have some questions about linking DB. As you know, I directly copy the data into the local DB. It is not a good choice! So I would like to implement 3-tier model to access DB so that it much more efficient choice as we can access DB anywhere.
Thus, I have look into it. The method sounds like this:
1. Get the data from Applet and copy them to Serializable Object or XML file and pass it to a JSP Server (Client).
2. The JSP Server listen the request and obtain the Serializable Object or XML file so the data can be retrieved. Then call the Bean and pass these parameters to it (Middle-Tier).
3. The Bean receive the request and access the DB (Server).
Do I interpret the wrong idea? Actually I don't too understand too much about this model. Moreover, I don't know how to send the Serializable Object or XML file to JSP Server so the JSP script can do the task.
Hope that you may give me some idea and suggestion for that! Thanks a lot!
Best regards,
Peter Ip

Sounds like your on the right track. Keep in mind that the reason serializable objects are used is to keep client pages decoupled from the middle tier, along with providing a clean and consitant way of passing data to the middle tier.
"I don't know how to send the Serializable Object or XML file to JSP Server so the JSP script can do the task."
Here's how I do this. Client pages send form data to a servlet (via HTML action=""). The servlets job is to parse/approve the data, and create a ValueObject (VO) represeneting the data in a db table like format. The VO is object is Serializable, and moreover, it has no functionality, just variables with getter/setter methods. Its only purpose is to transport data between teirs. This concept is important, as it keeps your client(s) pages loosly coupled, and alows reuse.
So, client sends in data, servlet parses data and creates a VO, then the servlet invokes the middle teir by sending in the VO. At that point, the middle tier does its thing from the VO. The middle tier does not have to worry about parsing or validating the data, and it's client independent, as the middle tier should be (e.g. no http request usage, session usage, etc.)
For more information, look into the Data Access patterns and/or visit the J2EE paterns form. You'll find information about Data Access Object (DAOs) and ValueObjects (VOs
Hope this helps without adding confusion. Let me know if I, or anyone, can elaborate on the concepts.
bRi

Similar Messages

  • 2 tier model or 3 tier model

    Which one is better for BC4J JClient application ? using 2 tier model or 3 tier model ?
    Thx,
    Ricky H.P.

    Ricky,
    it depends on your business case
    If you need to share business logic with other web applications or if the client PC is not as powerfuly as it should be, then using a three tier architecture is what I would recommend.
    If you are free to choose with dependecies then a two tier architecture is what I would prefer. However, if you need your application client to be able to run offline /stand alone) against a local database, then two tier is what you should do.
    My personal preference is to position JClient in a two tier architecture running on Java Web Start.
    Frank

  • Three-tier model howto

    Hi... i�m newbie in Java.
    I am supossed to create an application using three-tier model, i have made it using two-tier model.
    Can anybody give me a hand with the code,
    I need an example to start i can not fiugre this out.
    The application needs to interact with a database.
    I�ve heard that in the three-tier model you do not have to make the whole statement in one method, instead you have to create some utilitary classes in which each method returns data corresponding to a part of the query. How true is this?
    Please i need some examples!
    i am desperate.

    To get you started have a look at the RMI and JDBC API's. These are basicly all you need for a 3 tier client server archtecture. There are plenty of resources/examples at www.java.sun.com.

  • Modelling BPEL link

    Hello,
    I have some questions concerning the BPEL link construct within a flow:
    I looked at the example project "Link" in the samples directory of Oracle BPEL Process Manager. The link that is used in this example is visible in the source code of the BPEL process but not in the diagram view.
    Is there a graphical representation of links in JDeveloper BPEL Designer (I am using JDeveloper Version 10.1.2.0.0)?
    Is it possible to model a link between two activities graphically or do I have to edit the BPEL source code?
    Thanks, Ingo

    I'd like to add a question:
    It seems, that links in BPEL work in the engine, but are not visualized in the designer. Will this feature come with the next BPEL release?
    It is a must have feature for us, because not seeing the link dependencies visually is a great loss of information...

  • Custom Data Model Document/Link MDM

    Hi Expert,
    We implement MDM in this year.
    we want create custom data model. Is any SAP document/link for custom data model and load data to custom data model?
    Need your response.
    Thanks and Regards

    Hello,
    To create Data Model, you can refer to MDM Console Guide, to download http://service.sap.com/installmdm71.
    To load data from an SAP System we have IDoc, and ABAP Proxies, for this we require an Middleware tech, SAP PI is recommended as it come with pre-delivered object that can be used.
    If you need more clarity, do post your query
    Regards,
    Abhishek

  • Difference between MVC and 3-Tier model?

    What is the difference between a Model View Controller design and a 3-tier design? I have read that the 3 tiers are independant, but that is also the case in the MVC design so are the two kind of designs not rather similar??

    When I think of the 3-Tier system, doesn't necessarily mean hardware, but a separation of laters of logic, which may or may not be physically independent.
    The 3 tiers are presentation, domain logic, and data source. When mapping these three layers to Model View Controller, the layers are not 1:1.
    Presentation maps pretty close to the View, but Model encompases both the Data Source and the most of the Domain Logic. It includes how you get the data and what you do with it. The Controller is that part of the domain logic that determines a request-response control (progression from one view to the next, calling the model logic necessary along the way).

  • Implementation of a 3 tier model architecture

    Hi,
    I've just gotten a project to complete where users at 20 customer sites need to gain access to a database in our company and download/upload lots of tables/data from a web page (thru a firewall etc)
    The way I initally intended to go was using an applet,RMI and JDBC in a 3 tier approach (mainly cos I've seen this approach used before)
    Is this the best approach to take. What other alternatives could I use??
    Could I use a more simple CGI type approach??
    I am pretty new to java so appologies if this question sounds stupid
    Willie

    One alternative is HTML/Servlet/JDBC.

  • Power Pivot Data Model with Linked Table

    Can anyone provide me with some suggestions as to how to accomplish the following in Power Pivot?
    I have the following Pivot Table fields. I'm trying to create a data model to allow me to filter all of the projects by the selected Fiscal Year. The Fiscal Year table is a dimension I created to group the data by.
    I'm considering separating Projects into multiple tables such that 1 table is for Year1 information, another table is for Year2 information (includes Year2FiscalYear, Year2BudgetCAP, etc.).
    I think what I need to do is create a measure to allow me to filter the records by fiscal year. Anyone have any ideas?
    Thanks,
    Roland

    Hi Greg,
    The data is coming from Project Online (OData feed) and SharePoint lists (all within Project Online). I'm creating an Excel Report.
    The reason I can't use Power Query is because refreshing a report that is built using Power Query is not supported via browser. Power BI is needed to do this. On the other hand if I build an excel report using Power Pivot only, the browser refresh functionality
    works.
    The Year1FiscalYear, Year2FiscalYear, etc. are all enterprise custom fields in Project Online. Therefore I have some control in being able to change the format of the data. I'm looking into what are some options on my side to configure Project Online or
    SharePoint lists to make building the model simpler...
    Thanks,
    Roland

  • The Commissionaire Model (aka the 3-tier  Model)

    Hi Guys !
    Commissionaire model is commonly followed by companies in Europe to get tax advantage.  In this model there is one company code(the Principal) which owns all inventory and records all sales and revenues whereas the Commissionaire company codes in different European countries face the customer and act on behalf of the Principal.  The customer only sees and deals with the Commissionaire(the principal is invisible to the customer).  At the end of the month, the Principal company code pays out a commission to the commissionaire company codes based on the sales made in their country.
    If anybody has worked with this model, I would like to talk to you ! I'm looking for the R/3 org structure in such a model and the logistic and financial document flow.
    I'm also looking for some reference SAP customers who have implemented this model.
    You can call me at 610-653-6627.  It is urgent !!
    Thanks for your help in advance
    Mohammed Jamaluddin
    COE Financials
    Active Global Support
    NSQ.

    Hi Mohammed
    We have such a scenario and below are some guidelines
    - use of plants aborad functionality
    - one face to customer functionality
    - single point of invoice model
    These are the functionalities to be used and you need to have many sales order types for this
    Thanks
    Ashok
    Assign points for useful answer

  • Server farm design under 3 tier design

    Hi guys,
    Just wondering which is best practise?
    connect server farm into distribution switches or connect directly to core switches?
    Understand from different articles stated different methology but from what i see in cisco network design, server farm is always connected to the distribution switches.
    What other factors to consider when connecting to distribution and when to consider when connecting to core ?
    Thanks

    Disclaimer
    The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.
    Liability Disclaimer
    In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.
    Posting
    Jon, very nice reply.  Thanks for joining this thread.
    This makes sense because what real value would a dedicated core provide. If traffic is routing between vlans it does this on the distro switches and the only time it routes anywhere else is to the WAN and you do not high speed core switches to do this.
    Yep, in in my cited example, the 4th 6509 uses its 6708's for two off-site 10g links.
    I have also done the same as Joseph and connected servers to a collapsed pair of distro/core switches primarily because of cost but also because your core/distro switches tend to have the greater throughput so it is a logical place to put them.. In addition because they are on the core/distro switches you do not have to worry about oversubscribing uplinks from a different pair of switches, although there might still be oversubscription on the core/distro switches.
    Re: cost, again, yep, why buy another box?
    Re: greater throughput, also again, yep, for example, note I noted 4th box is all CEF720, i.e. all fabric, vs. classic bus in user 6509s.
    Re: oversubscription, and again, yep, 4th 6509's server 6748 cards are 40 Gbps to fabric, vs. gig or even 10g uplinks from a separate server switch.
    Jon, one reason I enjoyed, so much, reading you've done similar for similar reasons, late last year the business unit came to me and told me they want a separate dual core to increase reliability (as call centers are considered critical).  I noted that, yes, adding a second "core" box, by adding a redundant chassis (vs. the single chassis with redundant everything else) would decrease the MTBF by about 2 hours a year for the off-site links (expensively, IMO, for those 2 hours, but as they are footing the bill, who am I to say no), but I didn't see any advantage for adding another (2nd) "core" box (vs. continuing using the existing box as a collapsed core).  Well I got overruled because you just can't share a "core" device for anything else .
    Unfortunately, a case of, I think, some reading some design guides, which say "core" devices do X, and so therefore, you can never do otherwise.  Again, so very much enjoyed reading someone else not following the 3 tier model, always, literally.

  • MVC model in Web systems and applications

    MVC model in Web systems and applications
    Object-oriented design model is experience, MVC idea is a user interface for the original. This article discusses how the major application areas in the new Web design patterns and the use of MVC framework. The article first introduced the concept of design patterns and characteristics, and MVC architecture design concepts and analysis of the MVC framework contains several key models. Based on the characteristics of Web applications on how to use patterns and MVC framework made some design ideas.??
    1. Introduction
    1.1 design model
    Object-oriented technology and the emergence of software applications has greatly enhanced the trusted and software quality. Object-oriented programming than previous models to various programming simple and efficient, but the object-oriented design methodology than the previous design methods to complex and much more skill, a good design should be both on the issue of gender, but also to take full account of the problems and needs sufficient interoperability. In the past 10 years, people in the object-oriented technology and the practical application of research to explore certain issues in relation to the creation of a number of good solutions, the so-called object-oriented design patterns. Object-oriented technology is one of the purposes of enhancing the software trusted, and to design model, design programmes in important positions from a deeper sense of meaning and essence embodies trusted. There are many people in the design model definition, which cited Christopher Alexander is the largest design model definition : Each design model is a tripartite rule, which expresses a contextual environment (Context), a problem and a solution. Design models generally following basic elements : model name, the purpose solution effect 1995-1998 code and related design models. There are several classifications design patterns can be divided into a model based on the purpose (Creational), structural type (Structural) and the type of behaviour (Behavioral) three. It is mainly used in the creation of a model-based object model-based structure to deal primarily with the category or combination of objects, used to describe behavior-based model is the main target for the category or how stress and how to allocate responsibilities. Design patterns can be divided into categories based on the scope and target mode model type model dealing with the relationship between the categories and sub-categories, these relations through the establishment of succession in Translation moment to be finalized, are static. Model is targeted at addressing the relationship between the moment of change these relations in the operation, more dynamic. Model features : through the experience acquired in a structured format to write down, avoid encountering the same problems on the first design, exist in different abstract level, in continuous improvement, can be trusted artificial product for the design and best practice in the world to be combined to address larger issues.
    1.2 MVC framework
    MVC was first used in a user interface Smalltalk-80 China. M representative models Model, representatives maps View V, C representatives controller Controller. MVC trusted code with the aim of increasing the rate of data reduction expressed, the data describing the operation and application coupled degrees. Also makes software Keweihuxing, restorative, expansionary, flexibility and packaging of greatly enhanced. Single-user applications are usually incident-driven user interface to the organizational structure. Staff development tool with an interface painting of a user interface interface code based on user input and then prepare to implement the corresponding moves, many interactive development environment encouraged to do so, because it emphasizes first and then a functional interface. Some software design model is the strategy that will be fixed before the code into the regular system of the final. Result is that the procedures and organizations around the user interface elements in the user interface elements of those moves, data storage, applications and functions of the code is used to indicate the way intertwined. In single-user system code structure can be so, because the system will not demand frequent changes. But for a large system such as large Web systems, or e-commerce systems to be applied. Model by incorporating data from a variety of access and control data can be separated to improve distributed system design. MVC design pattern is composed of three parts. Model is the application object, no user interface. Type in the screen showing that it represents the flow of data users. Controller user interface definition response to user input, the users responsible for the action against the Model into operation. Model View data updated to reflect the adoption of data changes.
    2. MVC design pattern,
    An MVC framework for the design of the system includes many models, but with MVC is most closely related to the following three models : Observer, Cambridge and Strategy.
    2.1 Observer models
    MVC through the use of purchase / notification form and the separation of the Model View. View to ensure that their content accurately reflected Model and state. Once Model content changes, there must be a mechanism to allow notification to the relevant Model View, View can be made relevant at the appropriate time updating of data. This design is also more general problems can be solved, the target separation, making a change to the target audience affect others, which targets those who do not know the details of the object being affected. This is described as Observer in the design model. Model type : Observer model is the object-oriented model, it is behaviour-based model. Model purposes : definition of hierarchical dependence relations between objects, or when a target value of the state change, all its dependent relationship with the object are notified and automatically updated. There are a variety of data may show a way, in different ways and may also show. When a way through a changed data, then the other should be able to show immediately that the data change and do accordingly.
    Effect :
    1. Abstract coupling. I only know that it has a target audience of some observers, the observers met each abstract Observer category simple interface, does not know their specific affiliation categories. This makes the coupling between goals and observers smallest and abstract.
    2. Support radio communications. Needless to notify designated observers goals, how to deal with the observer informed decisions.
    3. Possible accidents updated. We update logic, avoiding mistakes updated.
    2.2 Faculty model
    MVC is an important feature of View can nest. Nest can be used for any type of combination of local maps available, but also management of type nest. This thinking reflects the type and mix of components will be equal treatment design. This object-oriented design ideas in the area of Cambridge has been described as a design model. Model types : Cambridge model is the object-oriented model, it is also the structure type model. Model purpose : to target portfolio into tree structures to express "part-whole" level structure. Prepared for the use and combination of individual target audiences with the use of consistency.
    Effect :
    1. Definition of a target portfolio includes simple objects and the structure of the category level. Simple objects may be complex combinations of objects, and can be targeted portfolio mix. This customer-code used in the target areas can use simple combinations target.
    2. Simplify customer-code. Needless to know their customers - a mix of target audiences is a simple target or can use these items in a consistent manner.
    3. Easier to add new types of components. New components can easily be changed to a combination of customer-targeted codes.
    2.3 Strategy model
    Another important characteristic is the MVC can not change the View of changes View response to user input. This often requires a change in response to the logic of the system is very important. MVC to respond to the logic involved in the Controller. Controller of a category level structure could easily change to the original Controller appropriate, a new Controller. View Controller son used to achieve a specific example of such a response strategy. To achieve different response strategy, as long as examples of the use of different types of replacement will Controller. Also in the running time by changing the View Controller for users to change View of response strategies. This View-Controller relationship was described as an example of Strategy design pattern. Model types : Strategy model is the object-oriented model, it is behaviour-based model. Model purposes : definition of a series of algorithms, and their packaging, and ensure that they can replace each other, making algorithms can independently use its customer-change.
    Effect :
    1. Strategy category levels for Context definition of the relevant algorithms can be trusted or behaviour.
    2. Alternative methods of succession. If the direct successor Context, with different acts will be added Context act, the realization of which would algorithm mixed up with Context, Context hard to preserve and expand, but can not dynamically changing algorithms. Will be enclosed in a separate Strategy category algorithms to enable algorithm independent Context change easily cut over expansion.
    3. Can provide the same acts different date.
    4. Strategy-must understand what customers between different.
    5. Context and Strategy communications between costs.
    6. An increase in the number of targets.
    3. MVC in Web application system
    Now some of the distributed systems such as Web-based B2B e-commerce system, suitable for use MVC framework. Through analysis from the perspective of high-level applications can be a target divided into three categories. Category is shown for the target audience consists of a group of commercial rules and data, there is a category that is receiving requests to control commercial target to complete the request. These applications often need to change is shown, such as web style, color, but also need to demonstrate the contents of the display. And the business rules and data to be relatively stable. Therefore, said that the frequent need to change the View objects that the business rules and data model to be relatively stable target, and that the control of the Controller is the most stable. When the system is usually issued after the View objects by artists, designers or HTML/JSP system managers to manage. Controller target applications development personnel from the development and implementation of rules for commercial and business development personnel from the target data, database managers and experts in the field of common completed. Show in Web?? or customers - control logic can be Servlet or JSP, dynamically generated Html. Generally used Servlet better than using JSP. JSP will be better with the Html code of separate codes for page designers and developers of separation efficiency. Servlet and JSP can complete all complete functions, actually JSP eventually converted into a Servlet. And control of the target system exists in every level, the coordination of cross-layer moves. Contain business rules and data objects exist in the EJB layer (EJB-centred model) or Web?? (Web-centred model).
    3.1 View in the Web application system
    View of the system shows that it fully exist in Web??. General by JSP, Java Bean and Custom Tag. JSP can generate dynamic web content using Java Custom Tag easier Bean, but it can show the logic of packaging, and more conducive to modular trusted. Some well-designed in a number of JSP Custom Tag can even be used in different system duplication. Model for control of JSP and Java Bean objects. JSP through Java Bean objects to retrieve the data model, the Model and Controller object is responsible for updating the data on Java Bean. In general, can we devise all possible screen that users can see all the elements of the system. Based on these elements, to identify the public part of passive components and dynamics. Can consider the use of templates means to separate the content generated JSP public, also need to change their generation Html or JSP from a JSP templates to dynamically introduce these different parts (include methods). Another issue to consider is screen option, when dealing with End users request template automatically available to show that the concern that users must know what is the screen components. So can consider all screens on the definition of a centralized document, such as a document or text document java. Taking into account the possibility of changes in future document definition screens, the best use of text documents such as a XML document, so future changes to the recompilation. According to the URL and user input parameters to shine upon the results of a screen, of course, likely to be made on the basis of the outcome of the implementation of actions to choose different results screen. Therefore, the need for a request for matching resources with document (XML), if a URL request several different results, it must specify in the document need to control the flow (a controller object), as well as the corresponding screen different flows.
    3.2 Model in the Web application system
    Model objects represent business rules and business data exist in EJB layer and Web??. In J2EE norms, the system needs some data stored in the database, such as user account information (account model), the company's data (company model), some not recorded in the database. If a user browsing the current catalogue (catalog model), the contents of his shopping (shopping cart model). Which one of these models exist in the data according to their life cycle and scope to decide. In Web?? a HttpSession and ServletContext and Java Bean objects to store data in the EJB layer is a data storage and logic EJB to. Web?? the Java Bean objects stored in the model layer model of the EJB object data copy. Because there are many different EJB tier model targets, so Web?? through a ModelManager to control the EJB layer object model in ModelManger background model can be used for packaging methods. In the EJB layer and the rules have all the data into EJB model is inappropriate. If the database can visit the Dao object model into objects. Dao can be encapsulated and the specific details of the database in the world, if we can write a different table, a number of databases, or even multiple databases. If the orders can be a model for OrderDAO, it may have to deal with Order table, table and OrderItemLines OrderStatus table. Value can also consider the use of targets. Value can be a target of securing long-range targets, because every time the remote object attributes could be a long-range redeployment process will consume network resources. EJB objects in the distance can be used instead target. In the distance, one-time items to be targeted instead of the value of all attributes.
    3.3 Controller in Web application system
    Coordination with the Model View Controller object to the request of users into the system to identify incidents. In Web?? generally a MainServlet (or Main.jsp), and receiving all requests, it can use screen flow management devices (ScreenFlowManger) decided next screen. There is a general request processors RequestProcessor contains all requests are needed to be done to deal with logic, such as the request translated into system events (RequestToEvent). Acting processors usually also includes a request for ClientControlWebImpl, it is logical to deal with the EJB layer in Web?? Acting. In EJB layer, a layer for EJB tier Web ClientController provide the CD visit. Another StateMachine used to create and delete ejb handle Web?? sent to the incident. Controller Another important function is synchronous View and Model data. ModelManger contained in a ModelUpdateManger, it puts events into a Model System assembly that all the needs of synchronous Model, and then notify Listeners do synchronous operation.
    4. Concluding remarks
    In recent years, with the Internet technology development and the emergence of new business models, the Web is based on a large number of applications. On how to design these systems architecture, and gradually there has been some convergence of opinion, the most important point is that its structure should be rational in the open. Demand than ever faster development of technology and design concepts, systems for the future, the cost of upgrading the smallest, research software systems architecture still very useful and necessary.

    Bravo. And your point is?

  • Column link

    I am trying to get a hyperlink in my tableview, tried all possible ways to get a link. As suggested in forums i tried in setting the column data as link in Bean noting happens, when i try it in jsp page it gives error. am I missing any jar files. 
    Bean :
    public void TestTableViewModel(IPortalComponentRequest componentRequest){
              Vector column = new Vector();
              column.addElement("Link");
              Vector data = this.getData(componentRequest);
              model = new DefaultTableViewModel(data, column);
                 model.getColumn("Link").setType(TableColumnType.LINK);
         private Vector getData(IPortalComponentRequest componentRequest)
              Vector retVector = new Vector();
              Vector data = new Vector();
              data.addElement("click here");
              retVector.add(data);
              return retVector;
    JSP :
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.tst.img.ISBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
         <hbj:tableView
         id="myTableView1"
         model="myBean.model"
         design="ALTERNATING"
         headerVisible="true"
         footerVisible="false"
         fillUpEmptyRows="true"
         navigationMode="BYLINE"
         selectionMode="NONE"
         headerText="test"
         onNavigate="myOnNavigate"
         visibleFirstRow="1"
         visibleRowCount="2"
         width="700px">
         <%
              myTableView1.setColumnType(TableColumnType.LINK,1);
    %>
    </hbj:tableView>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    with Jsp i get compilation error
    Error in executing a process for compilation, C:/usr/sap/EP6D/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/IMAGESHOW/work/pagelet/_sapportalsjsp_TabImgShow.java:141: cannot resolve symbol symbol : variable TableColumnType location: class pagelet._sapportalsjsp_TabImgShow myTableView1.setColumnType(TableColumnType.LINK,1); ^ 1 error .
    Exception id: 12:01_20/08/05_0065
    See the details for the exception ID in the log file

    You could do what i suggested in my earlier post.
    https://forums.sdn.sap.com/thread.jspa?threadID=58649&messageID=621982#621982
    All you have to do is when you build your data vector, put the complete html text.
    private Vector getData(IPortalComponentRequest componentRequest)
                Vector retVector = new Vector();
                Vector data = new Vector();
                data.addElement("<a href=http://www.cnn.com>CNN</a>");
                retVector.add(data);
                return retVector;
    The way you are doing will also work but the table columns which has link actually links to another column which contains the link. Your code should look like following.
    public void TestTableViewModel(IPortalComponentRequest componentRequest){
    Vector column = new Vector();
    column.addElement("Link");
    column.addElement("ActualLink");
    Vector data = this.getData(componentRequest);
    model = new DefaultTableViewModel(data, column);
    model.getColumn("Link").setType(TableColumnType.LINK);
    model.getColumn("Link").setLinkColumnKey("ActualLink");
    private Vector getData(IPortalComponentRequest componentRequest)
    Vector retVector = new Vector();
    Vector data = new Vector();
    data.addElement("click here");
    data.addElement("http://www.cnn.com");
    retVector.add(data);
    return retVector;
    I don't think you need to do 
    <%
    myTableView1.setColumnType(TableColumnType.LINK,1);
    %>
    in your JSP but if you
    Make sure your add following import statement in your JSP.
    <%@ page import="com.sapportals.htmlb.enum.TableColumnType" %>
    Message was edited by: Prakash  Singh

  • Data objects in the alert modeler.

    Hi,
    in the default alert modeler profile, there are some data objects.
    Can we add more data objects to this profile..
    As in ... i want to display the campaign information of the business partner in the alert..
    also .. i want to display the last interaction record data like ... date.. description of the interaction record ..
    How can i achieve this.
    Regards
    Vandana Gupta

    hi vandana
    i suppose that u cant add new data object to ur alert modeler,because alert modeler is linked to the meta model and these meta models includes the set of data object which u can use while using a default profile but what u can do is assign new function event as data objects are linked with the events ,that way u can easily incubate ur new data object which u want to use with the alert modeler profile and assign that profile to the IC profile,
    for creating new function events u have to do some coding which is very easy ,if u don know u may ask the same in ur time who knows that.
    guess it will help
    best regards
    ashish

  • Eight-Class Model QoS for voice and video

    One of the QoS recomendation in the SRND "Enterprise QoS" is to create a Eight-Class QoS Model utilizing a seperate priority queue for voice and video.
    It says that even though you have only one physical priority queue, that LLQ has an implicit policer that allows for time-division multiplexing of the single priority queue. This implicit policer abstract the fact that there is essentially a single LLQ within the algorithm and, thus, allows for the "provisioning" of multiple LLQs.
    My question is if anyone has tried this and if there are any limitations on the platforms that can support this "dual-LLQ design."

    Design guide which is basically the QoSDesign recommendation bible.
    http://www.cisco.com/univercd/cc/td/doc/solution/esm/qossrnd.pdf
    It has a large section for WAN recommendations...while you may not
    need to follow one of these Based on my understanding what what you
    have for a link (DS3) and what you are trying to accomplish, I
    believe the following section would be a good place to start.
    - WAN Aggregator QoS Design
    - WAN Edge Classification and Provisioning Models
    - High Link Speed QoS Class Model
    - Eight-Class Model

  • MySQL functionality within Oracle SQL Developer Data Modeler

    Hi all,
    I've read a few forum posts here that lead me to believe that MySQL is not currently supported by the data modeler tool (Link #1 I got to by clicking on the Statement Of Direction link on the main page SQL Developer Data Modeler&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;SQL Developer Data Modeler&quot;&g… Link #2 I got to by doing a search on the word MySQL within the forum search):
    Link 1:
    SQL Developer Data Modeler Statement of Direction
    Link 2:
    Can datamodeler be used with MySQL?
    SQL Developer (not the Data Modeler tool, but the database admin-type tool not for modeling) does support MySQL using the latest MySQL Connector J 5.1 driver but, strangely,  it doesn't seem the Data Modeler supports it, though.  Can anyone please confirm that MySQL is currently unsupported for the Data Modeler tool?  Thanks in advance.

    Hi,
    it doesn't seem the Data Modeler supports it, though.
    Data Modeler doesn't have specific support for MySQL - i.e you cannot generate DDL for MySQL. Though you can import form MySQL server using JDBC connection in standalone DM or using created MySQL connection if you are using DM inside SQL Developer.
    You can import definitions for tables(columns, PK and UK constraints, indexes, foreign keys) and views.
    Philip

Maybe you are looking for

  • CS4 will not download for my new computer

    I chatted with Adobe twice and they told me to come here for help. I got to the link to download CS4 and the download started and didn't go very far. I just stopped downloading and I didn't get an error message.

  • Monitor-Farbraum (Photoshop 6.0)

    Ich erforsche gerade das Thema Farbmanagement. Meinen TFT-Monitor habe ich auf der Grundlage eines Hersteller-Farbprofils mit Adobe Gamma kalibriert. Da der Adobe Gamma Loader in der Autostart-Gruppe liegt, war ich der Meinung, diese Kalibrierung gel

  • Berkeley db aix link error

    AIX 5.3 xlC_r Version 5 db-5.3.21 Any help would be appriciated. xlC_r -o excxx_example_database_load excxx_example_database_load.o MyDb.o InventoryData.o -g -O2 -D_THREAD_SAFE -L../lib -L/usr/lib -ldb_cxx -lrt -ldb_cxx ld: 0711-317 ERROR: Undefined

  • I turned my iPhone3G off and now it won't turn back on. Can anyone suggest what I should do?

    I turned my iPhone3G off and now it won't turn back on. Can anyone suggest what I should do?

  • How to reduce size of the executables

    Colleagues, I just would like to share small tip, which may be useful for someone else. Sometimes size of LabVIEW - based executable is pretty big (especially if you have placed arrays or graphic on the front panel, then set values as default, etc).