Best way to create a service application

Hi there, I have an API that manipulate files. Every project that uses this funcitionality must have their own code to manipulate this.... Im thinking to create an application that can be acessed and it returns the pdf file instead to implement this in all applications that need to have this funcionality.
The question is.. What is the best approach to easily create this?? Maibe EJB, Webservices?? Spring maibe??
Thanks @

I understood that you intend to build an application which will serve several clients. Those clients will 'ask' for pdf files or any other format. Am I right?
If so, i think that a good approach would be a EJB service being exposed as a webservice. So, any other applications could reach its endpoint and get the files. As a request your EJB service, I mean your webservice, receives the required parameters to build or retrieve the contents of a pdf file. In other hand, as response, webservices gives back a path file (a download link), stores the file in DB or even attaches the pdf file to response.
If you're using Oracle SOA Suite technologies, this task can be made easier through file and db adapters in SCA Composites. However, if you don't use such technologies, you can achieve the same results by building webservices.

Similar Messages

  • Best way to create an IPhone Application for my Blog

    What's the best way to create an Iphone application for my Blog? I've seen several blogs that have their own application.
    Could use some help,
    Used Car parts Guy
    <Edited by Moderator>

    Thanks for this info... I too am interested in creating my own application... Would love to hear from others...
    Do you think it brings in traffic?
    Are you charging for your application or free?
    Thanks,
    <Edited by Moderator>

  • Best way to create SVG file from drawing application?

    I am developing a drawing application that allow the users to draw and edit static two dimensional images such as Rectangles, Ellipses and Text. I have a superclass SVGShape that contains all the common features of a shape such as x1, x2, color etc. I then have SVGRectangle as a subclass of SVGShape.
    I want to know what would be the best way to create an SVG file from this? An idea I have at the minute is to have an abstract method getSVG() in the SVGShape class, and then implement the method in the subclasses. I will then create a new class called SVGManager which iterates through the list of shapes (Btw I'm using MVC, my shapes are stored in a Collection) and uses the getSVG() mehtod in each shape to build up a SVG file.
    What do you think of this? Any better ideas?
    Thanks guys

    I used a visitor for this in a similar project, so that when the svg library is used in a applet or browser and the writing functionality isn't required, it may be omitted from the bundle.
    Pete

  • Best way to create an html from application

    I need connect to an Oracle database and generate a static report from the result Query.
    Do you know what can be the best way to create this html file ?
    There is exists some html library to use?
    Thanks in advance

    you don't need a library. html is verry easy to use. you only have to write text to a file with html-tags.
    hope it helps

  • Best way to create a UI for a Composite app

    Hi all,
    What is the best way to create a UI for a Composite app that we are developing using CAF and GP.
    1) WebDynPro Callable Object that implements GP Interface.
    2) Consume the Application services(exposed as web services) in WebDynPro app
    3) Creating a WebDynPro Model for the CAF Services.
    4) Create a WebDynPro Application Callable Object (If yes how can we map the input and output params b/n WebDynPro app CO and CAF Application service).
    Plz do remember we are using GP here.
    Thanks in advance,
    Best Regards,
    Sudheer.

    Hi,
    You can use Web Dynpro or Visual Composer for designing UI for your CA.
    1) WebDynPro Callable Object that implements GP Interface.
    You can use Web Dynpro Component CO to use a single Web Dynpro component in your GP Activity.
    4) Create a WebDynPro Application Callable Object :This is for entire Web Dynpro Application(multiple components).
    2) Consume the Application services(exposed as web services) in WebDynPro app :
    3) Creating a WebDynPro Model for the CAF Services.
    For example, in updating operations first we have to get the existing data from Database.For getting this data you can use application services in your Web Dynpro component.Later expose this WD component as CO insert in a GP activity.
    For creating operations, you can use Web Service CO(Application Service)  directly in GP Activity.
    These links are useful for you.
    [link1|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00c07d0-61e0-2a10-d589-d7bc9894b02a]
    [link2|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b99341-60e0-2a10-6e80-b6e9f58e3654]
    [lnk3|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1078e3b0-ec5d-2a10-f08a-c9b878917b19]

  • How to create Search Service Application in SharePoint 2013

    When I am Creating Search Service Application through SharePoint Central Administration I am getting the error:
    Path of how I created It:
    Central Administration->Application Management->Manage Service Applications
    Here Click on New and Select Search Service Application
    How Should I create new search service application?
    As I want to create crawled Property and manage property for Search Center in SharePoint On Premises.

    Hi darsh,
    For creating a new search service application, you can refer to the blog:
    http://technet.microsoft.com/en-us/library/gg502597.aspx
    http://blogs.technet.com/b/praveenh/archive/2013/02/07/create-a-new-search-service-application-in-sharepoint-2013-using-powershell.aspx
    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=378  
    For your issue , please refer to the article:
    http://praveensharepointknowledgebase.wordpress.com/2012/05/29/error-while-creating-search-service-application/ 
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • What is the best way to create shared variable for multiple PXI(Real-Time) to GUI PC?

    What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at  individual PXI system).

    Dear Ravens,
    I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.

  • Dw, css, and a template, what is the best way to create a 20 page website with a different header in each page?

    dw, css, and a template, what is the best way to create a 20
    page website with different header content on each page? i am
    trying to insert a specific image and background color for each
    header on every page. what is the easiest or best way to do this?
    thanks, bryan

    "mediastream13" <[email protected]> wrote in
    message
    news:f47bes$9om$[email protected]..
    > ok, murray, here is the site.
    http://www.helphotline.org
    > in I.E. 6 i can't see the background color behind the
    header images,
    I'm seeing a hot pink background (which is my browser default
    - so that I do
    remember to declare a background color). You need to add:
    body { background-color: white;} to your stylesheet, or into
    the imbedded
    styles on your page.
    In Firefox, the very top black section, #headertop is hidden
    behind the
    header image.
    > background of the date/time isn't stretching the full
    length of the
    > screen, and
    > the margins aren't working in the main content area. how
    can i put a
    > background
    > color behind the header images?
    I can see the header image stretching right across the page..
    so not sure
    what color is missing there.
    > is there anyway to download i.e. six on my computer if i
    already have
    > i.e.7? i
    > just want to be able to preview the site before i upload
    the changes. it
    > seems
    > everything works in i.e. 7.
    Yes, I used this and it works really well.
    http://tredosoft.com/Multiple_IE
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au

  • Need help knowing best way to create record

    What is the best way to create a new record... I have a form pulling info from about 20 tables. When the user wants to create a new record, I want a new form to open and allow them to select the values based on the foreign key fields so it makes more sense than just random numbers.
    The problem I'm having is knowing when and how to insert. Should the "new record" form be it's own database block that inserts from within it. (but then when they go back to the original form they must requery to see the new value.) Or what about copying each field back to the original form. I'm new to forms and would appreciate any insight and tips.

    would a wire like this help me?
    I doubt it. You want FireWire.
    Take look at the Canopus ADVC300. It comes with a nice Macintosh application that works flawlessly with iMovie 06.
    http://www.canopus.com/products/ADVC300/index.php
    Yes, it does cost more but it works.

  • Please introduce the best way to create education in share point

    Hi
    I want to use chm in share point. but i suppose that there are better ways for training because i think chm is suit for software that are windows-based not web based.
    please introduce the best way to create education in share point
    thanks

    Hi
    these are some directions which will help to create a project for your needs
    Record and share grades with students and parents electronically.
    Create online communities for teachers, administrators, and students to collaborate.
    Facilitate sharing of best practices among teachers and administrators.
    Enable students, parents, faculty, and administrators to access your institution's resources anytime from any connected device.
    Post lesson plans, research content, coursework, and more to online document libraries.
    Provide Web-based class registration, lunch ordering, and other services.
    Create dashboards that show up-to-date student performance data to inform instruction and decisions.
    Share information with your district personnel, school board, parents, and community members.
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Which is the best way to create a connection object

    hi,
    Eventhough i am not new to java I just wanted to know that which is the best way for creating sql connection object.
    Is it using the DriverManager.getConnection(..,..,..) or using a datasource and getting the connection.
    Which is more efficient or Is there any other way to create sql connection which is even more better.
    thanks in advance.
    pradeepbhargav

    AFAIK all connections, DataSource ones included are created by calling the DriverManager. A DataSource is a factory for Connection objects (from JavaDocs)
    If you're talking about managing connections then it depends on the application. A DataSource is great for apps that can support many clients or are multi-threaded, but may require a JNDI implementation to get to it.
    If however you have an single threaded app that hits the database in a serial fashion, then DataSource is probably an overkill.
    Dave

  • Cannot create new Service Application in Manage Service Applications in Central Administration

    Hi!
    I'm having problems with a new SharePoint 2013 Enterpise installation. The issue I'm having is is that if I navigate to Manage Service Applications and click on New I get nothing in the dropdown. If I use the wizard I can create new Service applications but
    not through the Manage Service Applications page. Anyone know why? The button is not greyed out and I can click it but it doesn't show any service application at all (see picture).

    Hi,
    Based on your description, there is no service applications in the new dropdown list in SharePoint 2013.
    Check things below:
    Run the SharePoint products Configuration Wizard and      then check if the same situation will occur.
    Run Central Administration as administrator and then      check the results.
    According to your last post, it seems that there is something wrong about certificate.
    How do you connect server through remote access? And check if it is the same situation when you create service application in SharePoint
    server.
    Best regards
    Sara Fan
    TechNet Community Support

  • Getting error "Your session has expired. Restart this wizard to continue" when I create / configure service applications

    Last week, I installed 3 virtual servers (WFE, APP and DB).
    When I started to create the service applications on the app server, several of them gave me the following error at the end:
    "Your session has expired. Restart this wizard to continue. "
    Although the error occured, they actually are created. But I'm having difficulties with the Secure Store Service. I try to add a new Target Application and when I click Next, I get the same error.
    I tried to delete the application and recreate it. Tried to stop/start the Secure Store Service. I'm doing this as a local admin on the server (which was also used for installation and configuration of Sharepoint).
    No events in the eventlog. There is some logging in the ULS :
    01/05/2011 15:44:11.71  w3wp.exe (0x102C)                        0x00E4 SharePoint Foundation        
     Topology                       rzlc High     The current state '_admin/sssvc/managetargetapplicationinstance.aspx'
    doesn't match the Page '_admin/sssvc/managetargetapplicationfields.aspx' 73d50e6f-d63e-4cb8-b13b-2a6d50deb1d6
    01/05/2011 15:44:11.71  w3wp.exe (0x102C)                        0x00E4 SharePoint Foundation        
     Runtime                        tkau Unexpected Microsoft.SharePoint.SPException: Your session has expired. Restart this wizard
    to continue.    at Microsoft.SharePoint.Administration.SPScenarioContext.GetContext(Page page, CultureInfo culture)     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageTargetApplicationFields.OnLoad(EventArgs
    e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 73d50e6f-d63e-4cb8-b13b-2a6d50deb1d6
    The funny thing is... the service applications which I expected to give me some kind of trouble, are working perfect (User profile sync, Search). I installed numerous servers in the past 3 months and this is the first time I'm running into this and it's
    driving me crazy.

    After searching and searching, I found something...
    http://social.msdn.microsoft.com/Forums/eu/vsreportcontrols/thread/ca916bff-e996-41a2-b547-16542a298c39
    And the first reply caught my attention.
    It says that if your servername contains an underscore, these kind of errors might occur.
    And for sure, my servernames contain underscores. DOH!
    I'm going to change it and recreate the farm... just to be safe. Will get back with the results.
    Did renaming the server help?

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • Best way to create tasks and assign to sharepoint groups

    Hi everyone, I have a custom list which contains newsletter info that is to be seen by around 400 groups (they are stores) and then I need them to mark each list item as 'completed'
    I have been trying to figure out the best way to do this and decided to keep the custom list and somehow link it to a task for each item in the list. We have nintex so was thinking of creating a workflow to create a separate task for each group (store) so
    they can mark it as completed.
    Is this the best way to go about it or am I completely off track?
    Basically all I need is a list which contains around 30 items and around 400 groups (stores) which contain users (store staff) to be able to mark items on the list as completed so it recognises that each store has completed each task.
    Thanks

    Hi  ,
    According to your description, you want to find the best way for creating tasks for 30 list items and assigning the task to around 400 groups.
    For the workflow, it is heavy  that  you need to create around 12000 (30*400) tasks .  In my opinion, the best way is to do with a custom timer job. For more information, you can refer to the
    blog:
    http://www.splessons.com/2013/12/create-a-timer-job-in-sharepoint-2013/
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • How to create a "Group" to send texts to easily?

    I'd like to create a "Group" with a name that would be easily available to send text messages to - without having to enter individual contacts each time I text.  Seems simple enough, but there's no place in "contacts" to "Create a Group".  Any sugges

  • Error while opening Alert Configuration

    Dear All, When I am trying to open Alert Configuration from RWB then it is giving me the following error: <b>URL http://sapxiprd.nissap.com:8000/sap/bc/bsp/sap/alertinbox/index.htm call was terminated because the corresponding service is not availabl

  • Font way too small on Help Panel

    Hi I have recently have a problem with the font in the help panel being really small, out of all the books only 'Actionscript3.0 Language and Components' is legible, all the rest are tiny . I have tried the technote at http://kb.adobe.com/selfservice

  • How to use persian char in generic application

    Hi everybody. I'm totally new in JDeveloper Studio 11.1.1.4.0 I created a simple project and a JFrame. The JFrame has the title with Persian characters. When I run my project the title will show the Question marks (?). Dose everyone know what can I d

  • Document type and No. range for non leading ledger

    Hi Friends, can anybody tell me about the document type and No. range I can take for the non leading ledger. Regards