RE: Server side objects-if attributes/methods are addedis

Hi Richard,
in addition to Peter Sham's mail you might have a
look at tech note N 11545. The subject is different
but you will see how to implement 'anchored'
objects(use proxies) or reference partitions. If your
server object project is a supplier plan to the
client I am afraid you have to redeploy client
whenever you change something on server. So probably
you have to change the way client and server
interact. One or two months ago there was discussion
of how to separate client from server. The subject
was something like how to avoid "bloated clients".
Regards,
Rumen
Hi,
You can deploy your server-side objects as server
using "Configure As"
in
Forte Workshop. Then all your client can >use"Reference Partition" to
reference your SO's on the server. Any change onthe >server-side logic
won't
require you re-deploy your clients.
But if there is object which will pass from serverto >client and no
matter
what the change is, you will need to re-deploymentof >your client
otherwise,
you will get a "deserialization" error. Bear inmind >that Forte deploy
all
the code ( like object structure, logic, etc ) to
your client during
deployment, only the data get passes through. Hence, >if there is any
change
in an object that will copy from server to client,
you have to update
the
"code" in your client too, that means, re-deploying
your client. The
only
way to get arround this is to "anchore" your object?>to the server, so
that
your client only gets a proxy of the object. Aslong >as you are adding
in
new things, I guess it ok. But there is a lot of
issues following
"archored"
object.
Hope this help.
Regards,
Peter Sham.
"Robinson, Richard" wrote:
Subject says is all. We have a situation wherewe'd like to avoid
rebuilding/redeploying the client side when aserver object is changed
(i.e., a new method or attribute is changed) or anobject that is
passed
from the server to a client is changed but theclient won't use the
new
methods/attributes.
Thanks in advance_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

Hi,
You can deploy your server-side objects as server using "Configure As" in
Forte Workshop. Then all your client can use "Reference Partition" to
reference your SO's on the server. Any change on the server-side logic won't
require you re-deploy your clients.
But if there is object which will pass from server to client and no matter
what the change is, you will need to re-deployment of your client otherwise,
you will get a "deserialization" error. Bear in mind that Forte deploy all
the code ( like object structure, logic, etc ) to your client during
deployment, only the data get passes through. Hence, if there is any change
in an object that will copy from server to client, you have to update the
"code" in your client too, that means, re-deploying your client. The only
way to get arround this is to "anchore" your object to the server, so that
your client only gets a proxy of the object. As long as you are adding in
new things, I guess it ok. But there is a lot of issues following "archored"
object.
Hope this help.
Regards,
Peter Sham.
"Robinson, Richard" wrote:
Subject says is all. We have a situation where we'd like to avoid
rebuilding/redeploying the client side when a server object is changed
(i.e., a new method or attribute is changed) or an object that is passed
from the server to a client is changed but the client won't use the new
methods/attributes.
Thanks in advance
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: [email protected]

