Shine J2EE Appplication Framework - A New MVC -JWMS-Ajax Framework

Hi Dears
Shine is a Java-J2EE Application Framework/JWMS(Java Web Model Service)Framework/MVC Framework/Service Oriented Framework. Shine Includes Ajax Libs/Server API/J2EE Architecture. Shine Supported JSF/Spring/AspectJ/Struts/Hibernate/...
You can use Shine Framework for Implement ERP Web Based Application, Web Based Operating System, WFM Web Based Application, CRM Web Based Application, HRM Web Based Application, BPR Web Based Application, Or ... Web Based Application, Shine Registered in Source Forge.
This Framework is a Java Service Oriented Framework for Web Based Project. This Framework include:
* MVC (Model View Controller)
* Ajax
* Service Oriented Scope
* JWMS (Java Web Model Service)
Shine Framework is a Java Web Model Service Framework.
Shine Framework is very easy, stable. You can use other Framework by Shine Framework:
*Hibernate
*Struts
*Spring
*And Other Framework
JWMS And Shine J2EE Framework ?
JWMS is a J2EE Architecture for implement Service Oriented Web-Based Appliction you can get more information about this and Shine J2EE Application Framework by -> J2EE And Service Oriented Programming :
http://j2sos.googlegroups.com/web/J2EE_And_Service_Oriented_Programming+(English).doc?gda=VCp-YWkAAABaK1bFJn7XMhSpdkjvrT6Pd5MA3H6uh5taxEUxR6gwSUWwa05VcrqgHRSC0l_xcf_5FoxLEBXNbyq4-bBifvraWOZGQE6LgzeTU5Q6eFny4M-fIZvKNC5H8bRWhAn1psCECKgQbmraGdxlZulaYnsh
Or
http://j2sos.googlegroups.com
Report: http://sourceforge.net/tracker/?group_id=244136
Forum: http://sourceforge.net/forum/?group_id=244136
News: http://sourceforge.net/news/?group_id=244136
Wiki: http://shine-app.wiki.sourceforge.net/space/pagelist
Rank: http://sourceforge.net/project/stats/rank_history.php?group_id=244136&ugn=shine-app
Shine J2EE Framework Rank in Sourceforge is 14!
Shine J2EE Framework: http://sourceforge.net/projects/shine-app/
Site: www.J2SOS.org
Special Thanks Oracle! For this Part! Your Site is very Active about J2EE - Java!
This paper is no image paper !!!!!!!!!!!!!!!!!!!
J2EE and Service Oriented Programming
Authored by: AmirSam Bahador
Level:
Advanced
Contents:
Introduction
- The purpose of compilation this essay
Chapter 1: Basic concepts of J2EE
- Servlet and JSP
- MVC
- MVC or JWMS? That is the problem? Perhaps both!
Chapter 2: Basic concepts of Shine Framework
- What is "Shine Framework�?
- The components of Shine Framework
- Implimentation of an application by Shine Framework
Chapter 3: The objects of Shine Framework
- The types of objects in Shine Framework
Chapter 4: Engineering & Communication items
- The communication of Shine Framework with the other
existing Frameworks
- The major purpose of Shine Framework
Introduction
The purpose of compilation of the this paper
A few years ago, when I was the software architect of a big project with J2EE, I advised some of the modern tools of that time to the project manager. He acknowledged it. Therefore, we began deploying our Enterprise on Java platform. However, we encounterd with many problems, as we got ahead the project. Our tools were included Struts Framework, Spring Framework & Hibernate.
I convinced that MVC architecture is the best option to develop macro projects! However, I believe it now, as well. Couldn't it be more completed? In developed Enterprise projects, an advanced architecture is required to divide the project, technically. The project was successfully finished after one year, but my mind was busy with it for a long time!
Then, I began implementing an Application Framework and registered it in Sourceforge.net as an Open Source Framework. I developed some Enterprise projects & some other J2EE frameworks, as well. I achieved a good result! The velocity of implemention & developing projects increased up to 50%. Subsequently, by cooperation of my elected students who had worked with Application Framework, I established an organization, named J2SOS, to protect & develop this Application Framework.
Fortunately, my students were so skilled that each took a chief task in big J2EE projects.
Their experiences had a practical affect on development of Application Framework as well as the organization.
Therefore, it is required to write down my & my yesterday students (my today co-workers) experiences. This was the outset to write the present paper!
Chapter 1
The basic concepts of J2EE
Purposes
In this chapter, we do our best to introduce J2EE basic concepts.
Servlet & JSP
If you ahve ever worked with JSP & Servlet, you know that Servlet is so proper for processing functions but there are particular problems with it in displaying functions.
JSP is applied reverse to Servlet. Thus, what is the solution? To apply both JSP and Servlet together!
What is MVC?
MVC is an easy way to use JSP & Servlet together. In MVC architecture, the request will be processed by a Class (Servlet) and the appropriate response will be showen by JSP.
n the above Servlet Class, the validation operation, etc will be done.
Nowadays, there are numerous Frameworks which will assist you to use MVC Framework architecture. Struts Framework is the most well-known one.
MVC or JWMS ? That is the problem! Perhaps both!
MVC is a powerful architecture, but it is required an advanced architecture to implement developed projects.
Today, web applications are well developed which complicatethe work for programmers & developers.
To clarify it, see Google site! Google Web Application enjoys numerous services, each have a special service for the users.
For Instance, Gmail service, E-Mail or by SearchEngine, the users can search for websites, pictures, etc.
These services have certaily close communication with each other.
If the services do not use a particular architecture, the Google will encounter with various problems.
In Service Oriented architecture, each part of the program is a service programme. For example, E-Mail service, SearchEngine service, etc.
for get full this paper plz goto : J2EE And Service Oriented Programming
in :
http://groups.google.com/group/j2sos
Or
http://j2sos.googlegroups.com/web/J2EE_And_Service_Oriented_Programming+(English).doc?gda=-C13JmkAAABaK1bFJn7XMhSpdkjvrT6PLb1WFhhPKkBftsH3LvtvGEWwa05VcrqgHRSC0l_xcf_5FoxLEBXNbyq4-bBifvraWOZGQE6LgzeTU5Q6eFny4M-fIZvKNC5H8bRWhAn1psCECKgQbmraGdxlZulaYnsh

