Separating business Tier from presentation tier your opinion welcom

Hi'
I'va a business object which data members are stored in DB. The question
is while I'm creating new object should I return exception to the
presentation tier if object doesn't exist in DB(it's data members) or
should I initialize object with empty values and afterwards call a
function which will initialize object with values and test result of this
function?

It is okay to include basic logic like:
Object a;
try {
a = getExistingObject(key);
catch (Exception e) {
a = createNewObject(key);
finally {
a.initilise();
}just make sure no real business logic seeps into your presentation layer.

Similar Messages

  • Separating business logic from presentation

    Hi,
    I'm not sure if this is even the right forum for my question..but here it goes:
    I have a device that is throwing out data into some kind of a storage device/server. Now, I have an application that reads the data from that storage and charts it. Let's say the frequency is 10 points a second.
    Some of my questions below may seem strange, because i don't really understand the concepts and technologies involved.
    1. What kind of storage device/server could i be looking at. What kind of server...J2EE App Server, web server?
    2. How can my application be automatically notified when the server gets new data? How will that new data be passed on to my client app?
    3. Let's say I have 10 different instances of the same application running on 10 different machines. Since I wouldn't want each instance to request for new data from the server, i would like the server to broadcast any new data to all the client apps that are attached to it. How can this be done?
    4. Let's say I need to process the data in some form before it gets displayed on the charts. How can this processing be done on the server side itself before being presented to the client app? Basically, how can the logic be separated from the presentation?
    5. If the chart is really a Swing component, but needs to be displayed in a Win32 environment (perhaps MFC dialog box or frame), how can that be done? Does this scenario change how I would address the above questions?
    I really don't even know what technologies to look into to answer the above questions. Any pointers will be appreciated. I just want to start learning about how the above can be accomplished.
    Thanks.

    Here goes the answers to your question. (according to my knowledge)
    1. Deciding a server is depends on your design of the application. According to point 3, you are better to use JMS with publish and subscribe model. In this case you have to choose a JMS server that supports your needs
    2. Again it is depends on your Design, one way is to put a shared memory for data and write a thread that reads from the shared memory or use java.net package or use JMS etc.
    3. Create one JMS source and all other will be JMS destinations.
    4. You can use EJBs or Java classes based on your requirements and design to process the data.
    5. Using AWT or Swing as a presentatin layer is good. But you desperately want to display it using Win 32 objects, then why dont to go for Microsoft technologies??

  • Separating content from presentation

    Hello all, I'm currently evaluating WCMS options (including Adobe CQ) for a large client who needs a WCMS for managing products and marketing campaigns.
    At first glance, CQ appears to be a WCMS on steroids. The technology stack is well considered and scalable, which provides a good building block for web content management. Furthermore, I'm impressed with its campaign management capabilities. All very promising.
    However, my concern on it's suitability lies with it's content architecture. Here's the issue I'm looking solve: my client offers many different products (hardware and software) and services. For each of these products and services, they publish marketing collateral to:
    The Internet (their website)
    Their Intranet
    A product brochure (pdf)
    A range brochure (pdf of related products)
    Sell sheet (2 page pdf with product overview and features)
    Their problem (and I'm sure one shared by many others) is that if a product changes, for example a new feature is added, the content has to be updated in five separate places.
    What I'm looking for is a single-source publishing solution where content is authored and controlled (for example workflow review and approval) in a central repository, then versioned and published to different formats (for example, a sell sheet would not include all detailed technical specifications).
    I was hoping CQ would step up to this challenge of offering a CMS that where I can publish product content to the website and Intranet, while also creating versioned content (through API integration with InDesign Server). After all, Adobe provide cross-media publishing solutions...
    However, CQ appears to break away from the classic MVC model and more specifically, it doesn't follow a typical CMS design by providing a clean separation of content from presentation. If the same content needs to be presented in different versions or formats, it appears that the only real way to achieve this is by duplicating the same content across different CQ components.
    Am I missing something here?

    Hi EliotHarper, thanks for your very well posted question.
    Yes, separation between content and presentation is at the core of the WCM concepts, and CQ5 aims to solve this requirement in a clean way.
    Generally speaking content is stored in the repository in the general form of nodes and properties and information related to its presentation is loosely coupled (and can reside somwhere else). The fact that the standard content hierarchy fits into the actual pages hierarchy is just the simples option to ensure authors an incontext experience in a natiral way. But depending on your project, youcan override this approach.
    Based on your specific project requiremenets, you may choose from a set of different approaches. I'm mentioning 3 of them in more detail here.
    1. Create different renderers for the same resource, to be used depending on where the resource is consumed.
    for example /content/products/myproduct.html would render differently than /content/products/myproduct.detail.html
    http://sling.apache.org/site/url-decomposition.html
    2. Use references. The same resource can be reused (as a reference) in other places. Updates to the content are reflected everywhere, since others are only references to the same resource.
    http://dev.day.com/docs/en/cq/current/wcm/default_components.html#Reference
    3. Multisite management features. A piece of content (also at a deeper level than a page) can be rolled out to an arbitrary nuymber of 'live copies' at one time. Live copies provide a separate copy of the same content but with a link to the original content, to better manage updates.
    http://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html
    Please let me know if this helps. Regards.

  • Accessing business tier cluster using DNS and failvoer1

    Hi Guys,
              I think these are jolly interesting questions :-)
              Say I have a web tier and business tier, with business tier and web tier
              each in their own clusters.
              Say I deploy my web applications to web tier, and EJB's to business tier.
              Now if I want to access an EJB from the web tier, I can't just say new
              InitialContext() etc. cos
              I guess the EJB's aren't bound in the web tier, only in the business tier.
              Q1: So do I have to access my business tier by creating a context giving the
              URL of the business tier?
              I am assuming answer to Q1 is yes. If so, the best way is to probably
              somehow map one name to
              each machine. I can do this with DNS easily. Hoever, it is not clear what
              the consequences are
              regarding failover.
              Q2: What if one machine in the business tier goes down? My DNS server will
              still map to it, and hence as DNS round robins if my web tier tries to
              contact my business tier, chances are it may get IP of broken server. What
              will happen? Will it transparently "fail over"?
              Q3: How do I add new machines? Do I have to go and modify the DNS?
              Alternatively, there may be some loadbalancer/router thingie out there that
              I can map by business tier DNS name to, and it
              will transparently route to one of the business servers. I guess they can
              do pings to check health of servers, and possibly see
              new servers coming up?
              Q4: Am I on right track with loadbalancer/router?
              And for the final course :-D, I dont' quite understand something like the
              DataSource which is supposedly clusterable.
              Q5: If I want my business tier to have exclusive access to the database,
              but I want to access a datasource from the web tier, am
              I asking too much? Cos I can't target DataSource to web tier as then I'd
              have to target connection pool, and then I'd have to have
              access to DB from web tier which is somehtin gI want to avoid. ie. is
              there a way to stream data through DS from web tier to business tier.
              If you got this far, thank you!
              Regards,
              Q
              

              Since the EJBs are deployed to a cluster, you can access them with cluster address
              (URL to retrieve context). See cluster examples in your Weblogic installation.
              Your question 5 is quite wierd for me. If you don't want your web tier to touch
              database at all, use EJBs or RMI on business tier to execute your database related
              task for web tier.
              "Quantos Quattro" <[email protected]> wrote:
              >Hi Guys,
              >
              >I think these are jolly interesting questions :-)
              >
              >Say I have a web tier and business tier, with business tier and web tier
              >each in their own clusters.
              >Say I deploy my web applications to web tier, and EJB's to business tier.
              >
              >Now if I want to access an EJB from the web tier, I can't just say new
              >InitialContext() etc. cos
              >I guess the EJB's aren't bound in the web tier, only in the business
              >tier.
              >
              >Q1: So do I have to access my business tier by creating a context giving
              >the
              >URL of the business tier?
              >
              >I am assuming answer to Q1 is yes. If so, the best way is to probably
              >somehow map one name to
              >each machine. I can do this with DNS easily. Hoever, it is not clear
              >what
              >the consequences are
              >regarding failover.
              >
              >Q2: What if one machine in the business tier goes down? My DNS server
              >will
              >still map to it, and hence as DNS round robins if my web tier tries to
              >contact my business tier, chances are it may get IP of broken server.
              > What
              >will happen? Will it transparently "fail over"?
              >
              >Q3: How do I add new machines? Do I have to go and modify the DNS?
              >
              >Alternatively, there may be some loadbalancer/router thingie out there
              >that
              >I can map by business tier DNS name to, and it
              >will transparently route to one of the business servers. I guess they
              >can
              >do pings to check health of servers, and possibly see
              >new servers coming up?
              >
              >Q4: Am I on right track with loadbalancer/router?
              >
              >And for the final course :-D, I dont' quite understand something like
              >the
              >DataSource which is supposedly clusterable.
              >
              >Q5: If I want my business tier to have exclusive access to the database,
              >but I want to access a datasource from the web tier, am
              >I asking too much? Cos I can't target DataSource to web tier as then
              >I'd
              >have to target connection pool, and then I'd have to have
              >access to DB from web tier which is somehtin gI want to avoid. ie.
              >is
              >there a way to stream data through DS from web tier to business tier.
              >
              >If you got this far, thank you!
              >
              >Regards,
              >Q
              >
              >
              

  • Business Tier / Web Services / Web Services Proxy does not exists

    Hi,
    from the documentation:
    'To call a web service from an application module, you perform three steps:
    1. Create a web service proxy class for the web service.
    2. Create an instance of the web service proxy class in your application module.
    3. Invoke one or more methods on the web service proxy object.'
    The web service proxy is supposed to be under 'New / Business Tier / Web Services / Web Services Proxy', but all I have in the item-list is the 'UDDI Registry Connection', no 'Web Services Proxy'. Does anyone know how to get the 'Web Services Proxy' as an item in the Web-services gallery ?
    I'm running JDeveloper 10.1.3.3.0 Studio Edition.
    Regards
    Erik

    Oh boy. Nope. But I did now ! And there it is, just like magic...
    I totally overlooked that field. Thanks, I am a bit new to this, needless to say !
    Regards
    Erik

  • Your opinion on:  BSP or Java Webdynpro or ABAP Webdynpro?

    Could you please give me your opinion on the business scenario we have here:
    We are implementing SRM 4.0 with backend R/3 4.6C, WAS 6.4 and Portal 6.0. SRM has its typical shopping cart applications mainly for procurement and the workflow trail displaying the approval. The client wants us to build a few custom forms on the web frontend of SRM (or may be in Portal). The idea is to store these forms and display when needed with the status info just like a shopping cart.
    <b>Now the requirements for these forms are as follows:</b>
    1. These forms will have multiple fields which need to have the F4 kind of help. (the F4 options will reside in SRM or R/3)
    2. The form should have some kind of a ALV grid  (autoexpanding feature) which will allow the user to put in multiple line items so that they could submit more items on one form.
    3. Users need to be able to attach a spreadsheet to the form which should not be editable once the form is submitted. The attached spreadsheet should be stored. (We are planning on using Archivelink Filenet for this)
    4. Upon submission, a workflow will be kicked off as per the defined Org structure for approval of the form.
    5. After submission, the user should be able to go and view the approval status of the form and also print the summary of the values that he entered in the form. (may be a smartform could be provided for this)
    We looked at different options to accomplish this task:
    <b>BSP:</b>
    Creating BSP pages and giving access as links to the user on the webfrontend of SRM. Now, if we go the BSP route, we need to develop in SRM as the R/3 4.6 c does not have BSP development capabilities. If we take this approach, I am not sure if all the above requirements (specially like attaching spreadhseets) will be met with BSP pages.
    SAP Webdynpro Java: 
    It seems that the Webdynpro is easier to use because of the graphical tools available. But the only problem if we go this route is that we will have to find a java guy.
    SAP Webdynpro ABAP:
    We currently have WAS 6.4. As per the documentation, the ABAP Webdynpro development tool is available from NW04s onwards. So, we are still not sure if we could use it. But, we want to push towards upgrading if necessary. Being an old time ABAPer, developing ABAP Webdynpro seems do-able. (i know it may not be that easy).
    Last but not the least, DIALOG Program:
    Creating a dialog program in R/3 or SRM seems fairly simple. Then, an iview could be created on the portal for this transaction, though at this point I am not sure how a spreadsheet could be attached and stored within a dialog program.
    The creation of the workflow may not be that bad after the original form is designed. The graphical display of the approval trail might be difficult, but we might get away with a report for that. For printing the details of the form, I guess I could develop a smartform and put out a button on the screen to print it out in the display view.
    Could you please give me your opinion /  best approach for accomplishing this task, keeping in mind the complexities of these new dimension products?
    Thanks
    Sri

    I would say that all four solutions to solving your tasks are technically feasible.  Here are some thoughts that I had however:
    First ABAP Webdynpro: it is true that ABAP webdynpro is only available with Netweaver04s.  04S is still in ramp-up which means that only a subset of the customer base is allow to implement it.  It will not become generally available until later this year (check the service marketplace for current release estimates).  That being said, it probably elimintes WDA as a possiblity for your project unless you are will to wait and to upgrade.
    However having worked with WDA for a while it is probably the best tool to custom develop what you describe.  It has excellent built-in F4 value help.  It also has a damn fine ALV grid implementation.  The spreadsheet could be just as simple as file upload in binary or your could try your hand at office integration.  Finally for the form you could use Adobe Interactive Forms which also has very nice integration into WDA. 
    Now to Dialog Programming: You could of course use dialog programming.  It seems a little bit of a waste to custom build something so large if WDA is in your near future.  There are obvious disadvantages (little OO structure, no MVC, etc).  You would have ALV grid, office integration and of course F4 help.  You could still use Adobe forms if you implement this on the 640 system.  However there are integration points with dialog and Adobe Interactive Forms.  You could still use printed forms however. If you did the dialog program on the 640 system, you could use the integrated ITS to expose it to the web.  The integrated ITS in my experience has quite nice performance although the look and feel remains just like the SAPGui.
    The Java Webdynpro route:  Well you hit the nail on the head - if you don't have a Java programmer already and you don't have the bandwidth to invest in learning Java, this can be a problem.  The Java Webdynpro environment is quite nice.  There are some things I like better than ABAP and some things that ABAP is defintely still better at.  However when it comes to heavy integration with an ABAP backend - ABAP Webdynpro is still the way to go.  Java Webdynpro does have a help feature (OVS), but it isn't "for free" or nearly as nice as the ABAP Webdynpro (perhaps it will get there some day).  That is one of the major advantages of WDA - its closeness to the business data brings several framework advantages like F4 and field help.  WebDynpro Java in 640 also doesn't have an ALV grid implementation.  I am sure that this is something both environments will eventually have, but right now ABAP has the advantage.  On the other hand, Webdynpro Java has equal support when it comes to office integration, file upload, and Adobe Forms support.  You would have a more difficult time integration SmartForms however.
    Finally we come to BSP.  Honestly if I were in your position I would probably choose BSP (unless you could wait for the ABAP Webdynpro upgrade).  You could build a nice MVC OO application using BSP (stateful or stateless).  The BSP product is mature and quite well documented thanks to SDN.  You have the BSP Extensions which when used in Design2003 use the Unified Renderer.  That means that your output will look nearly identical to the same UI elements in Webdynpro.  Also BSP supports portal integration (session management, eventing, and themes). 
    The downside to BSP is that it isn't a full framework (also one of its advantages).  You can insert all your own html and javascript (unlike webdynpro). But this also means that SAP doesn't delivery as many framework services.  For instance there is no ALV or Value Help.  There is no Office Integration or Adobe Forms integration.  There is some farily good Smart Forms integration.  Now the upside- many people have already hit these limitations and overcame them.  In the weblogs on SDN and in a certain SAP Press book (cough, cough) you will find out of the box solutions for many of these problems.  You can find ready to use solutions for Adobe Integration, Office Integration (using Microsoft Office Web Controls), and F4 help.  It will mean investing a little more time up front to get this "home grown framework" up and running - but it is perfectly feasible. 
    There is a learning curve to all these new technologies however.  This sounds like an abmious project.  I wouldn't want to try and tackle this project in any of these technologies if I was new to them.  With Webdynpro or BSP - consider giving yourself time to learn the environment and cut your teeth on some demo apps before jumping into such a huge development.

  • QST: Business Components from AIA Enterprise Business Service

    Hi,
    I'm new in ADF context. Ordinary I work with Oracle SOA Suite and AIA. We have a use case for customer with system integration over AIA. Now we will build a ADF Web Application and I found the "Business Components from AIA EBS".
    - Will this wizard work with AIA 3.0 aka 11g?
    - How to use this wizard? I save WSDL of EBS to local directory, but can't continue the wizard.
    - Is it more compliant to use "normal" was of ADF and invoke Requester ABCS?
    Bye
    Marcel

    Hello Robert,
    I know this thread is quite old but I'd like to know whether anything has changed since then regarding the AIA Composite Application Framework extension? I've installed the extension (v 2.4) from a local zip archive (as installing through the update center failed - said it was installed but there was no new options under the Business tier) in Jdeveloper 11.1.1.1.5, had to change extension's paths to modules but still a wizard doesn't want to go to the next step, no error popup, no error in logs, nothing. Does it mean it's still not ready? According to the below site my environment fulfill all the requirements:
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/131167.xml
    What is the preferred approach for an UI integration then? A requester ABCS seems to be an overhead and misconception to me but maybe I'm wrong :)
    Thanks,
    Piotr

  • Export views and business areas from dev to prod.

    Hi Gurus,
    I am using oracle database 10gR2 and Oracle BI Discoverer Administration 10gR2.
    I have an End User Layer disadmin1 with 10 business areas. This EUL also have folders for the views in its own schema. I used original import/export utility to export this EUL from Development to Production environment.I exported the schema disadmin1 form development and imported it into production into same shcema disadmin1 (This exported the views too) . It is absolutely working fine.
    Now I have to develop 5 more business areas in the same EUL as phase 2 development I am keeping the EUL disadmin1 for bug fixing for initial 10 BAs, and I have another EUL disadmin2 to develop new business areas. For these new business areas, I have to firrst create views and then create folders on these views in disadmin2. I will export the new business areas form discoverer utility 'Selected Business Areas' from disadmin2 and will import them into production in original EUL disadmin1. My problem is how can I export new views from development to production.
    Thanks for the help.

    With Discoverer, there is not necessarily one right way to do things. There is certainly nothing wrong with the process you are doing. I believe Oracle had a different process in mind with Oracle, but that does not mean your process is wrong. Did you install the seeded (Oracle term) business areas that come with Discoverer, and activated the business views for those Oracle business areas? Put those into Production and your users can develop workbooks on the fly in Production, rather than wait for something to go through a development-test-production process. Which can be good or bad depending on your individual situation. As for creating new views, I suggest talking to your Oracle technical team to see what process they have for approving new views in production and getting those views created. I would suggest getting those approved and created first before relying on using them for Discoverer development (just in case the creation is not approved), but that is just my opinion.
    John Dickey

  • Seperate business logic from application logic

    Hi guys,
    I am looking for a good article explaining the princiaples of seperating between Business Logic & Integartion logic.
    The articale will be used to exlplain the prinicples SAP PI is based on when it comes to integration between 3rd party systems (Non -SAP) missign the application layer and buisness logic.
    If any one has a link to an article as such.
    Will be most appriciated.
    Regards.
    Nimrod Gisis

    It seems that the general rule to making a GUI
    application is to seperate the "Business Logic" from
    the "Presentation Logic". This is absolutely true.
    From this, I'm guessing I'll
    need to package all my GUI stuff together, and all the
    business logic layer stuff together.If you mean the package names and structure then I would had adapted this structure:
    1. I will have a package under which I will put the application common classes and interfaces.
    com.myapp.common.eventhandler.EventHandler (interface)
    com.myapp.common.eventhandler.AbstractEventHandler (default implementation)
    com.myapp.common.form.Form (interface)
    com.myapp.common.form.AbstractForm (default implementation)2. Create for each subject area its own package:
    com.myapp.product.AddNewProductForm
    com.myapp.product.AddNewProdcutEventHandler
    com.myapp.sales.PriceListEeventHandler
    com.myapp.sales.PriceListEeventHandler
    The GUI will then talk to the Biz lay through an
    interface right?As I illustrated through my previous example, you should have common interfaces and you might need to create Abstract classes that encapsulates the common implementation for these interfaces, then for each GUI Form or Web Page you will create its specific implementation class which inherits from the abstract class.
    Finally if you were asking about the deployment packaging:
    1. Create for each EJB its own jar file then bundle these Jar files under one module jar file, which represents the EJB module.
    2.Package the web application (JSP, Servlets, HTML, Images, CSS, and Java script) in one Web module WAR file.
    3. Package your client application module in its own jar file.
    4. Assemble the EJB module Jar, Web module War, and Client module Jar in one J2EE package which will be an EAR file so that your whole package will be assembled in one EAR file at the end.
    Try the "Application Assembly Tool" which comes with WebSphere. It will organize your application and facilitate this kind of integration.
    - Sherif.

  • Interested in your opinion about PPBM7

    Bill and I are working on a new site and a new test. It looks like it will not take much longer and is nearly ready for CS6.
    We have invested lots of time in designing the new website and adding functionality and there is still as long way to go, but we are making steady progress. Note that the subscription module in not operational yet, the download file is not up-to-date, the script is not included, etc. but we would like to get your opinion on our progress and hear your comments. Everything now is only based on our PPBM5 results.
    Please take a careful and critical look at PPBM6, take a look around the site and consider the navigation, layout, logic, design and - most importantly - how easy it is to find the info you are interested in and the way it is presented. Please be critical, so we can take your considerations and suggestions into account.
    After you have looked over this site, you would help us enormously by filling out this survey: Click here to take survey. Note we have only a basic subscription which allows for 100 responses only, so you may be out of luck if you wait too long.

    STRONG OPINION - Put Benchmark Results/Detailed Results (full table) by itself and label it "Benchmark Results Table" and move all other items in Benchmark Results section to "Benchmark Results Statistics"
    Done.
    Benchmark Results/Detailed Results table features don't work at all in Internet Explorer (I have IE v9); works fine in Firefox, but many Win7 users will be using IE
    Try with the new template, it may work now. Still some cosmetics to adjust though.
    Would like to see new columns in Benchmark Results / Detailed results table: CPU die size (nm), # cpus (like in PPBM5), chipset (i.e. X79, C602, etc.), User Comments (i.e. so DeeDigital could explain why identical hardware went from score of 186 to 149), Disk Comments (i.e. many forum posts focus on where put scratch, projects, media, render outputs, etc.)
    That may be feasible when I get the parsing of Speccy.xml completed.
    STRONG OPINION - Menu design should be streamlined; This is not that large a site and When "Latest News" "Planning and Building" is up, I see 4 separate menus (at page top, Main Menu on Left, Latest News...All Pages on right, and Planning & Building a NLE System at lower left.
    Done.
    Suggestions to streamline:
    1) Only show "All Pages" for all areas; if you find you must have this level of sub-section, do it with a drag-down box at top and bottom of the section like many review sites do
    2) Have all menus at top; this is nicer too when someone wants to print something out
    Done.
    Need to clearly state what versions of CS the new benchmark is compatible with
    Will be done.
    Suggest adding a lifetime Platinum subscription option for say $100 or $150; that's the one I would select BTW if it were available
    Also suggest dumping the Bronze and Gold options; there too many options for new subscribers
    I'm looking into that.
    Update copyright to 2013 (i.e. bottom Methodology page)
    "Buy a subscription" should be "Select a Subscription" since entry level is free
    Remove the "We are volunteers!" banner to be consistent with new paid subscription fees; or, if the fees are purely going to internet fees, etc., explain that somewhere
    Done, but working on the template now for the footer.
    Font size selector is broken on Buy a Subscription page
    Suggest using www.ppbm6.com instead of www.ppbm7.com to reduce confusion (it seems that you also own this domain site)
    Will look into that.

  • What is your opinion about IDEs?

    I've heard different opinions about using IDEs like Jbuilder, Symantec VisualCafe, Microsoft J++...
    Some people think that to program in java using a simple text editor is a prehistoric and a very hard way and they prefer using IDEs.
    Other people think that IDEs are not good tools to program in java because they add a lot of unnecessary code and because you have more control for the code if you program all by yourself. These persons maybe think that the only utility of IDEs is their help.
    I would like to know all your opinion about this.
    Thanks!

    Hi,
    I think it depends on the context if one may use an IDE or not.
    There are 3 things to be considered:
    1) processor speed
    2) application type
    3) lazyness
    ad 1:
    If you want to use an IDE, you must have a powerful processor.
    In fact, all major JAVA IDEs are written entirely in JAVA.
    So a Pentium 3 or K7 and faster processors are advisable.
    ad 2:
    When you write servlets or small text based applications with only a few classes, an notepad like nedit for UNIX systems is in fact the best solution.
    A huge JAVA program with many screens (SWING or AWT) for instance cannot be easily developed with a small editor. Here an IDE should be considered as a must.
    (Unless you are really a hardcore Java specialist)
    The same approach can be applied to bean development.
    ad 3:
    IDE come with many pre-constructed classes and concepts. Developing a client/server or multi-tier application can be an easy task if you spent some money on an IDE.
    Other advantages of IDE are built-in tutorials and programming enhancements (when you type the name of an object the IDE shows you immediately all its methods for example). So if you are a beginner or one of those people that thinks that a programm cannot be done without development platforms like Microsoft Visual XXX, JAVA IDEs are a logical conclusion.

  • How do I undeploy a Business Package from EP?

    Hi Experts,
    I need to deploy & configure some specialised Business Packages on the Portal for a Demo. But the requirement is to undeploy the Business Packages from the Server after the demo.
    How can that be done? If I just delete the specific folder, does it mean I am undeploying the Business Package?
    Thanks,
    Shobhit

    Hi,
    The SDM is one of the options to choose for undeploying an application. But I basically prefer using the J2EE Engine's visual administrator tool (it is more intuitive in my opinion). Here's how to deal with it:
    1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
    2. Log in with an Administrator user.
    3. Under the Server node click Services-> Deploy.
    4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
    5. Select the application and click on the Remove button.
    http://img143.imageshack.us/img143/600/vaxu5.jpg
    Undeploying using SDM
    You can also undeploy the application using the SDM tool. Launch the tool by running the remotegui.bat from your usr\sap\SID\JC00\SDM\program. Enter your sdm password and then go to the undeployment tab. pick the application you want to undeploy and add it to the right hand pane and follow the steps in the wizard
    Check this official SAP link for deployment and undeployment details.
    http://help.sap.com/saphelp_nw04/helpdata/en/28/2c3c1bf823204c8370bfacbe54133b/frameset.htm
    with regards,
    Kanthi

  • Issue in material master update from presentation server  using BAPI....

    Hi Guru's...
    i am trying to change the material master from presentation server (desktop flat file)
    using BAPI(BAPI_MATERIAL_SAVEDATA) ....
    while executing my program i am getting the message like material had changed...
    but while in mm02 i am un able to fine the updates...
    please find below program logic and correct me if any mistakes....
    thanks in advance...
    *& Report  ZAREPAS36
    REPORT  zarepas36.
    DATA : gs_bapimathead             TYPE  bapimathead,
           gs_clientdata              TYPE  bapi_mara,
           gs_clientdatax             TYPE  bapi_marax.
    TYPES : BEGIN OF gty_itab1,
            matnr(18),
            matkl(9),
            spart(2),
            ntgew(13),
            gewei(3),
            meins(3),
            END OF gty_itab1.
    DATA : gt_itab1 TYPE STANDARD TABLE OF gty_itab1,
           gwa_itab1 TYPE gty_itab1.
    TYPES: BEGIN OF gty_itab2,
           abc(132),
           END OF gty_itab2.
    DATA: gt_itab2 TYPE STANDARD TABLE OF gty_itab2,
          gwa_itab2 TYPE gty_itab2.
    flat file at selection screen
    PARAMETERS: p_files TYPE string.
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename = p_files
        filetype = 'ASC'
      CHANGING
        data_tab = gt_itab2
      EXCEPTIONS
        OTHERS   = 8.
    LOOP AT gt_itab2 INTO gwa_itab2.
      IF gwa_itab2-abc(1) = 'S'.
        gwa_itab1 = gwa_itab2-abc(132).
        APPEND gwa_itab1 TO gt_itab1.
      ENDIF.
    ENDLOOP.
    loop at gt_itab1 into gwa_itab1.
    *Material
    gs_bapimathead-material    = gwa_itab1-matnr.
    *Material details at client data
    *material group.
    gs_clientdata-matl_group = gwa_itab1-matkl.
    gs_clientdatax-matl_group = 'X'.
    *Division
    gs_clientdata-division = gwa_itab1-spart.
    gs_clientdatax-division = 'X'.
    *Net Weight
    gs_clientdata-net_weight = gwa_itab1-ntgew.
    gs_clientdatax-net_weight = 'X'.
    *Unit of Weight
    gs_clientdata-unit_of_wt = gwa_itab1-gewei.
    gs_clientdatax-unit_of_wt = 'X'.
    *Base Unit of Measure
    gs_clientdata-base_uom = gwa_itab1-meins.
    gs_clientdatax-base_uom = 'X'.
    endloop.
    *calling BAPI for making changes in material and saving thru BAPI.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        headdata    = gs_bapimathead
        clientdata  = gs_clientdata
        clientdatax = gs_clientdatax.
    IF sy-subrc NE 0.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      WRITE: / 'Error occured while changing material'.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      WRITE: / 'material',gs_bapimathead-material,'changed'.
    ENDIF.

    hi hello Guru's
    i resolved the issuee..
    pleaso go thru the below proram logic for your reference..........
    *& Report  ZAREPAS36
    REPORT  zarepas36.
    DATA : gs_bapimathead             TYPE  bapimathead,
           gs_clientdata              TYPE  bapi_mara,
           gs_clientdatax             TYPE  bapi_marax.
    TYPES : BEGIN OF gty_itab1,
            matnr(18),
            matkl(9),
            spart(2),
            ntgew(13),
            gewei(3),
            meins(3),
            END OF gty_itab1.
    DATA : gt_itab1 TYPE STANDARD TABLE OF gty_itab1,
           gwa_itab1 TYPE gty_itab1.
    TYPES: BEGIN OF gty_itab2,
           abc(132),
           END OF gty_itab2.
    DATA: gt_itab2 TYPE STANDARD TABLE OF gty_itab2,
          gwa_itab2 TYPE gty_itab2.
    DATA:ls_return         TYPE bapiret2,
         lt_bapiret2       TYPE standard table of bapiret2.
    flat file at selection screen
    PARAMETERS: p_files TYPE string.
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename = p_files
        filetype = 'ASC'
      CHANGING
        data_tab = gt_itab2
      EXCEPTIONS
        OTHERS   = 8.
    LOOP AT gt_itab2 INTO gwa_itab2.
      IF gwa_itab2-abc(1) = 'S'.
        gwa_itab1 = gwa_itab2-abc(132).
        APPEND gwa_itab1 TO gt_itab1.
      ENDIF.
    ENDLOOP.
    LOOP AT gt_itab1 INTO gwa_itab1.
    *Material
      gs_bapimathead-material    = gwa_itab1-matnr.
    *Material details at client data
    *material group.
      gs_clientdata-matl_group = gwa_itab1-matkl.
      gs_clientdatax-matl_group = 'X'.
    *Division
      gs_clientdata-division = gwa_itab1-spart.
      gs_clientdatax-division = 'X'.
    *Net Weight
      gs_clientdata-net_weight = gwa_itab1-ntgew.
      gs_clientdatax-net_weight = 'X'.
    *Unit of Weight
      gs_clientdata-unit_of_wt = gwa_itab1-gewei.
      gs_clientdatax-unit_of_wt = 'X'.
    *Base Unit of Measure
      gs_clientdata-base_uom = gwa_itab1-meins.
      gs_clientdatax-base_uom = 'X'.
    ENDLOOP.
    *calling BAPI for making changes in material and saving thru BAPI.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        headdata    = gs_bapimathead
        clientdata  = gs_clientdata
        clientdatax = gs_clientdatax
      IMPORTING
        return      = ls_return.
    LOOP AT lt_bapiret2 INTO ls_return.
      EXIT.
    ENDLOOP.
    IF sy-subrc = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      WRITE: / 'Error occured while changing material'.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      WRITE: / 'material',gs_bapimathead-material,'changed'.
    ENDIF.

  • Creation of Business partner from customer

    Dear Friends,
    I am trying to create business partner from customer thorugh T-code FLBPD1 but unable to do so. Also. whenever i create a customer, a corresponding business partner is automatically created which is not desirable. Rather system should allow me to create business partners from customer separately when required. Kindly suggest any solution for the same.
    Regards

    Hi,
    please have a look at this threat
    [Auto creation of customer/vendor for BP;
    or search the forum for other threats that are handling this topic.
    Regards, Franz

  • Possible to change the business Partner from a created Contract in ICWEB??

    Hello experts,
    I would like to know if it is posible to change the BP from a created contract in ICWEB.
    I check the option "CONTRACT MANAGMENT" and there is an option to change the premise with the button "Move To Other Premise" but I don't find an option to change the Business Partner from a created contract.
    Can you help me, please??
    Thank in advance.
    Edited by: Javier Garcia on Aug 19, 2008 7:01 PM

    Hello S Reddy and a lot of thanks for your help.
    But I don't know where I can select this option, there isn't theĀ  where I can associate the option in customizing or what transaction. Could you explain me with more details, please ??
    Thanks in advance.
    Regards.

Maybe you are looking for

  • Drop Shadow pdf issue

    Hi there I'm trying to export a High Quality print Photoshop pdf with 7.5pt Helvetica LT Std white text with a 0.1mm drop shadow. The problem is that when I export it the drop shadow comes out unevenly (some letters/words/lines are bolder than others

  • Flash Tunnel Game

    I am trying to make a game where you are a character that is trying to escape from a tunnel. An enemy is following you and you can't let "enemy" touch you. Do you have any ideas on how I could make this enemy go through the tunnel without using a mot

  • Exchange sync not picking up appts created from Lotus Invitation

    We have two iphones syncing with Exchange. Everything is working well except some calendar items. Appointments that were created by accepting a invite from a Lotus Notes user (via an attached .ics file) are not syncing. They appear correctly on the c

  • What program should I use to create an ipad app to collect email addreses?

    What programs should I use to create an ipad app to collect email adresses in my store?

  • Undefined constructor and model nodes

    Hi all !! I have one custom controller SolicitudesViaje for which its internal counterpart InternalSolicitudesViaje.java says: "The constructor SolicitudesViaje(IPrivateSolicitudesViaje) is undefined" The code inside the internal class where the prob