J2EE BluePrints Web Application Framework ("WAF")

hi, i need to develop a web application using j2ee patters. but i have no idea where to start. can i use the WAF which comes with petstore application or is there a place where i can download J2EE BluePrints Web Application Framework ("WAF) APIs. i know for using struts, i have to download struts package from apache.org, but don't know how to use J2EE BluePrints Web Application Framework ("WAF"). can someone plz suggest me a way to start developing a application using j2ee patterns.
Thanks for ur help
babu

At the end of application designing, identify for potential problems from the list of design patterns, if you find a problem then you apply that pattern.
Don't start with design patterns because it says design or the design patterns is the buzz word.
--Jay
http://www.architectslobby.org
An exclusive community for Enterprise Architects
Get news, discuss articles, related technologies, architectural topics, design topics, books and more.

Similar Messages

  • What happened to the JATO forum (id=103) AKA Web Application Framework

    What happened to the Jato forum? (id=103) AKA Web Application Framework
    I was available a few weeks ago? Now I'm redirected to this forum=122.

    Hi
    Starting March 1, 2005, Sun Java Studio Standard and Web Application Framework forums are merged into Sun Java Studio Enterprise forum. All forums' content will be saved and moved to its new location.
    You can post your WAF questions here.
    Thanks
    Srinivas

  • PHP/Oracle Web Application Framework

    Hi,
    for people hopping on the Oracle/PHP bandwagon, there's a PHP object oriented Web Application framework that supports Oracle 8.0.5, Oracle 8i, 9i and 10G.
    It's called 'Achievo ATK' and can be found on http://www.achievo.org/atk
    It makes developing a webinterface to an existing Oracle database pretty easy. It boils down to creating PHP classes around the tables, defining the relationships, and an application to manipulate the data (crud) is generated dynamically by the framework.
    To give an example, a complete employee administration application for the 'emp/dept' tables from the scott schema is as much code as:
    <?php
      userelation("atkmanytoonerelation");
      class employee extends atkNode
        function employee()
          $this->atkNode("employee");
          $this->add(new atkAttribute("empno", AF_AUTOKEY));
          $this->add(new atkAttribute("ename",
                                        AF_SEARCHABLE));
          $this->add(new atkManyToOneRelation("deptno",
                             "scott.department",
                             AF_SEARCHABLE));
          $this->setTable("emp");
    ?>
    <?php
      class department extends atkNode
        function department()
          $this->atkNode("department");
          $this->add(new atkAttribute("deptno", AF_AUTOKEY));
          $this->add(new atkAttribute("dname",
                                    AF_SEARCHABLE));
        function descriptor_def()
          return "[dname]";
    ?>The demo application that can be downloaded contains basic emp/dept examples, including the ability to edit a departments employees etc. A slightly different version (including manager link etc.) of the dept/emp example can be found on http://www.achievo.org/atk/demo, lesson 2 in the demo's menu.

    Thanks for letting us know.
    -- CJ

  • Not able to find - Web Application Framework tab in IDE

    Hi
    I just downloaded the sun studio enterprise yesterday, I was trying to follow the tutorial for (http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/jse7/webapp.html
    Developing a Web Application)
    The tutorial says
    1. Select the Web Application Framework tab on the window at the left hand side of the IDE.
    I am not able to find this tab on my IDE. Can anyone tell me how where to find/activate this tab.
    I searched in all the Sub Menus I could not find it. Any help is appreciated.
    Thanks,
    Sai

    Hi
    Thanks for figuring that out, I searched for that tab for 2 hrs.
    Where can I find the tutorial for creating a simple application in JSE8? I looked at
    http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/index.html#jse8
    but everything looks like UML related.
    Thanks
    Jag

  • Errors on Windows2003 with Web Application Framework 4.0 + CR_VS2010

    Hi,
    I have a new scenario about this problem e I would like get some opinions to solve this.
    We have a web Application (Asp.net + vb.net) wrote in VS 2010 using CR_VS 2010 running with Framework target 4.0.
    In Windows 2008 32bits or 64bits (IIS 7.0) the application works fine with Crystal Reports.
    In Windows 2003 32 bits or 64 bits (IIS6.0) some resources of Crystal Reports VS2010 doesn't work like in Win2k8, we have a page that export a report to disk using data set and always receive the message:
    ".. Could not load file or assembly 'file:///C:Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified: C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll"
    The same application is useful on Windows 2008, we follow the instructions identified by KB 1540637, 1525432 and 1217986 but the problem was not solve.
    Another thing that was very strange in this environment ((Windows 2003) is:
    We have a console application that use CR_VS2010 and here the Crystal Reports works perfectly with this lines in application.config:
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
    </startup>
    Is important remember that Web.config of our application already has the configuration above and don't have any reference to another cystal reports (only the version 13 (cr vs2010)).
    Can you help us ?
    Thank you and sorry for the bad english.

    Hi All,
    Thanks for waiting. I have the info now...
    It is fixed in CR 2008 as well.
    This should work also for CR for VS 2010 now, SP is not required, add this key to your PC's:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DesignerOptions]
    "DealWithMinimalMarginsWhenPrinting"="0"
                 Key=0  =>  minimal margins
                 Key=1 or delete key  =>  large margins
    As well here the sample code and note the PrintToPrinter does NOT read this key, you must use RAS:
    For Winform Viewer, it will not impacted this fix... in CR.Net SDK, if user used reportdocument print function like:
    reportDocument.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
    reportDocument.PrintToPrinter(1, true, 1, 1);
    or they tried to print via CrystalReport Winform Viewer
                reportDocument.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
                this.crystalReportViewer1.ReportSource = reportDocument;
                this.crystalReportViewer1.PrintReport();
    Even by setting the following registry key to u201C0u201D, the print out page will be large margin.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal Reports\DesignerOptions]
    "DealWithMinimalMarginsWhenPrinting"="0"
    However if you using RAS.Net SDK to print like following code, it will be affected by the fix:
                ReportDocument reportDocument = new ReportDocument();
                reportDocument.Load(@"C:\Users\Administrator\Documents\Visual Studio 2008\Projects\CrystalReportsApplication1\CrystalReportsApplication1\CrystalReport1.rpt");
                reportDocument.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true; // Please note that, this code is does nothing. The only impacting to print result is the registry key.
                CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions printReportOptions = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
                printReportOptions.AddPrinterPageRange(1, 1);
                printReportOptions.PaperSize = CrystalDecisions.ReportAppServer.ReportDefModel.CrPaperSizeEnum.crPaperSizePaperA4;
                printReportOptions.PrinterName = @"\\CNPVGL002\CN64_BW";
                CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc = reportDocument.ReportClientDocument;
                rptClientDoc.PrintOutputController.PrintReport(printReportOptions);
    Thank you
    Don

  • How can we remove javascript completly from J2EE based web application?

    java script produce lots of problem in web application i just want to remove them comletly

    rinku5259 wrote:
    java script produce lots of problem in web application i just want to remove them comletly3 easy steps
    1. using the mouse or keyboard, select the javascript code
    2. press the delete button on the keyboard
    3. save the file
    do that for each file that has JavaScript in it

  • Deploying a custom Web Application in Oracle Apps 11.5.10..Urgent

    Hi,
    I need to develop and deploy a custom J2EE based Web Application in Oracle Apps (11.5.10).
    Is it mandatory to build it using OA framework?
    As an example, If I develop a "CD Library" J2EE application using JSPs(View),Servlet(Controller) and Utility classes(Model),will it be supported during upgrades in future.
    I have done the same in 11.5.9. (which doesn't have OA Framework support).
    I had deployed JSPs in $OA_HTML, Servlet and model classes in $OA_JAVA.
    I understand that the same is possible in 11.5.10.Can I follow the same approach for 11.5.10?What are the pros and cons?
    Basically, Why should I go for OA Framework to develop and deploy a custom J2EE WebApplication though I can do it as explained above.
    If you are aware of any article on this please share it with me.
    thanks,
    Gowtam.

    Hi,
    Thanks for the reply.
    To conclude my understanding,
    If I create a new J2EE web Application with
    - n number of JSPs
    - 1 servlet
    - and n number of Java model classes,
    I can deploy all these in $OA_HTML and $OA_JAVA and use it as custom application.
    I need few more clarifications
    My JSPs do not follow Oracle BLAF standards
    Java model classes are not BC4J objects
    The servlet is unique for the custom application and page flow does not include invoking OA.jsp.
    Stil, can i continue with my approach?
    Will it be supported during upgrade?
    Thanks,
    Gowtam

  • Problem in JSF with Swing in a web application

    hi
    i am using jsf for my online projects.my problem is that when i use Swing concept ,the server is closed automatically when i click the swing dialog option 'OK', how can i protect server being closed automatically when user click the the options of Swing dialog box.it is so tedious because my application is going to integrate
    with online server?
    my swing java file is
    * FileExistsDialog.java
    package com.obs.ftw.util.alert;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.Rectangle2D;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.plaf.metal.MetalLookAndFeel;
    * FileExistsDialog: A JOptionPane-like dialog that displays the message
    * that a file exists.
    public class FileExistsDialog extends JDialog {
    * The component that gets the focus when the window is first opened
    private Component initialFocusOwner = null;
    * Command string for replace action (e.g., a button).
    * This string is never presented to the user and should
    * not be internationalized.
    private String CMD_REPLACE = "OK"/*NOI18N*/;
    * Command string for a cancel action (e.g., a button).
    * This string is never presented to the user and should
    * not be internationalized.
    private String CMD_CANCEL = "CANCEL"/*NOI18N*/;
    // Components we need to access after initialization
    private JButton replaceButton = null;
    private JButton cancelButton = null;
    public FileExistsDialog(){
         System.out.println("INSIDE THE FILE EXIST DIALOG");
         JFrame frame = new JFrame() {
         public Dimension getPreferredSize() {
         return new Dimension(200,100);
         frame.setTitle("Debugging frame");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.pack();
         frame.setVisible(false);
    FileExistsDialog dialog = new FileExistsDialog(frame, true);
         dialog.addWindowListener(new WindowAdapter() {
         public void windowClosing(WindowEvent event) {
         System.exit(0);
         public void windowClosed(WindowEvent event) {
         System.exit(0);
         dialog.pack();
         dialog.setVisible(true);
    * Creates a new FileExistsDialog
    * @param parent parent frame
    * @param modal modal flag
    public FileExistsDialog(Frame parent,boolean modal) {
    super(parent, modal);
         //initResources();
         System.out.println("INSIDE THE FILE EXIST DIALOG CONSTRUCTOR");
    initComponents();
    pack();
    * Determines the locale, loads resources
    /* public void initResources() {
         Locale locale = Locale.getDefault();
    resources = ResourceBundle.getBundle(
              "samples.resources.bundles.FileExistsDialogResources", locale);
    imagePath = resources.getString("images.path");
    }*/ // initResources()
    * Sets all of the buttons to be the same size. This is done
    * dynamically after the buttons are created, so that the layout
    * automatically adjusts to the locale-specific strings.
    private void equalizeButtonSizes() {
         System.out.println("INSIDE THE equalizeButtonSizes()");
    String[] labels = new String[] {
    replaceButton.getText(),
         cancelButton.getText()
         // Get the largest width and height
         Dimension maxSize= new Dimension(0,0);
         Rectangle2D textBounds = null;
         Dimension textSize = null;
    FontMetrics metrics =
              replaceButton.getFontMetrics(replaceButton.getFont());
         Graphics g = getGraphics();
         for (int i = 0; i < labels.length; ++i) {
         textBounds = metrics.getStringBounds(labels, g);
         maxSize.width =
         Math.max(maxSize.width, (int)textBounds.getWidth());
         maxSize.height =
         Math.max(maxSize.height, (int)textBounds.getHeight());
    Insets insets =
         replaceButton.getBorder().getBorderInsets(replaceButton);
    maxSize.width += insets.left + insets.right;
    maxSize.height += insets.top + insets.bottom;
    // reset preferred and maximum size since BoxLayout takes both
         // into account
    replaceButton.setPreferredSize((Dimension)maxSize.clone());
    cancelButton.setPreferredSize((Dimension)maxSize.clone());
    replaceButton.setMaximumSize((Dimension)maxSize.clone());
    cancelButton.setMaximumSize((Dimension)maxSize.clone());
    } // equalizeButtonSizes()
    * This method is called from within the constructor to
    * initialize the dialog.
    private void initComponents() {
         System.out.println("INSIDE THE initComponents()");
         // Configure the window, itself
    Container contents = getContentPane();
    contents.setLayout(new GridBagLayout ());
    GridBagConstraints constraints = null;
    setTitle("Waring");
         // accessibility - all applets, frames, and dialogs should
         // have descriptions
         this.getAccessibleContext().setAccessibleDescription("Descriptions");
         addWindowListener(new WindowAdapter() {
         public void windowOpened(WindowEvent event) {
              // For some reason the window opens with no focus owner,
              // so we need to force the issue
         if (initialFocusOwner != null) {
              initialFocusOwner.requestFocus();
              // Only do this the 1st time the window is opened
              initialFocusOwner = null;
         public void windowClosing(WindowEvent event) {
         System.out.println("INSIDE THE windowClosing");     
         // Treat it like a cancel
              windowAction(CMD_CANCEL);
         // image
    JLabel imageLabel = new JLabel();
    imageLabel.setIcon(
    new ImageIcon("/images/degraded_large.gif"));
    // accessibility - set name so that low vision users get a description
    imageLabel.getAccessibleContext().setAccessibleName("OK");
    constraints = new GridBagConstraints ();
    constraints.gridheight = 2;
    constraints.insets = new Insets(12, 33, 0, 0);
    constraints.anchor = GridBagConstraints.NORTHEAST;
    contents.add(imageLabel, constraints);
    // header
    JLabel headerLabel = new JLabel ();
    headerLabel.setText("SAMPLE");
    headerLabel.setForeground(
         new Color(MetalLookAndFeel.getBlack().getRGB()));
    constraints = new GridBagConstraints ();
    constraints.insets = new Insets(12, 12, 0, 11);
    constraints.anchor = GridBagConstraints.WEST;
    contents.add(headerLabel, constraints);
         // Actual text of the message
         JTextArea contentTextArea = new JTextArea();
    contentTextArea.setEditable(false);
    contentTextArea.setText("SAMPLE");
    contentTextArea.setBackground(
              new Color(MetalLookAndFeel.getControl().getRGB()));
    // accessibility -- every component that can have the
         // keyboard focus must have a name. This text area has no
         // label, so the name must be set explicitly (if it had a
         // label, the name would be pulled from the label).
    contentTextArea.getAccessibleContext().setAccessibleName(
              "CONTENTNAME");
    constraints = new GridBagConstraints ();
    constraints.gridx = 1;
    constraints.gridy = 1;
    constraints.insets = new Insets(0, 12, 0, 11);
    constraints.anchor = GridBagConstraints.WEST;
    contents.add(contentTextArea, constraints);
         // Buttons
         JPanel buttonPanel = new JPanel();
    buttonPanel.setLayout (new BoxLayout(buttonPanel, 0));
         replaceButton = new JButton();
         replaceButton.setActionCommand(CMD_REPLACE);
    replaceButton.setText("OK");
    replaceButton.setToolTipText("TO OK");
         replaceButton.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent event) {
         windowAction(event);
    buttonPanel.add(replaceButton);
    // spacing
    buttonPanel.add(Box.createRigidArea(new Dimension(5,0)));
         cancelButton = new JButton();
         cancelButton.setActionCommand(CMD_CANCEL);
    cancelButton.setText("CANCEL");
    cancelButton.setNextFocusableComponent(replaceButton);
         cancelButton.setToolTipText("TO CANCEL");
         cancelButton.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent event) {
         windowAction(event);
    buttonPanel.add(cancelButton);
    constraints = new GridBagConstraints ();
    constraints.gridx = 1;
    constraints.gridy = 2;
    constraints.insets = new Insets(12, 12, 11, 11);
    constraints.anchor = GridBagConstraints.WEST;
    contents.add(buttonPanel, constraints);
         // Equalize the sizes of all the buttons
         equalizeButtonSizes();
         // For some reason, the dialog appears with no input focus.
         // We added a window listener above to force the issue
         initialFocusOwner = replaceButton;
    } // initComponents()
    * The user has selected an option. Here we close and dispose the dialog.
    * If actionCommand is an ActionEvent, getCommandString() is called,
    * otherwise toString() is used to get the action command.
    * @param actionCommand may be null
    private void windowAction(Object actionCommand) {
         System.out.println("INSIDE THE WINDOW ACTION");
         String cmd = null;
    if (actionCommand != null) {
         if (actionCommand instanceof ActionEvent) {
         cmd = ((ActionEvent)actionCommand).getActionCommand();
         } else {
         cmd = actionCommand.toString();
         if (cmd == null) {
         // do nothing
         } else if (cmd.equals(CMD_REPLACE)) {
         System.out.println("your replace code here...");
         } else if (cmd.equals(CMD_CANCEL)) {
         System.out.println("your cancel code here...");
         setVisible(false);
         dispose();
    } // windowAction()
    * This main() is provided for debugging purposes, to display a
    * sample dialog.
    // main()
    } // class FileExistsDialog
    and calling java function is
    public String fileDialog(){
         return "Success";
    public void processFile(ActionEvent event){
         System.out.println("INSIDE THE FILE DIALOG");
         FileExistsDialog file     = new FileExistsDialog();
         System.out.println("SUCCESS");
    called from
         <h:commandButton action="#{userLogin.fileDialog}" actionListener="#{userLogin.processFile}"></h:commandButton>
    pls help me as soon
    advance thanks
    rgds
    oasisdeserts

    Swing is GUI library for use in desktop applications.
    JSF is a web application framework which runs on an application server and is accessed by clients via web browsers.
    To fully understand what you have done, try accessing your application from a different machine than the server.
    To answer your question, don't invoke System.exit() if you would like the process to continue. But that is the least of your problems.

  • Which is the best reporting tools/sw available for J2EE based web app?

    Hi,
    I am looking for best reporting tools/sw available for J2EE based web application.
    Please help in this...
    Regards
    kundan krishna chakraborty

    Hi,
    maybe you can have a try RAQ Report. It is a powerful pure Java reporting tool which is very easy to learn.
    You can get the free version at http://www.raqsoft.com/.
    Good luck!

  • ISA apps in CRM 2007 still JSP Struct based Web application OR BSP Web UI

    Hi, SDN Experts.
    Is the ISA (Internet Sales) appications in CRM 2007 stil runs in JSP Struct based Web application framework OR now it has switch to the BSP Web UI based web applications?
    I know that the previous PCUI based applications have been switched to BSP Web UI based applications, but I am not sure about the ISA.
    Can anyone also point me to some resources/materials to identify what changes CRM 2007 compare to CRM 2005  /6.0 in details?
    Thanks for advise,
    KC

    KC,
    ISA in CRM 2007 is in JSP still..
    www.help.sap.com would be the best option to start
    Regards,
    Vinay

  • Questions on Deployment of Web Application in J2EE

    SAP's Portal Component API includes custom framework called DynPage. There is another framework called iViews. Both have been in existence since 2002. Which is the latest and greatest way to move a J2EE Web application based on Java Servlets, JSP, and mySQL to SAP EP. The application uses a well-designed service API which would return Java objects. Being a Web application, we have controllers which delegate HTTP requests to the service layer methods; these methods  in turn call the database through DAO classes, execute business logic and return Plain Old Java Objects. We do not use any EJBs at all, be it session or entity EJBs. What changes should be made to this kind of an application to make it deployable in SAP EP?

    Hi selvaKumar
    The portal Developement Kit i.e PDk is the technology to develope the portal content  in an application which is again deployed in the EP Server .See the iView concept in the portal is just to display the content in the portal.The content may be any thing.Whatever may be the technology you used the User Interface can be shown to the portal users via IViews.As you know PDk and IViews are the Part of NetWeaver EP .IView is basically a unit for content (info )in the portal .If you want to use JSP custom and standard tags in PDk then you will go for JSpDynpage kind of portal components.EP is basically to build UserInterfaces and used in enterprises to work efficiently on the basis of Roles performed by employees of a company.The basement of PDk or webdynpro is Java/J2ee only.Migration is not at all an issue because if you know java ,EP Developement and Implementation you can easily learn with little effort.What ever may be the application or technology you can integrate it into EP.
    regards
    venkatakalyan K

  • How can i send the chinese sms using java J2EE(web application)

    hi,
    i have the difficulty on sending chinese sms using J2EE application.i try to input the chinese word to jsp and send the plain text sms. i received the sms with plenty of question mark "?????". i think it is regarding to the conversion of String to some kind of format that supported by mobile phone. below are some code the send the sms to recipient. i need someone help in order to have the solution.
    thanks a lot
    <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
    <%@ page import="se.sapio.rta.service.MPMService"%>
    <%@ page import="java.util.Locale"%>
    <%
         Locale.setDefault(Locale.UK);
         Context ctx;
         MPMService mpmservice;
         ctx = new InitialContext();
         mpmservice = (MPMService) ctx.lookup("BC/Service/RTAMPM");
         LSUser user = null;
         boolean ok = true;
         try {
         if (ok) {
              String sender = request.getParameter("sender");
              String phonenr = request.getParameter("phonenr");
              String sendmsg = request.getParameter("sendmsg");
              if(bError) {
                   byte[] bytes = message.getBytes("UTF-8");
                   message = mobileclientservice.ByteEncode(bytes);          
                   response.sendRedirect("send_sms.jsp?s="+request.getParameter("s")+"&msg="+message+"&phonenr="+request.getParameter("phonenr").replaceAll("\\+","%2B")+"&sender="+request.getParameter("sender")+"&sendmsg="+request.getParameter("sendmsg").replaceAll("\\+","%2B"));
              String resp = "";
              if(mpmservice.sendPlainTextSMS(sender, phonenr, sendmsg)) {
                   resp=mpmservice.getLang(user.getLang(), "sms_sent");
              } else {
                   resp=mpmservice.getLang(user.getLang(), "sms_not_sent");
              } %>
              <jsp:include page="/top.jsp" />
              <p class="headline"><%=mpmservice.getLang(user.getLang(), "send_sms_title")%></p>
              <form name="operatordetails" id="operatordetails" method="post" action="send_sms.jsp">
              <INPUT TYPE=hidden NAME=s VALUE="<%=request.getParameter("s")%>">
              <INPUT TYPE=hidden NAME=phonenr VALUE="<%=request.getParameter("phonenr")%>">
              <table class="infotable" id="report">
                   <tr>
                        <td class="left" colspan="2"><%=resp%></td>
                        <td class="right"></td>
                   </tr>
                   <tr>
                        <td class="left" colspan="2">
                             <input class="halfmiddle" name="Back" type="submit" id="Back" value="<%=mpmservice.getLang(user.getLang(), "back")%>" />
                        </td>     
                        <td class="right"> </td>
                   </tr>
              </table>
              </form>
              <jsp:include page="/bottom.jsp" />
         <% } %>
       public boolean sendPlainTextSMS(String sender, String recipient, String sendmsg){
             if(recipient.charAt(0) == '+')
                   recipient = recipient.substring(1);
             String senderIdType = "Alpha";
              if( (sender.charAt(0) >= '0' && sender.charAt(0) <= '9') || sender.charAt(0) == '+')
                   senderIdType = "Numeric";
                   if(sender.charAt(0) == '+')
                        sender = sender.substring(1);
                   for(int i=0; i < sender.length(); i++)
                        if(!(sender.charAt(i) >= '0' && sender.charAt(i) <= '9'))
                             senderIdType = "Alpha";
             log.warn("sending sms to: "+recipient + " sendtype: " + senderIdType + " msg: "+ sendmsg);
             log.warn("Encoded sms:"+Encode(sendmsg));
             try{
             String postData = "XMLDATA=" + URLEncoder.encode("<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\r\n" +
                        "<NotificationRequest Version=\"3.4\">\r\n" +
                        "     <NotificationHeader>\r\n" +
                        "          <PartnerName>" + SMS_PARTNER_NAME + "</PartnerName>\r\n" +
                        "          <PartnerPassword>" + SMS_PARTNER_PASSWORD + "</PartnerPassword>\r\n" +
                        "          <SubscriptionName>XML</SubscriptionName>\r\n" +
                        "     </NotificationHeader>\r\n" +
                        "     <NotificationList BatchID=\"1\">\r\n" +
                        "          <Notification SequenceNumber=\"0\" MessageType=\"SMS\">\r\n" +
                        "          <Message>" + Encode(sendmsg) + "</Message>\r\n" +
                        "          <Profile>" + SMS_PARTNER_PROFILE + "</Profile>\r\n" +
                        "          <SenderID Type=\"" + senderIdType + "\">" + sender + "</SenderID>\r\n" +
                        "          <Subscriber>\r\n" +
                        "               <SubscriberNumber>" + recipient + "</SubscriberNumber>\r\n" +
                        "          </Subscriber>\r\n" +
                        "      </Notification>\r\n" +
                        " </NotificationList>\r\n" +
                        "</NotificationRequest>","ISO-8859-1");
      appreciate for anyone provide the solution.
    thanks a lot

    Hi,
    I want to send sms from web application to mobile phones at the time of registration. Its verymuch greatful to me, if you let me know, how to send from jsp to mobile. because from your post, i got, you already know about sending sms from jsp to mobile.
    please let me know, how to send sms
    [email protected]
    Thanks in advance for your kind help

  • How a J2EE web application access CR reports stored on the CR Server XI?

    Hi,
    I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
    My questions are:
    1. How my J2EE web application access those reports?
    2. Do my web application uses some CR API for the connectivity and integration?
    3. What will happen to the database connectivity of the report template? since the report are created locally.
    4. Can the report template be edited/updated on the server?
    5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
    6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
    7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
    I hope you can provide some guidance on this journey to Crystal Report world
    Regards,
    Rulix Batistil
    Genesis Networks Pte Ltd
    www.gen-net.com.sg

    1) Your application connects via the Java SDK using the appropriate JAR files.
    2) It can.  You can set the database information at runtime or use the already populated information from Enterprise.
    3) Same as 2.   Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting.  You can change this via code to hit whatever equivalent database you want.
    4) Yes.  You would have to use RAS and the RCAPI to accomplish this via code.  You can also make changes in the designer and overwrite the existing report template.
    5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
    6) It can be deployed to the same machine as CR Server, though we recommend against that.  Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
    7) RAS can be used to run reports, as well as the page server.  The universe and business view manager are not directly used in code.  If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
    [BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
    Best Regards,
    Jason

  • Calling web service from oracle application framework r12

    Hi Techies
    Is anybody know How to call web service from oracle application framework r12(step by step procedure),because i searched in net but i could not understand that one
    Thanks
    Dillibabu B
    Edited by: 962005 on 28 Sep, 2012 12:11 AM

    Hi,
    Check below links:
    http://oracle.anilpassi.com/oa-framework-with-captcha-webservice.html
    http://oracle.anilpassi.com/integrate-oa-framework-with-web-service.html
    https://blogs.oracle.com/ebusinesssuiteintegration/entry/r121_-invokingweb_service_fr
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Deploying a J2EE web application in Oracle 10g

    Hi friends,
    <br>
    I had worked with Oracle9i 9.0.3 . But it's my first experience with Oracle 10g . I have installed Oracle 10g Infrastructure , Metadata Repository and one Middle tier - Forms and i hope i have followed The Oracle 10g installation guide Properly. Anyway installation is successful.
    The problem is a J2EE web application which is deployed properly on Oracle9i 9.0.3 doesn't get deployed in Oracle 10g. The following is the exception :
    <br>
    Deployment failed: Nested exception
    Root Cause: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application Spom_Apps: Error loading package at file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar, Error deploying file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar homes: No location set for Topic resource MessageDrivenBean JmsReceiverMdb
    <br>
    <br>
    where JmsReceiverMdb is the deployment file containing the message driven beans.
    <br>
    Thanks in advance,
    paskal

    Hi,
    Thanks for responding . I am sending the file contents of ejb-jar.xml, orion-ejb-jar.xml, jms.xml.
    Could you also check whether dtds versions of 10g and 9i in these xmls are conflicting? If you can specify your email-id i can send these file as attachments.
    Hope you could strike the right spot.
    ejb-jar.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>spomPmConfigSSB</display-name>
    <ejb-name>spomPmConfigSSB</ejb-name>
    <home>jnipackage.spomPmConfigSSBHome</home>
    <remote>jnipackage.spomPmConfigSSB</remote>
    <ejb-class>jnipackage.impl.spomPmConfigSSBBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    <message-driven>
    <description>Message Driven Bean</description>
    <display-name>JmsReceiverMdb</display-name>
    <ejb-name>JmsReceiverMdb</ejb-name>
    <ejb-class>jnipackage.impl.JmsReceiverMdbBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <resource-ref>
    <res-ref-name>jms/alarmTopicConnectionFactory</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/alarmTopic</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>JmsReceiverMdb</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>spomPmConfigSSB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Orion-ejb-jar.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar>
    <enterprise-beans>
    <message-driven-deployment name="JmsReceiverMdb" max-instances="100" min-instances="0">
    <resource-ref-mapping name="jms/alarmTopicConnectionFactory"/>
    </message-driven-deployment>
    <session-deployment name="spomPmConfigSSB"/>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping impliesAll="true" name="&lt;default-ejb-caller-role>"/>
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    jms.xml
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE jms-server PUBLIC "OC4J JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server-9_04.dtd">
    <jms-server port="9127">
    <!-- Queue bindings, these queues will be bound to their respective
    JNDI path for later retrieval -->
    <queue name="Demo Queue" location="jms/demoQueue">
    <description>A dummy queue</description>
    </queue>
    <!-- Topic bindings, these topic will be bound to their respective
    JNDI path for later retrieval -->
    <topic name="Demo Topic" location="jms/demoTopic">
    <description>A dummy topic</description>
    </topic>
    <!-- Topic bindings, these topic will be bound to their respective
    JNDI path for later retrieval -->
    <topic name="AlarmQueue" location="jms/alarmTopic">
    <description>A topic</description>
    </topic>
    <topic name="FaultTextQueue" location="jms/faultTextTopic">
    <description>A topic</description>
    </topic>
    <topic name="FaultTopologyQueue" location="jms/faultTopologyTopic">
    <description>A topic</description>
    </topic>
    <!-- path to the log-file where JMS-events/errors are stored -->
    <log>
    <file path="../log/jms.log"/>
    <!-- Uncomment this if you want to use ODL logging capabilities
    <odl path="../log/jms/" max-file-size="1000" max-directory-size="10000"/>
    -->
    </log>
    <queue name="jms/OracleSyndicateQueue" location="jms/OracleSyndicateQueue">
    <description>Oracle Syndication Services Queue</description>
    </queue>
    <!--
    <queue-connection-factory name="jms/OracleSyndicateQueueConnectionFactory"
    location="jms/OracleSyndicateQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleSyndicateQueueConnectionFactory"/>
    <queue name="jms/OracleUddiReplicationQueue"
    location="jms/OracleUddiReplicationQueue">
    <description>Queue for replication scheduler</description>
    </queue>
    <!--
    <queue-connection-factory
    name="jms/OracleUddiReplicationQueueConnectionFactory"
    location="jms/OracleUddiReplicationQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleUddiReplicationQueueConnectionFactory"/>
    <queue name="jms/OracleWebClippingQueue"
    location="jms/OracleWebClippingQueue">
    <description>Queue for Web Clipping</description>
    </queue>
    <!--
    <queue-connection-factory
    name="jms/OracleWebClippingQueueConnectionFactory"
    location="jms/OracleWebClippingQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleWebClippingQueueConnectionFactory"/>
    </jms-server>

Maybe you are looking for

  • Getting Error message while open a SWF file from desktop and any other location

    dear all., I am using Flash CS4, when I publish SWF movie and open it directly from directories I get an error message. (The image of error message attached, Plz, help me to short out this problem. ASAP. Thanks in advance.

  • Dynamic Select with different number of rows

    Hi all, I have a procedure who receives a table name and array of column names of that table. I need to create a specific select statement with this parameters. Of course, this could change because the number of column names may differ from each invo

  • **RAN IPOD UPDATER 2005-11-17 WON'T RECOGNIZE MY IPOD**

    I ran the latest updater on my fully charged monochrome screen IPOD 4?th generation and after it finished wiping my IPOD The IPOD is not recognized by the updater or the Systems software 2.0.1 install program. In the Windows task manager the IPODSERV

  • Can't Export to Disk

    Hi Unless I'm missing something, I cannot export a simple single voice track to 'Disk' When I go to GB Preferences then to Export, the little circle with the dot - 'Save to Disk' is NOT shaded, (doesn't seem to be active). The only way I can retrieve

  • Listening to an e-book synchronized to Zen Mi

    When you download an e-book to your computer it is necessary as most people know that a license has to be downloaded also so that you can listen to the book?on your computer. This license usally has a life span of thirty days after which the book can