iabstudio have been engaged in a persistent Usenet and webboard spamming and astroturfing operation since the beginning of this month. Google has the scoop at http://groups.google.com/groups?q=www.iabstudio.com&hl=en&lr=&c2coff=1&scoring=d&start=0&sa=N&filter=0 note in particular the same IP address is used to post both their spam from iabstudio themselves and from people who claim to be satisfied users. If you do not like spamming and dishonest, don't use the product.

Similar Messages

  • How to determine 640/J2EE Startup Framework Binary Patch Level?

    Hi All,
    We are running BI ABAP with Java Add-in on WAS 640/SUSE/Oracle.
    In the ABAP world, there are many options for determining the current kernel patch level.  Disp+work -v, SYSTEM->STATUS, etc..
    How do I determine the patch level of the J2EE startup framework (ie: jlaunch, jcontrol, etc..)?  If I run these commands with '-version', I get a patch level of 0. From System Information, the Cluster Kernel Version is 6.40 PatchLevel 105424.313. 
    What I am trying to determine is if I have the binaries that map to the latest applied SP (18).  Do I need to download J2EERTOS18.SAR and apply the bits or has that already been done?  Or is the current patch level for the bits fro the J2EERTOS14.SAR file?  Etc...
    Any tips/suggestions?
    Thanks much,
    Greg

    Hi
    You can check the patch number like this;
    D:\usr\sap\FT0\SYS\exe\uc\NTI386>jlaunch -version
    Failed to reserve 1610612736 (0x60000000) bytes before loading DLLs (error 8).
    jlaunch information
    kernel release                700
    kernel make variant           700_REL
    compiled on                   NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
    compilation mode              UNICODE
    compile time                  Jan 23 2008 20:42:28
    update level                  0
    patch number                  128                         <<< Here is the patch number>>
    source id                     0.144
    While regarding which file(s) to apply, please notice that the files you are not talking like
    J2EERTOS16_1, is part of the J2EE support package stack, which can be applied with JSPM.
    Regarding the kernel, you can alway refer to note 19466, and downlaod the lastest kernel from:
    http://service.sap.com/swdc
       Support Packages and Patches ->
       Entry by Application Group "
       SAP NetWeaver and complementary products"
       SAP NETWEAVER" SAP NETWEAVER 7.0"
       Entry by Component"
       Application Server Java
       ===> SAP KERNEL 7.00 64-BIT UNICODE
    Regards,
    Thunder

  • URGENT SUGGESTIONS- j2ee WEB FRAMEWORK

    Hi All,
    As a part of our part time project me and my friends are exploring on development of a j2ee web framework. For this we are exploring the behaviours of some famous frameworks such as STRUTS.
    We are looking at the normal Controller model, The automatic httprequest to Java bean bindings and other such features.
    We would like to hear more suggestions as to what
    1. What all should be the salient features of a j2ee Web Framework.
    2. Any feature that isnt present in the existing web frameworks but wud be a real value add if present.
    Any other general suggestion about design of such frameworks etc are also welcome.
    It would be great if all you guys give us your genuis feedbacks..
    Thanks
    Karthik

    Sorry, I used up all my genuis feedback advice for the week. However, here are some ideas.
    Struts framework is/was very popular but is rapidly being replaced by the Spring framework.
    I dont believe you can just read some on-line articles on these frameworks because there is a lot of information to learn.
    I suggest you buy a book on either framework and go through it cover to cover. Similiarly I suggest you read a JSP book first (you can look through them at the bookstore, then buy them on amazon.com cheaper).
    I few quick suggestions about building your own framework before messing with a framework:
    Ideally, you should have a separation of concerns between the layers (Model View Controller):
    View = this is the JSP pages. Those pages should read all the information necessary to populate itself from objects placed in request scope. They should not contain business logic (such as instansiating java objects) or database logic (such as sql statements to fetch data from the database).
    Control= this usually is a single servlet responsible for taking in all url browser requests (say, a JSP button update click), verifying the user is logged in, then calling up business logic to obtain data to populate the JSP page. It puts the data provided by the business logic in request scope for the JSP page to read, then dispatches to the correct JSP page. The control does not genereate html tags to put on the JSP page. The user should never directly call up a JSP page. All requests should go through the servlet to ensure you have a single class that verifies the user's login (security).
    Model: The model consists of business logic and database logic. Often, these are separated into thier own layers as follows:
    1) business logic: The control calls the business logic and passes all the data from the JSP page to it. It then determines what data to pass back to the control so it can pass it back to the JSP page. The business logic does not deal with the request scope (request is a presentation object), it does not call sql statements to talk to the database. Instead it calls database logic to actually get the data.
    2) database logic: fetches data from the database for the business logic to use. It has sql. It has no business logic or presentation logic.
    Lastly, I normally create a form object to hold all the data I read from the JSP page. Example: You have a JSP page called MyJspPage..jsp:
    class MyJspPageForm{
    public MyJspPageForm(HttpRequest request){
    //get all data from the request scope that the JSP page put there
    //have a bunch of get/set functions for the business logic to access the data.
    I suggest creating a project based on the above ideas before you mess with a framework such as struts or spring. a lot of work has gone into creating those frameworks and they abstract away a lot of the low level code that I discussed above.

  • J2EE startup framework and J2EE

    I have changed some Java VM parameters.
    To make above change effective, I have to re-start the J2EE instance.
    But my co-worker  (who left my company)  wrote in his document
    " For the SAP J2EE startup framework, it's NOT sufficient to re-satrt the J2EE
    instance"  to activate above change.
    I did some research on J2EE startup framework. I think it is no longer used in NW7.0
    Could you help me
    -- how do I know a system has SAP J2EE startup framework (I believe it is a concept  prior to 7.0 version).
        Our system is NW7.0.
    --  If it is a J2EE stratup framework, how do I activate above change?
    Thanks a million!

    Hello Christy
    SAP Netweaver 7.0 still has J2EE Startup and Control framework.
    When you change a property normally the tool prompts that a restart is required. Normally you get a description of what kind of restart is needed. "A cluster restart is needed" for example meaning you have to stop/start your J2EE cluster.
    If you are working on a dual stack you can stop/start through transaction SMICM under menu item Administration --> J2EE Cluster --> Send Hard Shutdown --> With Restart. That will hard restart your J2EE cluster and your parameter change (done in configtool I assume) will be activated once the J2EE cluster has restarted.
    If you are working on a single stack SAP system you can stop/start using command prompt stopsap JC<instance number> or through the SAP Management Console.
    You can check the activate VM parameters through the http://<hostname>:<j2ee port>:/index.html page under system information --> VM parameters for the node for which you have made a change.
    Kind regards
    Tom

  • New MVC 5 project build fails in Visual Studio Online using TFS

    Here are some of the errors I'm getting.
     Controllers\AccountController.cs (44): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (2): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (3): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (4): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (5): The type or namespace name 'Owin' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (12): The type or namespace name 'UserManager' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\IdentityConfig.cs (59): The type or namespace name 'IIdentityMessageService' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\IdentityConfig.cs (68): The type or namespace name 'IIdentityMessageService' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\RouteConfig.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\Startup.Auth.cs (1): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\Startup.Auth.cs (2): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
    The project builds fine in VS 2013 (since its a new project).
    It seems that it is not recognizing all the packages. How do I fix this problem?

    It doesn't work for me either. It's an MVC 5.2.2.0 project straight out of the Wizard. It's part of a solution with other projects which appear to be working. I tried configuring NuGet to download missing assemblies on the build machine as it suggested on
    some other sites. That didn't help. According to the list of installed software on the Hosted Build Controller, I don't see MVC explicitly listed. (getting-started/hosted-build-controller-..) page in the TFS project site.
    It definitely doesn't work. I'm trying out Visual Studio Premium 2013 and Team Foundation Service on the 90 day trial offer. I can't find any mention of an MVC restriction. I don't want to have to include the package binaries in source control.
    Edit: I tried a standalone MVC 5 project and it worked fine on the Hosted Build Controller. If you add an MVC 5 project using the wizard to an existing solution with other projects, you get the errors below. So it isn't the Hosted Build Controller.
    Strange.
    App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Controllers\AccountController.cs (200): The type or namespace name 'ValidateAntiForgeryToken' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (200): The type or namespace name 'ValidateAntiForgeryTokenAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (226): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (226): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (234): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (234): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (242): The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (242): The type or namespace name 'HttpPostAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (243): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (243): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (244): The type or namespace name 'ValidateAntiForgeryToken' could not be found (are you missing a using directive or an assembly reference?)
    It seems that my working stand alone project has the dlls in the packages folder tree added to source control. Whereas in the composite project, only the corresponding .xml files are added to source control. So with the standalone project, the build server
    is locating these dlls and using them.

  • No ejb-j2ee-engine.xml after new EJB module project

    Hi! Can someone please help. Newbie here
    I installed SDK 1.4.2_13
    I installed Netweaver Developer Studio 7.0.09
    When I create a new ejb module project I only see the files
    ejb-jar.xml
    ejbmodule
    I miss the file ejb-j2ee-engine.xml
    How is this possible?

    I solved the problem by uninstalling SAP Netweaver Developer Studio version 7.0.09 and install version 7.0.08
    However, It's still strange why there was no ejb-j2ee-engine.xml when there was created a new EJB project module.

  • J2EE startup framework

    Hai all,
    is the startup Framework supported on SP2 Patch3 with J2EE PL 19?? And where can I find these files for installation on marketplace
    Wolfgang

    Hello Roth,
    Startup framework 6.0 for 6.2 should work with all patches. Though I used it in P3 + PL22 combination and not with PL19.
    Please upgrade to PL23, specially if you are planning cluster......
    Regards
    Ashutosh

  • New MVC with Standard Tags and DB sample

    I have posted initial build of a new learning application on
              SourceForge "basicPortal" under CVS
              http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal
              It is using Struts with Standard Tags and X: Transform from DB, Realm
              base security, CURD, etc. etc. I have big plans for this, to be 20% of
              code that gets used 80% of time and "faces" and expression language
              compliant.
              (Err.. this build is not for newbies, but I will update it .... a lot
              and often.)
              To keep up on this and related topics, there is a mail list
              http://www.netbean.net/mailman/listinfo/mvc-programmers
              that also gets you password to other baseBeans.com features.
              and a newsgroups readers news.baseBeans.com.
              Hope you like,
              Vic C.
              

    Looking at the XFILES.5.xml file and Install.vbs files of the XFILES installer, it appears that the XDBPM_SUPPORT and XFILES_DBA_TASKS actions will only be run if you enter a SYSDBA user in the "DBA User" field of the installer. However, for some reason, Oracle seems to have commented out the command that checks to ensure that the DBA user you entered is a SYSDBA user, and the "DBA User" field defaults to SYSTEM, which is not a SYSDBA user. Since I got things working I haven't tried rerunning the installer with a SYSDBA user, but maybe it will work better. The installation documentation and/or the installation scripts need to be updated to reflect the need for a SYSDBA user.
    Regarding the APEX version of XFILES, this has not installation instructions whatsoever, and there are prerequisite steps to get this to install correctly as well. I tried importing the f102.sql file into APEX and it failed on the prereq validation because an "XFILES/Apex" folder wasn't found in XML DB. I went looking for anything that creates this directory and I found that there is another XFILES_DBA_TASKS.sql script specifically for the APEX version. It is included in the f102.sql file. So I cut and paste the contents into SQL*Plus and ran it as SYS. I was then able to install the f102 application.

  • How can I install my J2EE application on a new WLS domain/server?

    Hello All,
    I am trying to create an installer for our J2EE application using WLS.
    Our requirements:
    a. Create a fresh domain/server
    b. Create/configure JDBC connection pool/datasources
    c. Setup startup classes d. Deploy our J2EE application
    Here are the steps:
    a. Create a new directory (say myapp)
    b. Copy files config.xml, DefaultAuthenticatorInit.ldift and SerializedSystemIni.dat
    from an already configured WLS (I have one that has everything including JDBC
    datasources/startup classes, etc)
    c. Create a directory myserver/upload/myapp
    d. Put myapp.ear e. Start the server
    Is this the right approach or is any other better way of installing a J2EE app?
    Any help in this would be highly appreciated.
    Thanks and Best Regards
    MS

    Check out weblogic 8.1 and the ant tasks wlconfig and wlserver to do this
    all from ant.
    http://e-docs.bea.com/wls/docs81/admin_ref/ant_tasks.html
    Also you can do
    java weblogic.Server in any new directory and it will create a new config.
    You can pass a command line switch,
    mkdir -p /temp/mynewdomain
    cd /temp/mynewdomain
    java -Dweblogic.management.GenerateDefaultConfig=true -Dweblogic.management.
    password=foobar1234 -Dweblogic.management.username=foobar1234
    weblogic.Server
    That will start a new server with a brand new defaulted config. You then in
    7.0 have to run java weblogic.Admin command to create and set mbean
    attributes, this means from shell having to fire up VM over and over, from
    ANT you wont have this problem if you fork, but I think weblogic.Admin has a
    nasy system.exit in it in 7.0 ( Sorry).
    Things are better in 8.1 and in our next release we are in planning stages
    for adding an installation step to deployment and allowing an applicaiton to
    express its dependencies. If you have thoughts on this, shoot me an email
    at [email protected]
    Cheers
    mbg
    "MS" <[email protected]> wrote in message news:3e77612e$[email protected]..
    >
    Hello All,
    I am trying to create an installer for our J2EE application using WLS.
    Our requirements:
    a. Create a fresh domain/server
    b. Create/configure JDBC connection pool/datasources
    c. Setup startup classes d. Deploy our J2EE application
    Here are the steps:
    a. Create a new directory (say myapp)
    b. Copy files config.xml, DefaultAuthenticatorInit.ldift andSerializedSystemIni.dat
    from an already configured WLS (I have one that has everything includingJDBC
    datasources/startup classes, etc)
    c. Create a directory myserver/upload/myapp
    d. Put myapp.ear e. Start the server
    Is this the right approach or is any other better way of installing a J2EEapp?
    >
    >
    Any help in this would be highly appreciated.
    Thanks and Best Regards
    MS

  • J2ee architecture/framework books/pointers

    hello,
    can you suggest me some good j2ee architecture as well as books/pointers?
    thanks

    There are more than one way to do all this, depending on your particular application:
    - servlet's init() method, if it's a Web application
    - JMX MBeans
    - EJB Timer service or some other job scheduling like Quartz
    - batch programming (Unix shell + cron, or Win batch)
    - etc...
    Also, EJB is merely one technology inside the J2EE stack. You can use J2EE without EJB, and in many cases, this is the best option.
    Sun's J2EE tutorial.

  • New Release of AJAX and Java Petstore 2.0, Early Access 3

    Hi all,
    the BluePrints team has just released a new version of the Java Petstore 2.0. This AJAX petstore shows how to build AJAX enabled applications on the Java EE platform. It has a lot of emerging web use cases like using a CAPTCHA, uploading user images and content, integrating custome search into your application, mashing up with other services such as google maps, building an AJAX UI, and more.
    It also has added a new feature showing how to add tagging to an application.
    Plus it shows how to leverage Java technologies like Servlets, JSF, and the new Java Persistence APIs.
    Its a great resource to learn how to put it all together!
    You can download the Early Access 3 version at
    https://blueprints.dev.java.net/petstore/
    hth,
    Sean

    Hi,
    The Java Petstore 2.0 has a CAPTCHA (see http://en.wikipedia.org/wiki/Captcha for the definition of a CAPTCHA) which is used when a user is uploading a pet for sale to the petstore. The captcha is used to avoid automated graffiti on the community driven content of the petstore. The captcha requires a human to look at the image and type in the words, so it shows this common use case where web sites want to avoid an automated program from being able to post to a site.
    All the source code for the captcha is included in the petstore download at
    https://blueprints.dev.java.net/petstore/ This is useful code to use in your own applicatons as captchas are becoming more common in web applications
    Yutaka Yoshida has a blog entry that discusses the captcha at
    http://blogs.sun.com/yuta/
    hth,
    Sean

  • Mvc with oracle entity framework

    Hi,
    I am new to both MVC and Oracle EF...i have installed the necessary components (ODAC beta 3) and tried out the tutorial that oracle has put up and was able to successfully finish it...
    Now i want to create a new MVC 3 app (based on MVC Movie tutorial available online) ...
    I have a model generated from my oracle database..however when i add a controller in MVC, the controller does not seem to recognize my model..What do i need to do so that controller can recognize the model that i generated from oracle database..????
    Is there an example out there that builds an asp.net MVC app using oracle entity framework??
    Thanks.

    Hello,
    is a week that I document but I still have a bit of confusion.
    Work on Oracle 11g with VS2010 I installed ODTwithODAC112030.
    I have to make a data entry form after the registration of an account.
    Can I create an application with MVC and EntityFramework then using Razor for pages CSHTML?.
    WHAT HAVE I DONE:
    1) Creating the Oracle schema QUESTIONARIO.
    2) Execution of InstallAllOracleASPNETProviders.sql
    3) Create application with MVC 3
    4) Insert the web.config connection parameters
    <connectionStrings>
        <add name="OraQuestConnString" connectionString="DATA SOURCE=...;....;USER ID=QUESTIONARIO;PASSWORD=*****" providerName="Oracle.DataAccess.Client" />
    5) Insertion of the parameters in the web.config for the management of user profiles
    <membership defaultProvider="OracleMembershipProvider">
    <profile>
            <providers>
              <clear />
              <add name="OracleProfileProvider" type="Oracle.Web.Profile.OracleProfileProvider, Oracle.Web, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraQuestConnString" applicationName="questionario_casa_ufficio" />
            </ Providers>
          </ Profile>
          <roleManager enabled="true" defaultProvider="OracleRoleProvider"> .......
    6) The application works and I registered users ORA_ASPNET_USERS etc..
    7) I have created the table "Questionnaire" in the DB
    8) I have created the Model of table "Questionnaire"
    9) I created the corresponding Controller and the Views pages with Razor who created in the "Views/Questionnaire" directory all management pages (Index.cshtml - Create.cshtml - Edit.cshtml - Delete.cshtml)
    10) when the application starts tells me I can not open the databasel SQL-Server, I suppose that it work only with SQL Server!! Or did I do something wrong?
    11) Then I create the Model from DATABASE using "ADO. NET Entity Data Model"
    12) But I did not understand if I can use the EDMX Model to create pages with Razor or with another tool.
    13) Is there an automated way to create pages of data management starting from the Model EMDX or do I have to create them all manually?
    Please help me.
    Thank you very much

  • J2EE application after new start in "prepared" status

    Hi all,
    we have the problem with J2EE applications. After new start of WLS the application get "prepared" status.
    How can I find the reason of the issue?
    Regards,
    Moh

    Is this application ever came to active state?
    when you deployed this application intial there might be errors so it never went to active state
    when ever you did a restart the application is in prepared state.
    try to bring into active and see if your geeting any exceptions.

  • Is there a way to specify MVC model in a Wizard?

    I am fairly new to JDeveloper so forgive me if I ask a stupid question....
    In a past web project I used IBM Websphere and Visual Age developing environments. For an upcoming project I am going to be using JDeveloper but with the same basic MVC architecture with the Servlets being the Controllers and JSP as the View. In Websphere there was a wizard that we could use to create a Java Bean based on our SQL statement. Within this wizard we could also select what 'model' we wanted to use and if we chose 'Servlet model' it would not only create the Java Bean but it would also crate the corresponding Servlet, XML file and JSP. All we had to do after that was bring up the JSP in the test environment and everything was hooked together already. If it was a simple select statement then the JSP displayed the results in a table. The JSP could then be facncied up or whatever. What I want to know is if there is something similar to that in JDeveloper. I know there are wizards to create Servlets and JSPs but is there any way to specifiy a 'model' and have everything to connected up without manually going into the code and doing it? I know this is kinda cheating and being lazy but I just wanted to ask if this type of feature existed before going ahead and doing unneccessary work. So if anyone can follow what I am saying and has an answer or perhaps can direct me to some documentation, that would be much appreciated. Thanks in advance for your help!
    Janis

    Janis,
    JDeveloper ships with a handy, built-in J2EE application framework called Business Components for Java that provides a full-functionality J2EE MVC model layer for you.
    You can get a nice overview of the framework's functionality from this whitepaper:
    Simplify J2EE Applications with the Oracle BC4J Framework
    For a quick overview of how the BC4J framework components implement the familiar collections of value objects design pattern for you, see:
    Implement Collections of Value Objects for MVC Apps with BC4J
    To answer your question about the wizards, you can (in no time flat)
    [list]
    [*]Create a new connection in the System Navigator
    [*]Create a new package of BC4J framework components ("New Business Components Package...")
    [*]On the last panel of the BC4J package wizard, you can select existing tables to reverse-engineer into framework data-access and business logic components (view objects and entity objects, respectively)
    [*]Then, you can use one of our other wizards to produce, for example, a BC4J+Struts application, a BC4J+JSP application, or a BC4J+JClient/Swing (rich client) application
    [list]
    Hope this helps.

  • [ANNOUNCE] Struts Book ships. Also JSP Framework training Public Workshop in NJ and C

    (We do talk about Orion/Oracle J2EE a bit in the book)
    [Struts BOOK]
    BaseBeans Engineering is announcing the availability of the
    book "Struts Fast Track: J2EE/JSP Framework", covering the
    necessities of developing web Struts-based applications,
    including open standard software overviews, database CRUD,
    master detail, object orientation, tiles, menus, security, re-
    factoring, and deployment. Some book reviews are available at
    news.baseBeans.com in the MVC Programmers news group.
    "Struts Fast Track" may be purchased at Atlas Books
    (http://www.atlasbooks.com/marktplc/00670.htm).
    [Struts PUBLIC/PRIVATE TRAINING]
    Upcoming Struts hands on work shops in New Jersey and
    California.
    BaseBeans Engineering offers both public and private training
    classes in developing web applications using the Struts. Please
    visit the BaseBeans web site for more information
    (http://www.basebeans.com).
    We are considering a JavaOne Struts conference, an E Book, and a
    WebEx seminar, and European training.
    Subscribe to an MVC Mail list to find out about other upcoming
    news and training sites at:
    http://www.basebeans.com:8081/mailman/listinfo/mvc-programmers
    Vic

    (We do talk about Orion/Oracle J2EE a bit in the book)
    [Struts BOOK]
    BaseBeans Engineering is announcing the availability of the
    book "Struts Fast Track: J2EE/JSP Framework", covering the
    necessities of developing web Struts-based applications,
    including open standard software overviews, database CRUD,
    master detail, object orientation, tiles, menus, security, re-
    factoring, and deployment. Some book reviews are available at
    news.baseBeans.com in the MVC Programmers news group.
    "Struts Fast Track" may be purchased at Atlas Books
    (http://www.atlasbooks.com/marktplc/00670.htm).
    [Struts PUBLIC/PRIVATE TRAINING]
    Upcoming Struts hands on work shops in New Jersey and
    California.
    BaseBeans Engineering offers both public and private training
    classes in developing web applications using the Struts. Please
    visit the BaseBeans web site for more information
    (http://www.basebeans.com).
    We are considering a JavaOne Struts conference, an E Book, and a
    WebEx seminar, and European training.
    Subscribe to an MVC Mail list to find out about other upcoming
    news and training sites at:
    http://www.basebeans.com:8081/mailman/listinfo/mvc-programmers
    Vic

Maybe you are looking for

  • Airplay audio stopped working

    My roommate has an Apple TV that I used for the first time yesterday. All was well, my mac connected just fine, video and audio. But today when I did exactly what I did yesterday, turned on the apple tv and changed my Macs connection to the Apple TV

  • TS3991 Is there a way to restore a document in iCloud?

    I resolved a conflicted document, where I made a change on my iPad on one date and my iPhone another date. I restored to the incorrect date and lost all my updated changes. Is there a way to restore the document to the newest version?

  • Certain Video files do not play in Photoshop Elements 13

    Hi Forum I have a problem whereby certain Video files do not play in Photoshop Elements 13 Organizer. The pattern seems to be they are .MOV files. But some files of the same type do play okay? So wondering why some are okay and others not? I have ins

  • Lost all my ring tones....h-e-l-p!!

    I was in my local VZN store yesterday as my Droid was having an issue over the past 3-4 days, not being able to open the screen and having to take the battery out approx. 6-8 times before it'd clear itself.  The technician said they'd been having som

  • Date format with miliseconds

    Hi! I have two columns in a table, TPE_FECHA_SOLICIUTD and TPE_FECHA_EJECUCION (date type). I want subtract the two dates with miliseconds precision. The version of database is 9.2.0.4.0 How can I do it? Thanks,