Similar Messages

  • ICustomRouter interface CSOM or Server Side Object model

    Hi!
    We are looking into a custom document route, and I know about the ICustomRouter interface.
    Can it be used in CSOM?
    The ICustomeRouter example here:
    http://msdn.microsoft.com/en-us/library/microsoft.office.recordsmanagement.recordsrepository.icustomrouter.aspx
    references:
    using Microsoft.SharePoint;
    ...which leans towards the Server Side Object model.
    I don't see anything for "routing" or "records" here for the 2013 API:
    http://msdn.microsoft.com/en-us/library/office/dn268594(v=office.15).aspx
    Thank you!

    The only thing available from CSOM is the following namespace:
    Microsoft.Office.RecordsManagement.InformationPolicy.ProjectPolicy
    Some of the methods available are below:
    IsProjectClosed
    PostPoneProject
    GetProjectPolicies
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • What server side objects to pin in shared pool?

    On the first invocation of Java-based image.process(...), processing can take up to 30 seconds. Second run takes less than a second, but a final invocation a few hours later is back to 30 seconds. My DBA suspects that the server side objects are cached in the shared pool by the time of the second invocation, and then flushed out by the time the code is run a few hours later.
    We tried "pinning" ORDSYS.OrdImage pl/sql package in the shared pool using dbsm_shared_pool.keep , but no success. What are the the Java server-side objects referred to the Intermedia Java Client that really does the work when the client-side image.process(..) is executed?
    Thanks,
    Brandon

    hi Mr.kesavan!
    i tried .but i am getting some error.
    when i give lookup (jndi) that time it is giving some error.
    for example :
    ic.lookup("Bean2");exactly this line i am getting some unmarshalling error.
    Can u give me some sample code.?
    thank u...
    Shalinipriya.

  • Implementation Options: Server Side Object Model & Client Side Object Model

    Hi All, I'm design a custom web application and it will be deploy on SharePoint 2010/2013 (to be confirmed) server, and I found some aritical as follows:
    http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspx
    May I ask ask your advice for following items?
    1) Is the above URL still valid? e.g. Vice Versa for SharePoint 2013?
    2) Microsoft has a phase out plan for server side object model or not? (e.g. MOSS 202X)
    3) For programmatcally update of SharePoint permission: should I call client-side OM instead of server-side OM even I will deploy the web application to SharePoint server?
    Thank you very much.
    .NET Beginner 3.5

    In sharepoint 2013 I don't think this link is
    http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspxis reliable at all.
    what is your say?
    ====================================================
     Hi All, I'm design a custom web application and it will be deploy on SharePoint 2010/2013 (to be confirmed) server, and I found some aritical as follows:
    http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspx
    May I ask ask your advice for following items?
    1) Is the above URL still valid? e.g. Vice Versa for SharePoint 2013?
    2) Microsoft has a phase out plan for server side object model or not? (e.g. MOSS 202X)
    3) For programmatcally update of SharePoint permission: should I call client-side OM instead of server-side OM even I will deploy the web application to SharePoint server?
    Thank you very much.
    .NET Beginner 3.5

  • How JMS client operate on JMS server side objects?

    For example, JMS client got an instance of ConnecitonFactory by JNDI call from a remote side JMS server. Thereafter, the client uses this object to set upconnections. My question is that what kind of remote tech this is? Is it RMI or CORBA or something?

    I suspect it boils down to who your JMS Provider is.

  • How to access a JS changed attribute on the server side?

    hi all;
    if i change an attribute on a custom component via java script on the client side.
    how can i access the changed value on the server side?
    in what method will i have the access to this changed field?
    thanks in advance.

    You can hardcode the ID of the component in the backingbean (or some propertiesfile) and use ViewRoot.findComponent(componentId). Using the binding is (much!) more elegant anyway.

  • Changes in server side java file not reflecting in Client side java code?

    Hi friends,
    iam using eclipse IDE, JBoss server, SWING GUI and Oracle DB
    ( looks like : SWINGGUI (Client) <--> EJB's (serverside) <---oracle )
    my problem is , when i make change in server side bean file, that changes are not reflecting in GUI programs.
    (for ex: iam adding settr and getter for a field and using that in GUI program. but its not identifying that setter or getter).
    please tell me what should i do for every change done to server side program, that should reflect / available to GUI?

    my problem is , when i make change in server side bean file, that changes are not reflecting in GUI programs.
    (for ex: iam adding settr and getter for a field and using that in GUI program. but its not identifying that setter or getter).what do you mean it's not "identifying" the methods?
    you have to call those methods you know
    are you getting NoSuchMethodError?
    please tell me what should i do for every change done to server side program, that should reflect / available to GUI?you haven't posted any code or error messages that might help us debug

  • Ok, what's the "secret" for setting server side environmentvaria bles

    Subject says it all.
    We have a bunch of environment variables that are used by the server side
    objects. What I want to do is change the value of some of the variables
    prior to running my application in Forte Development IDE (3.0.G.2). I've
    tried to set the environment variables via NT's registry, but it appears
    that at execution time the variables take on the value of whatever they are
    for the node manager.
    Most IDE's I've worked with before have a way to specify environment
    variables right in the tool. Forte doesn't appear to have that capability -
    say it ain't so!
    Any clues?

    Subject says it all.
    We have a bunch of environment variables that are used by the server side
    objects. What I want to do is change the value of some of the variables
    prior to running my application in Forte Development IDE (3.0.G.2). I've
    tried to set the environment variables via NT's registry, but it appears
    that at execution time the variables take on the value of whatever they are
    for the node manager.
    Most IDE's I've worked with before have a way to specify environment
    variables right in the tool. Forte doesn't appear to have that capability -
    say it ain't so!
    Any clues?

  • Hi there, i want to setup homepage in server side instead of setup on computers one-by-one, have any idea how?

    basically, i want to setup the homepage for firefox in the server side. every time users who are in the same domain, they open the firefox, homepage come up automatically. Don't want to setup one computer by one computer...

    Hi Krishna,
    Check the below link it would help .
    How to replace # or Not assigned with blank in BEx Query Output.
    Regards,
    Satya

  • Cascading lists drop downs in SharePoint Designer (no server-side code) without postback

    I've created cascading drop downs populated from SharePoint lists, by following
    this post by Lars in SharePoint designer without using code, it works fine, my issue is that the secondary drop down only populates if the main drop down causes auto-post-back, is there any way to make the secondary drop down populate without causing
    post back and without using server-side code?
     

    Since you are using the ASP:DropDownList, you will need the post-back since it's a server-side control that doesn't use a callback. The following JavaScript library provides for a way to creating cascading dropdowns on the client-side,
    http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPCascadeDropdowns
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Problem with Server-Side InitialContext

    The Weblogic 5.1 documentation states that to create a context from within a
    server-side object, all you need to do is issue the following statement:
    Context ctx = new InitialContext();
    That you do not need to specify a factory, or a provider URL; by default,
    the context will be created as a WebLogic context and will connect to the
    local naming service.
    I only get this to work when I am running from within an EJB. When I try
    this from a servlet, it doesn't work.
    I am running Weblogic 5.1 SP9 with JDK 1.3.1_02. Any ideas about what I may
    be doing wrong???

    Hi,
    runtime->session_id indicates the browser session not a windows session so as such there is nothing to prevent that except from preventing to open the app in the same browser again by eg testing on the session id
    Eddy

  • Panel grid server side

    I want to add a panel grid to a page dynamiclly but I don't know what is the corresponding server side object (UI...). what is the easiest way to find server side objects for jsf tags ?

    Just check the Javadoc and the JSF tutorial.

  • Web service proxy - how to use server side in/out objects

    We have logic in oracle database. We have pl/sql api with oracle object types as in/out parameters. On server side we have pojo classes with method to convert from/to sql structs, arrays.
    pl/sql apis are exposed as web services.
    When I create web service proxy, all required pojo classes are created from wsdl on client side.
    Currently we are also writting client part of the code(where we also have oracle database and we want to reuse server pojos). Server pojo classes are in separate jar file and used also on a client side.
    Is it possible to tell jdeveloper when creating web service proxy, to not create client side pojos, exception classes, ... , but use those from jar file.
    Currently I just copy server pojo over generated client ones, make some modifications and it works. But each time I regenerate web service proxy I have to do this step manually.
    Edited by: zgrega on Sep 24, 2010 7:43 AM
    Edited by: zgrega on Sep 24, 2010 7:47 AM

    best is to wrap the generated WS proxy in a JavaBean. This way you can create the exception handling once and apply it to all uses of the WS proxy by overriding the generated code
    Frank

  • Problem when using object array as parameter of server-side event

    Hi Friends,
        I had defined an event in component interface of Component A, with object array as its parameter. but when I define event-handler for this event in Component B, the type of parameter in generated event-handler method is just the class itself instead of an array.
       It's a bug or array parameter is not support by server-side event in WD4J?
       Thanks in advanced.

    I think you are trying to do the editing of parameter from the java editor.
    Do it via the controller editer. Go the methods tab. Select the actionhandler.
    In the parameter section edit the paramter. Change the dimensions here.
    Regards,
    Ashwani Kr Sharma

  • ADF server-side state saving method

    Hi all,
    As far as I know, ADF has three view state saving methods.
    1. client - tokens
    2. client - all
    3. server
    My question is about server-side state saving.
    If I set state saving methos "server" in web.xml, view state is stored in session scope as LRU map.
    And the size of the map can be configured with below parameters in web.xml.
    <context-param>
    <param-name>com.sun.faces.numberOfViewsInSession</param-name>
    <param-value>10</param-value>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.numberOfLogicalViews</param-name>
    <param-value>5</param-value>
    </context-param>
    However I think these parameters is offered by Mojarra (Sun's JSF RI) and any ADF guides don't mention them.
    These parameters are supported in ADF?
    Regards,
    Atsushi

    Hi,
    don't have a support statement for this but would be surprised if we don't as ADF Faces runs on top of the JSF RI.
    However, I am wondering why your customer prefers state saving being handled on the server as it doesn't allow fail over for your application setup. Also it is the recommended option
    http://docs.oracle.com/cd/E25054_01/web.1111/b31973/ap_config.htm#CEGECDJF
    +"Context parameter javax.faces.STATE_SAVING_METHOD: Specifies where to store the application's view state. By default this value is server, which stores the application's view state on the server. *It is recommended that you set javax.faces.STATE_SAVING_METHOD to client* when you use ADF Faces, to store the view state on the browser client. When set to client, ADF Faces then automatically uses token-based, client-side state saving. *You can specify the number of tokens to use instead of using the default number of 15*.+
    +You can specify the following state-saving context parameters:+
    +org.apache.myfaces.trinidad.CLIENT_STATE_METHOD: Specifies the type of client-side state saving to use when client-side state saving is enabled by using javax.faces.STATE_SAVING_METHOD. The values for CLIENT_STATE_METHOD are:+
    +token: (Default) Stores the page state in the session, but persists a token to the client. The simple token, which identifies a block of state stored back on the HttpSession object, is stored on the client. This enables ADF Faces to disambiguate the same page appearing multiple times. Failover is supported.+
    +all: Stores all state information on the client in a (potentially large) hidden form field. It is useful for developers who do not want to use HttpSession.+
    +*Performance Tip:*+
    +Because of the potential size of storing all state information, it is recommended that you set client-state saving to token.+
    +*org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS*: Specifies how many tokens should be stored at any one time per user, when token-based client-side state saving is enabled. The default is 15. When the number of tokens is exceeded, the state is lost for the least recently viewed pages, which affects users who actively use the Back button or who have multiple windows opened at the same time. If you are building HTML applications that rely heavily on frames, you would want to increase this value.+
    +*org.apache.myfaces.trinidad.COMPRESS_VIEW_STATE*: Specifies whether or not to globally compress state saving on the session. Each user session can have multiple pageState objects that heavily consume live memory and thereby impact performance. This overhead can become a much bigger issue in clustering when session replication occurs. The default is off.+
    +org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE: Enables the Application View Cache (AVC), which can improve scalability by caching the state for the initial renders of the page's UI at an application scope. However, every page in the application must by analyzed for support in the AVC to avoid potential problems with debugging in an unexpected state and information leakage between users. Additionally, development is more difficult since page updates are not noticed until the server is restarted, and although initial render performance is enhanced, session size is not.+
    +*CAUTION:*+
    +The Application View Cache is not supported for this release. The feature does not work for any page where the rendering of the component tree causes the structure of the component tree to change temporarily. Since this is often the case, USE_APPLICATION_VIEW_CACHE should not be used."+
    So unless your customer has a good reason for server side state I would suggest him/her to go with best practices
    Frank

Maybe you are looking for