Create First MVC Application In Eclipse

Hi all.
i use eclipse for development sap ui5 applications.
i use xml view.(What do you suggest you(js ?)).
my controller.js;
sap.ui.controller("ui5_example.oView", {
onInit: function() {
  var oView = this.getView();
  var oModel = new sap.ui.model.json.JSONModel("source.json");
  oView.setModel(oModel);
my xml view;
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
  controllerName="ui5_example.oView" xmlns:html="http://www.w3.org/1999/xhtml">
  <Page title="UI5 MVC TEST">
  <content>
  <List
     headerText="Kişiler"
     items="{path: '/'}" >
     <StandardListItem
       title="{bpnm}"
       iconDensityAware="false"
       iconInset="false" />
   </List>
  </content>
  </Page>
</core:View>
my html file;
<script>
  sap.ui.localResources("ui5_example");
  var app = new sap.m.App({initialPage:"firstView"});
  var page = sap.ui.view({id:"firstView", viewName:"ui5_example.oView", type:sap.ui.core.mvc.ViewType.XML});
  app.addPage(page);
  app.placeAt("content");
  </script>
i running project but showing not data.
please help me

Hi,
first check in chrome console if there are any errors. press F12 which will open chrome console. check where is your source.json located. also refer this sample code JS Bin - Collaborative JavaScript Debugging&lt;/title&gt; &lt;link rel=&quot;icon&quot; href=&quot;http://static.jsbin.…
Regards,
Chandra

Similar Messages

  • Create a web application in eclipse

    hi,
    There's anybody have a tutorial kit on how to create web application in eclipse 3.3 version.
    I only have a web server apache tomcat.
    Thanks in advance.

    Eclipse Web Tools Platform: http://www.eclipse.org/webtools/
    Eclipse WTP tutorials: http://www.eclipse.org/webtools/community/communityresources.php#tutorials
    Eclipse WTP webapplication tutorial: http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html

  • Need step by step instruction to develop first jsf application in eclipse

    Hello budy,
    I m really anxcious to learn the jsf technology, i can get the advance knoledge later as my own, just need instructions for developing first web application using jsf technology in the industy leader ide the eclipse ,. some questions produce in my mind while developing same application as:-
    1. what basic(common) jar files are needed to develop the application.
    2. how to configure all the necessary files, and what directory structure we need to follow.
    3. how to configure mysql database to use in the application using Hibernate persistence technology.
    Thanx

    See the tutorial, or buy a book. This is a ridiculous question to ask on a forum.

  • How to create an EJB Application in Eclipse 3.2

    hi all,
    any one suggest me, what are the external jars need to be include in eclipse to cretae the ejb applications.
    Thanx in advance.
    Bala

    The javaee.jar from the Java EE SDK should be sufficient. Just add this jar to the installed JRE (Window - Preferences - Java - Installed JREs - Edit). You need at least the javax.ejb package.
    There is a dedicated subforum for EJB stuff by the way http://forum.java.sun.com/forum.jspa?forumID=13

  • Help with creating first Flex application

    I'm making my first Flex website for a client.
    But - I have no experience!
    Is there any tutorials that someone can throw me to?
    The site is a photographic portfolio.
    Thanks in advance. :)

    Save some time and buy the orilley book on flex2

  • How to create a java application & call it from a PDA via TELNET

    Dear All,
    My objective is to create a java application that's hosted on a server and called remotely from a PDA using TELNET.
    I've created a java application using Eclipse & the jCurses library. Unfortunately, the jCurses API events and listener aren't enough and i wasn't able to achieve my target application functionality.
    Can anyone advise a library other than jCurses that can help create a java application that can be called from a PDA via TELNET?
    Is AWT an option ?
    Thanks in advance for your support,
    Best regards,
    Lana

    user10827661 wrote:
    My objective is to create a java application that's hosted on a server and called remotely from a PDA using TELNET.
    I've created a java application using Eclipse & the jCurses library. Unfortunately, the jCurses API events and listener aren't enough and i wasn't able to achieve my target application functionality.
    Can anyone advise a library other than jCurses that can help create a java application that can be called from a PDA via TELNET?
    Is AWT an option ?Your server side Java application can use a Java library that
    creates a java.net.ServerSocket to listen for TCP connections from TELNET clients.
    You do not need any graphics (jCurses or AWT) on the server side, telnet is a simple ascii protocol.

  • FileUpload does not work in MVC application

    I created an MVC application with controllers and views for the different frames (header.do/header.htm, menu.do/menu.htm, toolbar.do/toolbar.htm, statusdo./status.htm, detail.do/detail.htm). The main-controller is front.do, the main-view is front.htm
    The detail-view is realized as a "sub-MVC-application" because it is rather complex (subfront.do/subfront.htm).
    This sub-MVC uses some controllers and views for the detail-frame.
    My problem is that fileUpload does not work in this sub-sub-view. I cannot get the attributes like filename.
    In a page with flowlogic it works fine. I also tried to put the code for the fileUpload in a page fragment and include it in the page with flowlogic which also works fine.
    But when I include this page fragment in the view it does not work either. The code in the layout-section of the page fragment looks as follows
    <%@page language="ABAP" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <htmlb:gridLayout columnSize="2" rowSize="1" cellSpacing="5" cellPadding="5" width="100%">
      <htmlb:gridLayoutCell columnIndex="1" rowIndex="1">
        <htmlb:fileUpload id="fuDokument"/>
        <htmlb:button id="submitButton" text="Upload" onClick="HandleUpload"/>
      </htmlb:gridLayoutCell>
      <htmlb:gridLayoutCell columnIndex="2" rowIndex="1">
        <%
      DATA: ref_htmlb_fileupload TYPE REF TO CL_HTMLB_FILEUPLOAD.
      ref_htmlb_fileupload ?= CL_HTMLB_MANAGER=>GET_DATA( request = request id = 'fuDokument' name = 'fileUpload' ).
      IF ref_htmlb_fileupload->file_name         IS INITIAL. ref_htmlb_fileupload->file_name = ' '.         ENDIF.
      IF ref_htmlb_fileupload->file_content_type IS INITIAL. ref_htmlb_fileupload->file_content_type = ' '. ENDIF.
         %>
        <htmlb:textView text="Uploaded:"/>
        <htmlb:textView text="<%=ref_htmlb_fileupload->file_name %>"/>
        <htmlb:textView text="Content-Type:"/>
        <htmlb:textView text="<%=ref_htmlb_fileupload->file_content_type %>"/>
        <htmlb:textView text="Length:"/>
        <htmlb:textView text="<%=ref_htmlb_fileupload->file_length %>"/>
      </htmlb:gridLayoutCell>
    </htmlb:gridLayout>
    Any help would be highly appreciated
    Markus

    Hi,
    Info: I'm just learning bsp for 2 weeks...
    I've a question related to fileUpload in MVC application.
    Actually I created a tableView with an iterator.
    In the IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START method of this iterator I want to display an input field for file upload if the third line of my table is selected.
    This is my code:
    DATA: lo_file TYPE REF TO CL_HTMLB_FILEUPLOAD.
    lo_file = CL_HTMLB_FILEUPLOAD=>FACTORY(
    *              ACCEPT        =
                  ID            = p_cell_id
    *              ID_POSTFIX    =
    *              MAXLENGTH     =
                 ONUPLOAD      = 'upload'
                  SIZE          = '100'
    *              TEXTDIRECTION =
                  TOOLTIP       = 'Result file'
    *              UPLOAD_TEXT   =
                p_replacement_bee ?= lo_file.
    but I don't get anything. My row is selected, but I don't see a input field.
    Can someone help me?

  • How to run an application i created in java without using eclipse

    Im familiar with running an application i create thru command prompt or eclipse, how do i create a file to run on any computer with java so i can double click the file and my application runs. C# automatically does this, do i need to do an extra step to the jar file?

    Hi,
    You need to make an executable JAR file. There are a few ways you can do this but since you are using Eclipse you can follow this tutorial.
    [http://www.fsl.cs.sunysb.edu/~dquigley/cse219/index.php?it=eclipse&tt=jar&pf=y]
    The most important part is the manifest file, if you have dependencies on other JAR files they will need to be specified along with the
    main method to call to start you program. You can do this via the Eclipse Wizard.
    It will be in your interests to read this tutorial also
    [http://java.sun.com/docs/books/tutorial/deployment/jar/]

  • Create MVC Framework UI to load others MVC application and those should display their view in Framework UI Layout and work independently

    Hi,
    How it is possible to develop a UI Framework/ MVC UI Framework which will loads the others MVC Application. The Framework will show the views of loaded MVC app into UI Framework view. At the same time the Framework UI will show the default view of each loaded
    MVC app(Module). If user click on any MVC Module on the UI then that MVC module should update itself by calling its own controller and others MVC app view should not disturb due to this operation. The UI Framework layout need to facilitate somehow to show
    the default view of each MVC somehow in different DIV. All MVC App will work independently and having communication with UI Framework only. HTML5, CSS3 and MVC 5 can be used
    Can anyone please suggest how to proceed on this?

    That's a strange request, but anyway, the MVC section is at the link below,
    http://forums.asp.net/1146.aspx/1?MVC

  • How to create custom BSP application in SAP CRM?

    Hi Experts,
    I would like to seek help from you. I am new in developing CRM objects. My first requirement is to create a custom program that will generate a PDF report.
    First thing I would like to know is the transaction code where I need to create a BSP application that will be able to run in crm webclient. Please clarify if it is in BSP_WD_CMPWB or in SE80 because it is said that I should create BSP application using MVC.
    Second thing is how will I be able to call a smartforms in a BSP application. The scenario for my custom program would be, I should have a two input fields in the selection-screen which are Business Partner ID and Product Lines. together with a button that will trigger the form when ticked.
    Hope to hear from all of you. Your help will be very much appreciated.
    Thanks and Regards,
    Monica

    Hello MonicAnna,
    You can find some information on this page.
    (http://help.sap.com/saphelp_nw70/helpdata/en/59/cd7daa07d711d5b66f006094192fe3/content.htm)
    And also you dont have to use se80 to create new Bsp appliaction. You can create new application by this transaction BSP_WD_CMPWB.
    Zafer,
    Edited by: Zafer Kuru on Dec 5, 2011 10:12 AM

  • How to create the jms application in eclipse3.5 ide

    Any body please help me to create the jms application in eclipse3.5.....i am new to this jms technology ........pls help
    me regarding this

    What kind of help are you expecting here? I would expect that your first stop is a good book on JMS technology, an perhaps a visit to the Eclipse website to read up how to do JEE development using it.
    Lack of knowledge is a problem you can easily fix yourself and must fix yourself. But perhaps you would like some book suggestions?

  • First Spring Application .Help needed.java.lang.ClassNotFoundException

    Hi
    i am new to this site and java Springs, I couldn't find seprate spring forum so i am posting my question here.
    i hope its not a problem.
    I am very new to Springs and struggeling through my first Spring MVC application. can any one help me here.
    Here is what i have done uptill now.
    WEB.XML
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
        <servlet>
            <servlet-name>HelloSpring</servlet-name>
            <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
            </servlet>
        <servlet-mapping>
            <servlet-name>HelloSpring</servlet-name>
            <url-pattern>*.htm</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>      
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
         <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
    </web-app>
    HelloSpring-servlet.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN/EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
        <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
            <property name="mappings">
                <props>
                    <prop key="/hello.htm">HelloSpringController</prop>
                </props>
            </property>
        </bean>
        <bean id = "HelloSpringController" class="HelloSpringController" />
    </beans>
    index.jsp
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Hello Spring</title>
        </head>
        <body>
        <form action="hello.htm"  method="POST">
            What is your name?
            <input type="text" name="yourName" value="" />
        </form>
        </body>
    </html>
    welcome.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Hello Spring</title>
        </head>
        <body>
        Hello <c:out value="${name}" />
        </body>
    </html>
    HelloSpringController.java (in default package)
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.Controller;
    public class HelloSpringController implements Controller {
        public HelloSpringController() {
        public ModelAndView handleRequest(HttpServletRequest httpServletRequest,
                                          HttpServletResponse httpServletResponse)
                                            throws Exception {
            String name = httpServletRequest.getParameter("yourName");
            return new ModelAndView("welcome.jsp", "name", name);
    }After Entering name in the text box of index.jsp, i am getting the following error.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet HelloSpring threw exception
         org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         java.lang.Thread.run(Unknown Source)
    root cause
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlMapping' defined in ServletContext resource [/WEB-INF/HelloSpring-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [HelloSpringController] for bean with name 'HelloSpringController' defined in ServletContext resource [/WEB-INF/HelloSpring-servlet.xml]; nested exception is java.lang.ClassNotFoundException: HelloSpringController
         org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451)
         org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
         org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
         org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
         org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
         org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
         org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:330)
         org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:266)
         org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:236)
         org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
         javax.servlet.GenericServlet.init(GenericServlet.java:211)
         org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.ClassNotFoundException: HelloSpringController
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
         org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
         org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327)
         org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1066)
         org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(AbstractBeanFactory.java:1094)
         org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFactory.java:354)
         org.springframework.context.support.AbstractApplicationContext.isSingleton(AbstractApplicationContext.java:745)
         org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:255)
         org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:125)
         org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:103)
         org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
         org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:72)
         org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:304)
         org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1168)
         org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
         org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
         org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
         org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
         org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
         org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
         org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:330)
         org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:266)
         org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:236)
         org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
         javax.servlet.GenericServlet.init(GenericServlet.java:211)
         org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         java.lang.Thread.run(Unknown Source)Can anybody tell me what is am doing wrong .. it will be a greate help...
    thanks in advance

    vikash_sharma wrote:
    Thanks for another quick reply
    here is the folder structure of war.
    HelloSpring.war
    -----------Bin (empty)Wrong. No need for this. Remove it.
    ------------src/HelloSpringController.javaWrong. Source code doesn't go in WAR.
    ------------WEB-INF/classes(empty)there's your problem. the HelloSpringController.class has to be in there.
    /libWhere are the Spring JARs?
    /META-INF
    /tldDon't need /tld.
    ------------welcome.jsp
    ------------index.jspWhere's your web.xml? Where is the Spring configuration?
    You're still blank. Not even close to correct. You don't seem to know Java well enough to tackle this. You will NOT be able to accomplish this by asking questions here. Go back and learn more basics.
    %

  • 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?

  • Just finished my first Java application. What's next?

    Thanks to the kind help from everyone on this forum and some intensive labor for the last couple of months, I've finally given birth to my first Java application. I used Netbeans as my IDE of choice. During the development stages I would run my project directly from the IDE. In the project folder, a total of five folders were created: build, dist, nbproject, src, and test as well as two files build.xml and manifest.mf.
    Being a newbie in this field, I was wondering about the remaining steps needed to distribute the application. Here are some questions that come to mind:
    1) I know I can simply just double-click the project's *.jar* file to get it work. Is that the norm with Java applications or do I need to create a different file? I'm used to seeing *.exe* files. I'm also used to seeing an installation process, which brings me to my next question.
    2) Do you simply just zip the entire project folder and allow people to download it on their computer hoping they know how to access the *.jar* file?
    3) Seeing that I've only been testing the application in Netbeans, will there be file path or classpath problems if I run it on other computers? Are there necessary steps I need to follow to avoid such problems?
    4) Do you take any precautionary steps to protect your code? Do you lock the folders?
    5) In the future, if I decide to add a small fee to download the application, how hard would it be to add a password activation feature? (I know this could get pretty complex)
    Thanks in advance for all your suggestions.

    mohogany wrote:
    Thanks to the kind help from everyone on this forum and some intensive labor for the last couple of months, I've finally given birth to my first Java application. I used Netbeans as my IDE of choice. During the development stages I would run my project directly from the IDE. In the project folder, a total of five folders were created: build, dist, nbproject, src, and test as well as two files build.xml and manifest.mf.
    Being a newbie in this field, I was wondering about the remaining steps needed to distribute the application. Here are some questions that come to mind:
    1) I know I can simply just double-click the project's *.jar* file to get it work. Is that the norm with Java applications or do I need to create a different file? I'm used to seeing *.exe* files. I'm also used to seeing an installation process, which brings me to my next question.It's quite common to provide a shell script (batch file, etc) to launch the app.
    2) Do you simply just zip the entire project folder and allow people to download it on their computer hoping they know how to access the *.jar* file?You can do. There are also installation utilities around. InstallAnywhere is the only one I've ever used, but others do exist.
    3) Seeing that I've only been testing the application in Netbeans, will there be file path or classpath problems if I run it on other computers? Are there necessary steps I need to follow to avoid such problems?Probably. The best way to avoid them is to test them, and to not ever depend on the CLASSPATH environment variable. That's a portability nightmare.
    4) Do you take any precautionary steps to protect your code? Do you lock the folders? Nope.
    5) In the future, if I decide to add a small fee to download the application, how hard would it be to add a password activation feature? (I know this could get pretty complex) Don't bother. Unless you've got something amazing, in which case you'll be needing lawyers, it's not worth the trouble of charging for it. No offence, but your first Java app is hardly going to set the world on fire anyway.
    No matter what you try and do to stop people stealing your code, they'll manage it. Or, alternatively, just steal your idea instead.

  • Create a swing application with reflection

    Hi folks, I'm seeing the possibility to create a application like eclipse wich loads the classes in a folder and builds the application , but I have a doubt, how organize the components in application , how I will add a component in a menu, how I will build the hierarchy , separating menus,panel and buttons , anyone have idea ?
    Thanks .

    1) Use JEditorPane
    2) Need to Highlight syntax
    3) Need to show lines
    check out these links
    coweb.cc.gatech.edu/mediaComp-plan/uploads/95/JESGutter.1.java
    http://javaalmanac.com/egs/javax.swing.text/style_HiliteWords2.html
    Now to popup
    setLayout for the JEditorPane to null
    You will have one JComboBox /or popup with all the properties and methods
    of the class.
    now add that JComboBox to JEditorPane
    You can get the position of the dot by using
    Point point = editorPane.getCaret().getMagicCaretPosition();
    popupMenu.show( jEditorPane,
    (int)point.getX(),
    (int)point.getY());
    Here you can show JComboBox too. (Absolute positioning).
    Now as you need to use JEditorPane implement DocumentListener on it.
    Using caret listener you can get the current word.
    You can use getClass() for that. Add all the methods and properties in JComboBox or Popup.
    As for other properties such as saving keywords, search, 'files opened' etc.
    you can use xml.

Maybe you are looking for