Project organization JSF 1.2 / EJB3 with Maven2 - How?

I already did some EJB3/JSF projects and know how to deploy them as EAR on JBoss. To do this i used 3 projects in Eclipse (EAR project, JSF project and EJB3 project). Now i would like to start with maven. I am very new to this and wonder if its possible with maven to deploy ONLY the JSF or the EJB part without having to deploy the whole EAR file. Reason is that it could be that only web changes took effect, but the EJB is already finished. In my concrete case I am planning to get some web developer and I only want him to be allowed to checkout the JSF project and deploy that part into the JBOSS without having to deploy EJB and without having access to that EJB project source code. I guess a JAR of the EJB project should be enough for the JSF module / this web developer. But how is this setup in Eclipse / Maven2 using standard Spring 3?

well then forget about maven also because you don't use that for deployment. Apparently you want to setup Eclipse in such a way that you can flexibly deploy what you want.
The way I do that is to make use of two things:
PART 1:
JBoss' ability to handle 'exploded' deployments - this basically means you don't create a ear/war/ejb file, but you create a directory with the same name as the file. JBoss will treat this directory as if it is the real thing.
The good thing about JBoss is that you can flexibly deploy something exploded, but you can put parts as a regular file. So you have the ability to deploy an exploded ear directory and an exploded war directory inside it, but put an actual ejb jar file. Example:
deploy\myapp.ear\ejb.jar
deploy\myapp.ear\web.war\WEB-INF\faces-config.xml
etc.
Do you get that?
PART 2:
I use an Eclipse plugin called 'filesync' to get 100% control over which parts of my eclipse project are deployed and where the files will end up. This allows me to create the exploded deployment format in my local JBoss host.
[http://andrei.gmxhome.de/filesync/index.html|http://andrei.gmxhome.de/filesync/index.html]
This plugin is particularly useful for web developers, because when changes are made to web resources from Eclipse they are instantly deployed to the server without having to even press a button. The only thing you need to facilitate yourself this way is the application.xml file and all the libraries that go into the ear and/or the war. I tend to create a folder 'hot-deploy' in my eclipse project where I put all the additional files I want to sync to the server.
I know that the JSF/web plugins of JBoss Tools also have hot deployment options, so that might be another thing to explore for you. I've never used that part of JBoss Tools myself.
[http://www.jboss.org/tools/|http://www.jboss.org/tools/]

Similar Messages

  • MIGRATING FROM JSF 1.2 TO JSF 2.0.1 WITH PRIMEFACES

    HELLO!
    I'm migrating to JSF 2.0.1 (mojarra 2.0.1) using PrimeFaces 2.0.
    As I'm comming from JSF 1.2, I still have some libs in my project as jsf-facelets.jar, jstl.jar.
    With JSF 1.2 I was using Tomcat v6 1.4, but I upgrated to Tomcat v6 2.0
    I decided to use primeFaces for my uiComponents and this requires JSF 2.0
    I install primeFaces.jar and download jsf-api.jar and jsf-impl.jar
    I changed my config to 2.0 in my faces-config and the weapp works fine! I'm tryin' to Login using <p:commandButton> (from PrimeFaces) with action attribute, but when the app calls the action from my managedBean, an error appears....
    javax.servlet.ServletException: Erro de argumento: The parameter viewId is null
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:323)
         br.com.webtraffic.big.filter.ExpireFilter.doFilter(ExpireFilter.java:27)
         org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         br.com.webtraffic.big.controller.authorization.AuthorizationViewRedirectionFilter.doFilter(AuthorizationViewRedirectionFilter.java:24)
         org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    root cause
    java.lang.NullPointerException: Erro de argumento: The parameter viewId is null
         com.sun.faces.util.Util.notNull(Util.java:221)
         com.sun.faces.application.view.MultiViewHandler.getActionURL(MultiViewHandler.java:270)
         org.springframework.faces.webflow.FlowViewHandler.getActionURL(FlowViewHandler.java:50)
         com.sun.faces.renderkit.html_basic.FormRenderer.getActionStr(FormRenderer.java:234)
         com.sun.faces.renderkit.html_basic.FormRenderer.encodeBegin(FormRenderer.java:137)
         javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
         javax.faces.component.UIComponent.encodeAll(UIComponent.java:1608)
         javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
         com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:415)
         com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:204)
         com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
         org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:90)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
         com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
         br.com.webtraffic.big.filter.ExpireFilter.doFilter(ExpireFilter.java:27)
         org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         br.com.webtraffic.big.controller.authorization.AuthorizationViewRedirectionFilter.doFilter(AuthorizationViewRedirectionFilter.java:24)
         org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)I think I'm having a Navigation problem, because Navigation of JSF2.0 has new features but I did search and research about it and nothing worked.
    I deleted the FaceletViewHandler tag from faces-config 'cause is not compatible with JSF2.0
    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
    Anyone knows what possible I can be doing wrong?
    Here's my faces-config:
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
                  version="2.0">
    <application>
         <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>
         <locale-config>
              <default-locale>pt_BR</default-locale>
              <supported-locale>en</supported-locale>
              <supported-locale>es</supported-locale>
         </locale-config>
         <message-bundle>messages</message-bundle>
    </application>
         <navigation-rule>
              <from-view-id>/tools/formLogin.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/tools/index.xhtml</to-view-id>
                   <redirect />
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/tools/formForgotPassword.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/tools/forgotPasswordSuccess.xhtml</to-view-id>
                   <redirect />
              </navigation-case>
         </navigation-rule>
    </faces-config>Please I'm trying about 2 days...any ideas?
    TKS!

    so once the VM Enviroment is set for 11.1.2.1
    i can just used the Essbase EAS Wizards
    to bring the Applications and Other Objects into the new Enviroment 11.1.2.1
    and then Export the Data from the old Enviroment 11.1.2
    and import into the new Enviroment 11.1.2.1
    Correct ????
    Edited by: Next Level on Jul 28, 2011 7:53 AM
    Edited by: Next Level on Jul 28, 2011 7:57 AM
    Edited by: Next Level on Jul 28, 2011 7:57 AM

  • Project Organization Hierarchy

    Hi,
    Please some one explain the Business purpose of defining Project Organization Hierarchy. Why we need to define Project & expenditure Organization Hierarchy
    As per the user guide "An organization hierarchy illustrates the relationships between your organizations.When you define a hierarchy, you tell Oracle Projects which organizations are subordinate to which other organizations"
    What is use of informing "Oracle Projects which organizations are subordinate to which other organizations".
    If it is for reporting how it is help in the reporting? is the report rollup information in the top organizaiton?
    Thanks
    Govind

    Hi
    The organizations hierarchy is used in two places.
    A) When defining burden schedule for costing or billing, you can enter burden rate (multiplier) on any level of parent organization in the hierarchy. Then run Compile. The system allocates the multiplier value to all organizations which are subordinates of the organization which hold the multiplier.
    B) You can select any parent organization in the hierarchy and add to it the classification - Projects Invoice Collection Organization. The run the process to create Transaction Types in AR for that parent org. When generating invoices for a project and transferring them to AR, the system go up the hierarchy from the project owning organization till the first parent with that classification. The associate the appropriate transaction type to the invoice when imported to AR. This functionality depend on implementation options - non centralized invoicing.
    I think that standard Reporting within Oracle Projects does not roll up along the organization hierarchy. However, it may be rolling up in Projects Inteligence or OBIA.
    Dina

  • Looking for open source project in JSF for learning

    Hi,
    I am quite a beginner to JSF, I think it will be good to read some existing source code, could anyone recommend some projects that I can turn to? I am particual interested in an online text editor.
    I think currently I could understand how the jsf works, its relationship with jsp, html, css,and how It could cooperate with AJAX. and I have written a small amount of web pages , which were aimed at providing a blog-publish like service. That's why I am interested in online text editor. But any other capable project would be also helpful for me.
    Thanks.

    You can find (simple) samples here:
    [https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=4036&expandFolder=4036&folderID=0]
    [http://www.coreservlets.com/JSF-Tutorial/]
    You can find a HTML/rich text editor as JSF component in the Mojarra Scales component library: [https://scales.dev.java.net/htmlEditor.html].

  • Project organization suggestions needed.

    Plan is to make a 45 minute highlight video for highschool lacrosse team.  Used iMovie last year but looking to get better final quality.  Here is how we have done it in the past with iMovie. (and Pinnacle before that)   I shoot and cut most of the game footage.  Usually 2 cameras at each game.  I take roughly 2 hours of footage and try and cut it to 4-8 minutes for each game.  After 5-6 games I share a "Highlights 1".  End of season I have 3 or 4 "Highlights" files that I transfer to a buddy who makes 3 or 4 projects that are 3-4 minutes long laid down to music.  He also adds in footage from games that he filmed and cut himself.  I make a couple of fun, off field sections and a tribute to seniors.  We then lay all 7-8 projects together and make our movie.  Biggest issue we had with iMovie was the lose of quality each time we cut and then shared the footage.  Examples of what we have done in the past are posted on youtube under CanandaiguaAcadLax       We did not do any of the Season in the Balance segments.  Those guys were pros!!  A good example is at http://www.youtube.com/watch?v=90FU2rHnPr0
    Any project management help would be greatly appreciated.  How do we best organize?  Settings for sharing etc.  We are not video/computer guys  We do this because our kids play and it makes a great life time memory for the boys.
    Thanks for any suggestions.
    Mark

    To begin, if you use Pro Res as your export codec, you and he can swap and edit clips several times without discernable loss of quality. You can export your highlight films. He can import them and edit them and export versions that both of you can collaborate on.
    As to your organization question, there is no perfect answer.  I guess I would create a single library to hold all your work. I would a make single highlight event for all the games that will go into a multicam video. So if you had 5 highlight videos, you would have 5 events – each referencing the media from several games. Each would have a single multicam project.
    Wether you bring copies of  the media into your events is a judgement call – depending, for example, on how much space you have on your media drives.
    Good luck. Hope that gives you some ideas.
    Russ

  • LV 8 project organization

    This is a somewhat philosophical question about organizing a project in LV8. I understand pretty well how to organize the project for my main VI. What I'm wondering about are some VIs that will process the data produced by the main VI. Both the main VI and the data processing VIs will be turned into Windows executable files. Does it make sense to include the processing VIs in the same project as the main VI or are they better off in their own project? Are there any issues with maintaining the build specifications for the different files in the same project?
    George

    George,
    Project organization is strictly up to you.  As long as you have the VIs that you are going to be using for executables in the project, what you have included in them is just for organizational purposes.  That being said I would include everything that deals with that function.  As long as the build specifications have good names, having the data processing VIs in the project should make everything easier to read.  I might suggest having the data production VIs under one folder and the data processing VIs under another folder.  For me I would like to see how the data is being produced and analyzed.  Feel free to report with any thoughts.
    Andy F.
    National Instruments

  • Can I save a project on a flash drive with the videos that are in the project and edit on any computer with premiere pro?

    I am trying to edit a home and school and need to edit all the time. Can i save my project file on my flash drive with all the videos and use the flash drive for editing on any computer?

    IF all computers are on the exact same build of PrPro. Understand of course that if everything of the project is on one flashdrive, performance in playback & etc. with much in the way of effects or tons of cuts is going to be ... s l o w . But perhaps doable on say a school project, which probably doesn't have the total assets of say a season-length tv sitcom.
    Neil

  • The ELResolvers for JSF were not registered with the JSP container

    I'm trying to configure mojarra on tomcat6 (because I want to use Elastic Beanstalk). tomcat complains:
    Feb 8, 2011 10:24:17 AM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
    INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
    I have tried all sorts of combinations of replacing EL2.2 libs in tomcat/lib, putting the libs in WEB-INF/lib, and the context param:
    <context-param>
    <param-name>com.sun.faces.expressionFactory</param-name>
    <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
    </context-param>
    JSF pages seem to work but I'd rather have a clean startup. Please assist. Thx in advance.

    Thx for replying.
    I have jstl-1.2.jar:
         <dependency>
                   <groupId>javax.servlet</groupId>
                   <artifactId>jstl</artifactId>
                   <version>1.2</version>
    <scope>provided</scope>
              </dependency>
    Which version numbers are you referring to in *.xml? The following?
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5">
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">

  • Captivate 8 - How to change to producing "project.json" file instead of a "project.txt" file?  Having issues with viewing published projects due to this.

    Captivate 8 - How to change to producing "project.json" file instead of a "project.txt" file?  Having issues with viewing published projects due to this.   Would be thankful fo rany/all advice.

    I'm having the same issue. I've been able to work around it by opening the txt file and copying the contents. Then I open a new file in Sublime Text 2, paste the contents and save the new file as "project.json". It seems to work, but it'd been nice if I didn't have to do this everytime I publish a new project.

  • How do I open projects created using Premier Elements 8 with Premier Elements 13

    how do I open projects created using Premier Elements 8 with Premier Elements 13

    ATR
    The DVD Creator.dll file was in the proper location but I could not find a Run As Administrator Option.
    I did delete Prefs file and try again to open the app then the project and received the same problem.  And the scratch disks were all directed to the Elements 13 path
    Yesterday I did try additional solutions
    Removed the Elements 13 App vis the Control Panel, copy the original downloaded .zip File to the Desktop and reload the entire application with no success solving the problem
    In addition to that I contacted a site called Rescue.com? and the guy told me that he was a representative of Adobe, which I was not sure was the truth.  He looked at my system and told me that Premier 13 was not compatible with Windows 7.  I called BS on him told him that Adobe site said it was compatible and he told me I had a Trojan on my system and he would refund my money for Elements 13 and sell me version 12, which would be compatible, along with a better security system than the Norton 360 I told him I had.  At that point I immediately terminated our communications and called Norton to have additional checks performed to ensure no additions were added to my system.  They had me download and run Power Eraser from them and it found nothing wrong. 
    I also temporarily turned off the firewall and tried to use the Elements 13 but had no success.
    I also went to Microsoft Windows site and searched for the Exception code: 0xc0000005 that was displayed in the event viewer and they indicated there was a hotfix available and they would email me that fix.  ave not received the email yet.
    I’m getting very frustrated but thank you for your help.  I will update you with and additional results or actions I get or perform.
    GDBMB

  • I have a "Contact" organization issue I need help with.  I organize multiple customers under their account affiliation. I place the people with their contact info under each account name by their dept/role in the notes section of their account. I am l

    I have a "Contact" organization issue I need help with.  I organize multiple customers under their account affiliation. I place the people with their contact info under each account name by their dept/role in the notes section of their account. I am looking to be able to directly dial / email from this info in yet notes section located within a contact. On Blackberry, the notes area entered in a contact can connect directly but on the iPhone those numbers/emails are inactive. I am trying to avoid having to create each of these individuals as a separate contact and keep them under their account affiliation. It is easier to find them.  This does not seem like that complicated of a request and hoping someone can tell me how or share an app that will enable the "notes" within a contact be "active". Hope this makes sense.

    I seem to recall that this question has been asked before and I'm pretty sure that the answer is that you can't do what you want to do with the native contact app. However, there are lots of contact apps out there that pull from the built app's data but have other features. Perhaps one of them would meet your needs.

  • Project Server 2013: Synchronization of AD with security groups - missing from list of timer jobs

    I have same problem in:
    http://social.msdn.microsoft.com/Forums/en-US/2b916bb9-2277-4c53-8b97-271a912414ba/ps2013-timer-job-missing-quotproject-server-synchronization-of-ad-with-security-groups-forquot
    "I cannot find timer job in SPS central administration "Project Server: Synchronization of AD with security groups for <PWAIntanceName>" to schedule synchronization. Enterprise Resource Pool synchronization working fine and timer job
    "Project Web App: Synchronization of AD with the Enterprise Resource Pool job for <PWA site name>" exist on server."
    Don't offer solution for "Schedule Enterprise Resource Pool synchronization".
    Only "Timer job in SPS central administration "Project Server: Synchronization of AD with security groups".
    Have a solution?

    Project Server timer job "Synchronization of AD with security groups" don't exist.
    So I created job in Task Scheduler of Project Server OS, that every day start PowerShell-script:
    if ((Get-PSSnapin | where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null)
    Add-PSSnapin Microsoft.SharePoint.PowerShell
    Invoke-SPProjectActiveDirectoryGroupSync –Url http://project/pwa
    Security groups of Project Server automatically synchronize with groups from AD!
    http://technet.microsoft.com/en-us/library/jj219472.aspx

  • Is there any way to project an I-Tunes purchased movie with a Proyector via the I-Pad/VGA cable? without streaming it with an Apple TV?

    Is there any way to project an I-Tunes purchased movie with a Proyector via the I-Pad/VGA cable? without streaming it with an Apple TV?

    You may be able to get some info from the restored/erased iPod by:
    How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     
    http://www.amacsoft.com/ipod-data-recovery.html
    iPod recovery software to restore lost music files      
    http://www.pcrecoverytools.com/ipod-data-recovery.html
    -iPod touch Deleted Photo Recovery Tips You Should Know

  • Support for EJB3 with JDK1.4?

    Are there any plans for support of EJB3 with JDK 1.4?
    I see from the release notes for Kodo 4 that it currently requires JDK 1.5
    for EJB3 support. The primary driver here is the use of WebSphere, which
    doesn't support JDK 1.5. [And, NO, Weblogic is NOT an option. :)]
    Thanks,
    -Toby Reyelts

    Toby Reyelts wrote:
    Abe White wrote:
    Are there any plans for support of EJB3 with JDK 1.4?
    No. The spec itself relies heavily on Java 5 features.I understand that EJB3 makes use of JDK 1.5 language features, but that's
    nothing that couldn't be fairly easily worked around. I've got a pretty
    good handle on what's involved - I did write Retroweaver,
    http://retroweaver.sf.net
    Is there any hope of a re-evaluation of this position?We'd love to take an approach like that, but if we did, the entirety of
    Sun's legal team would come after us. Basically, according to the JCP
    rules, we can't ship anything but the official JCP-approved EJB3 jars.
    We certainly can't prevent you from taking that sort of approach in your
    own code base, but from a legal standpoint, we're not allowed to
    officially support anything that's not the official jars.
    -Patrick

  • Project Manager - Creating Trimmed Project w Handles, still leaving me with Huge Project

    I'm trying to create a trimmed version of a completed Premiere Pro project, via "Project Manager...",
    but I'm confused why I'm not getting a more condensed resulting project size.
    This project consists of a completed 3.5 minute edit of a 2-camera conference video. 
    The majority of clips in the sequence are drawn from several hour-long clips in the master media folder, but the project I'm trying to archive and share
    is this 3.5 minute highlight/digest piece.  I was hoping I could send a trimmed project (sequence) to my finishing editor, without having to transfer all the media, and all the unused parts of some of these long clips,
    and was under the assumption that "trimming" would accomplish this, however trying to make a trimmed version with handles in Project Manager, is still leaving me with a 90+gig project.
    Exporting this sequence when selecting "Match Sequence Settings" produces a 694.7 MB .mpeg movie, culled from .mxf files (PMW300) and .mts files (C100).
    What am I missing?
    I also attempted to create an AE project by importing this PP project (1 selected sequence) into AE,
    and reducing/consolidating and collect files, and was still being left with a 90+gig project (see attached)
    Would love any insight or workflow tips!
    (settings in Project Manager)
    ("Collect Files" folder from an AE export of the same project, creating 96+gig footage folder for 3.5min .mpeg video )

    As Richard noted, Create New Trimmed Project is limited in the formats that it supports/trims. All MPEG formats will be copied in their entirety. i.e.: not trimmed.
    Starting with Premiere Pro CC 2014.1 (8.1), Consolidate and Transcode was added, which may suit your needs. More information can be found at:
    Adobe Premiere Pro Help | Copy, transcode, or archive projects
    Consolidate and transcode to work with mixed video formats | Adobe Premiere Pro CC tutorials

Maybe you are looking for

  • HT3819 my computer crashed, how do i put my library on a new computer

    My computer crashed, how do I get my I tunes library to my new computer? It is on my I pod.

  • 500 internal server error when trying to admin users

    Hi all, I got a problem - nothing new :-) - running Oracle Portal on 9iAS r2 on Sun Solaris. Whenever I try to access any page/feature related to users and/or groups, I get this as a response: 500 Internal Server Error java.util.NoSuchElementExceptio

  • How do I assign mapids to reference a merged chm file?

    Hello, I am using RoboHelp 9.0.2.271 on a Windows 7 64 bit machine to create chm files. I have 2 chm files I would like to merge and be able to create mapids for context-sensitive help. I created each chm in its own project directory with each having

  • Pro Tools and FCP

    Hi All Anyone doing the roundtrip from FCP to Pro Tools and back again regularly? Is it as easy as an exported OMF to PT and then an exported final audio track in the desired format back to FCP to be synched with the video? My organization is changin

  • Reset Pass Word

    I am trying to reset my pass word for my Parent Control. I just renewed my internet security and the security keeps me from going to site even though I am the adminstrator.