Architecture Issue (MVC)

ARCHITECTURE DESIGN COMMENTS
We have designed a java system for one of the crucial projects.After that due to some reasons we are asked to restructure it. Here I?m presenting 2 variations with all the details.
I sincerely request your comments on this, and if you have a better solution with the existing means(jsp,javabean,servlet) please let us know.
The basic things I need to know is that:
1. Feasibility of this model.
2. performance.
3. Any drawbacks and how to over come them.
I MODEL
(valueobject)
jsp----->Servlet(Controller)------------------------------->(DBMangager)--------->Database
(Since this is not taking the image-i could not able to draw the entire thing properly)
Process
The process in the first model is that
1. All the parameter names and values are collected in a HashMap in the controller.
Ex. Request.getParameterNames()
while ( e.hasMoreElements () )
String name = ( String ) e.nextElement () ;
String val[] = request.getParameterValues ( name ) ;
hm.put ( name , val ) ;
2. Then the controller sends it to the constructor of the Assembler.
try
fv = new FwAssembler ( hm , txn_no , comp_code ) ;
3. The assembler segregates the code and assigns to the corresponding value objects.Here value objects are parameters to the Assembler.Means once the corresponding value objects are set, these value objects are set to the Assembler with setValueObjects. So that now the assembler contains value objects which represent the data.
An extract:
public FwAssembler(HashMap hm, String tx_no, String comp_code)
setComp_code(comp_code);
setTxn_no(tx_no);
ftran = new FwTransaction(tx_no);
aprofile = new ApplcantProfile(comp_code);
cvo=new CompProductsVO(tx_no);
lfile.logErr("FwAssembler","1");
The following corrosponds to the automation plan.
Depending upon the value of strAutomation remaing values will be considered.
String n1[] = (String[]) hm.get("strAutomation");
strAutomation = n1[0];
ftran.setStrAutomation(strAutomation); // this gives whether automation plan is yes or no
String n270[] = (String[]) hm.get("strDateimplemen");
try
if (strAutomation.equalsIgnoreCase("y"))
String n2[] = (String[]) hm.get("strDateimplemen");
strDateimplemen = n2[0];
ftran.setStrDateimplemen(strDateimplemen);
String n3[] = (String[]) hm.get("decCostinvolve");
decCostinvolve = Double.parseDouble(n3[0]);
ftran.setDecCostinvolve(decCostinvolve);
String n4[] = (String[]) hm.get("vcPartauto");
vcPartauto = n4[0];
ftran.setVcPartauto(vcPartauto);
String n5[] = (String[]) hm.get("intNoworkers");
intNoworkers = Integer.parseInt(n5[0]);
ftran.setIntNoworkers(intNoworkers);
catch (Exception kk)
lfile.logErr("strAutomation", "Exception kk", kk.toString(),
kk.getMessage());
4. Once the Assembler is set, the controller will send Assembler to the DBManager.
try{
b = fbean.insertFwworker(fv, txn_no, comp_code);
catch(Exception bean)
lfile.logErr("","bean",bean.toString(),bean.getMessage());
5. DBManger, with the help of value objects will insert the data into the data base.
6. This method will return true, and if it is true the controller will send it to the next jsp page.Else it will display the error page.
I I? MODEL
In my model II- the most significant difference is that :
While sending the data from Controller to the Assembler I have not used a HashMap, but in my model II, I just send the request object.
cassembler=new CfcAssembler(request,txn_no,comp_code);
ofcource what I?m planning is that:
Instead of putting it in a Constructor I want to send it in a method in that class.
I had the following advantages got by doing so:
1. My coding is considerable reduced to a greater extent.
public CfcAssembler(HttpServletRequest request,String tx_no, String comp_code)
setStrTrxn(tx_no);
setStrCompCode(comp_code);
setSelIcfctype(request.getParameter("selIcfctype"));
setStrCfcdesc1(request.getParameter("strCfcdesc1"));
if(request.getParameter("decQty")!=null)
setDecQty(Double.parseDouble(request.getParameter("decQty")));
else
setDecQty(decQty);
setStrPurpose(request.getParameter("strPurpose"));
if(request.getParameter("cbEmail")!=null)
cbEmail=request.getParameter("cbEmail");
if(request.getParameter("cbPhone")!=null)
cbPhone=request.getParameter("cbPhone");
if(request.getParameter("cbPost")!=null)
cbPost=request.getParameter("cbPost");
strMethodNotify+=cbEmail+cbPhone+cbPost;
setStrMethodNotify(strMethodNotify);
2. My performance I think is improved, because I?m not using any String Arrays.
3. The readability of the code is also good.
Where I?m not sure
In the Assembler class I?m importing the package javax.servlet.HttpServletRequest.
1.Can this Assembler class is made as a java bean.
2. Will this model also fulfills the MVC architecture.
Please fill in me with all the details.Your earliest reply in this matter is highly appreciated,as we are at a crucial stage.
Thanking you
pressy

I would be surprised if your scaling bottleneck occurs dumping an HttpServletRequets parameter list into a Map. So, while there may be a slight performance/memory hit in populating the Map, it should be negligible as everything is already in memory.
From a design perspective, I like #2 better. You don't want to import the http.servlet classes everywhere in your domain model. You should theoretically be able to switch either your view or your persistence tier without affecting the domain model.
Servlet classes are tied to a web presentation framework. Not that a sane person would do such a thing, but what if you decided to switch your UI to Swing? Now, all those HttpServletReqeust objects are useless, but a Map still works fine.
On a more realistic example, what if you decided to switch to SOAP and web services instead? The ServletRequest and SOAP request could both have adapters written that generate the same Map. Now, all your code past the Map is the same regardless of what type of request you receive.
Now, I have never completely changed my view or even my persistence tier in a real-world application. However, I do see the validity or keeping the model agnostic. So... no Servlet classes should go there. IMHO, that is.
- Saish
"My karma ran over your dogma." - Anon

Similar Messages

  • Architectural issue

    We are providing an architecture for 9i Application server based applications to one of our clients. Our client is already licensed with the Oracle 9i AS on IBM AIX based systems. As our future plan grows we might implement applications with Oracle Collaboration Suite and Oracle Developer suite. Now I have some basic doubts here:-
    1.Suppose we are installing the 9iAS on IBM AIX based system and can we have our 9i database on Solaris SPARC or LINUX x86 system ?
    2. Now I understand the fact that Oracle developer suite is not supported for IBM AIX based systems. In this case can I purchase Developer suite for NT or Solaris and then develop components using this and deploy the same on 9iAS on IBM AIX system and the database on the NT/solaris server.
    3. What about the collaboration suit, should this also be for IBM AIX system to talk with 9iAS on AIX server and 9i database on Solaris.
    Please help me with the above issues so that I can start with my arcitectural suggestions.

    One more help, please correct me if I am wrong:-
    With developer suite 9.0.3 we will only be able to use Forms, Reports and JDeveloper.
    With developer suite 10g only we will be able to use Clickstream intelligence builder, Warehouse builder, SCM, Discoverer and Designer.
    One more doubt i have is aren't the Clickstream intelligence and Discoverer getting installed along with 9iAS? Then could you please elaborate how I am benefitted more with the Developer suite with respect to these tools.
    Thanks

  • MPLS L3 and L2 architecture issues

    Hi,
    I'm on an MPLS IP-VPN architecture and I would like to add a point to point L2-VPN (VLL ?).
    Can we do L2-VPN on a cisco 2800 series ? 3800 series ?
    Can I setup a lease line beetween a 3800 and a 6500 ?
    I can see on my 3800 that I have the mpls L2transport commands but it doesn't seem to work on a vlan interface (which seems to be the easiest way to setup a virtual lease line as explain here: http://www.cisco.com/en/US/tech/tk436/tk428/technologies_white_paper09186a00800a3e69.shtml#wp41167)
    Are there any issues to add L2-VPN on PE already use for L3-VPN ?
    Best regards !

    On my cisco 2800 series :
    sh ver
    Cisco IOS Software, 2800 Software (C2800NM-SPSERVICESK9-M), Version 12.4(4)T7, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Compiled Tue 28-Nov-06 18:37 by kellythw
    ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
    ROUTER_2800 uptime is 8 weeks, 6 days, 19 hours, 17 minutes
    System returned to ROM by power-on
    System image file is "flash:c2800nm-spservicesk9-mz.124-4.T7.bin"
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
    Cisco 2811 (revision 53.51) with 251904K/10240K bytes of memory.
    Processor board ID FCZ110473CW
    6 FastEthernet interfaces
    1 ATM interface
    DRAM configuration is 64 bits wide with parity enabled.
    239K bytes of non-volatile configuration memory.
    62720K bytes of ATA CompactFlash (Read/Write)
    Configuration register is 0x2102
    sh mpls l2transport doesn't exist
    On my cisco 3800 series
    ROUTER_3800#sh ver
    Cisco IOS Software, 3800 Software (C3825-ADVENTERPRISEK9-M), Version 12.4(11)T, RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Compiled Sat 18-Nov-06 23:16 by prod_rel_team
    ROM: System Bootstrap, Version 12.3(11r)T2, RELEASE SOFTWARE (fc1)
    R_LPRS_3825_PE_MPLS uptime is 13 weeks, 3 days, 17 hours, 18 minutes
    System returned to ROM by power-on
    System image file is "flash:c3825-adventerprisek9-mz.124-11.T.bin"
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
    Cisco 3825 (revision 1.1) with 224256K/37888K bytes of memory.
    Processor board ID FCZ1013704D
    4 FastEthernet interfaces
    2 Gigabit Ethernet interfaces
    1 Serial(sync/async) interface
    1 Virtual Private Network (VPN) Module
    DRAM configuration is 64 bits wide with parity enabled.
    479K bytes of NVRAM.
    62720K bytes of ATA System CompactFlash (Read/Write)
    Configuration register is 0x2102
    sh mpls l2transport vc 200
    Local intf Local circuit Dest address VC ID Status
    Tanks again

  • XI Architecture issues

    Hi,
    Since XI opens an enterprise network to the internet, are there any documentation on how to organize our system landscape with XI:
    set up DMZ before XI?
    security issues (firewall, ports)?
    Regards ,
    Yann Le Blevec

    Hi Don,
    Thank you for the Reply
    We are in the process of opening a ticket with SAP.Yeah it is complicated to debug the issue.
    If i am Correct the Job Server is used only for Scheduling Right !!
    But the Crystal Report that i am talking about is being Viewed on Demand and Not Scheduled.
    One quick question , Is there any limit for the records that RAS can handle in single shot?
    {Specified in any Sap Docs}
    Help appreciated.
    Regards,
    Ram G

  • Determining the project architecture issue

    Hi,
    I have a architecture designing problem.
    First version:
    I had all the UI, Business manager and the persistence layer in the client side. So the UI came very heavy weight.
    Second version:
    I have the User Interface layer and Service Layer(will have the business and persistence layer)
    We have the embedded database. Since the persistence layer is present in the service side, i am having the embedded database in the service side.
    (it is more meaning full to have the database at the persistence side).
    Case 1:
    If i want to have the service as a common, for all the customers, then the embedded database will be common for all the customers.
    Case 2:
    If i give the service to each customers only, i will have unique db for each customers.
    But to resolve this problem, if  i want to have the database at the client side itself,
    then it will not be good because, the persistence layer is only at the service side.
    So i have to make the persistence layer at both client and the service side.
    My aim is to make the UI as light weight.
    I am so much confused.
    May i kindly know, how to correct this problem.
    Thanks in advance.
    NANDAKUMAR.T

    Hi PKR,
    Thanks for the reply.
    My Expectation: To reduce the client(exe) size, as small as posible.
    My problem: "The Embedded DB is in the service side". So obviously the client(exe) file will be less in size. But for each customer i have to give the service as a separate copy. Then only they will have their data alone.
    I want to achieve my expectation and to overcome, the facing problem.
    Is there any way to do it and looking towards it.
    Thanks in advance.
    NANDAKUMAR.T

  • Max number of records in a cube & architectural issues

    Hi,
    Sorry if my question was already done but i can't find the same question with the research button (may be i have not the good words for search, I'm not english).
    I am on a BIG BIG IP project. The forecast volume of planned records is about 1.000.000.000 records a year. So we choose to split records toward many cubes. 
    1) Is there a maximum number of record supported by a cube to be planned? We planned to put 100.000.000 records maximum on a cube to be planned. Is it too much?
    2) If I make 100 cubes (one for each organizational entity) with 10.000.000 records per cube and if I "plug" a planning layout on these 100 cubes with a multiprovider, will IP:
    spread time to search the good cube to write in (due to the selected entity) in the 100 cubes (too much time !), or,
    search directly in the good cube (thanks to user exit that match cube with selected entity), so the response time will be about the same as the one for 1 layout plugged on 1 cube of 10.000.000 records?
    Thanks a lot, and sorry for my english language level
    Georges

    Hi Georges,
    Having too many records in the cube should not be very detrimental for performance of planning application as long as you can ensure that the data volume that you fetch at one go is restricted to reasonable limits, using restrictions in filters (the more restrictive the better). Take care of this while modelling both your planning functions/sequences and input-ready queries.
    I understand that you'll need to create a multiprovider for reporting purposes, but if you dont need the data from more than one cube for planning purpose, it will be better to create the aggregation level (and rest of the planning model) on top of individual cube. In case, you want to use the same planning function/input queries for multiple cubes (which will probably be the case), you can create the aggregation levels on the multiprovider but make sure you restrict the characteristic 'infoprovider' properly in the filter restrictions to avoid the function reading unnecessary data from many cubes.
    Hope this helps.

  • Topology - Physical Architecture issues

    Hi,
    I am trying to reverse engineer and add tables from SQL server and getting the following error.
    ODI-17549: Source data type "int identity" for thetechnology "1017" does not exist
    Please help. Thanks for your time.

    ODI does not package all data types for all technology. eg: MSSQL demo database contain many user-defined datatype
    when you use rkm mssql:
    1)for double type, there is a bug found, length field is reversed wrong, you can manually modify the rkm
    2)when reverse foreign key, parent catalog field does not filled
    even using rkm, you still face datatype not found possibility
    1)you can manually add datatype in topology navigator
    2)reverse data type on an existing data server, this method will reverse many data type automatically, but it also import noises, suggest you duplicate the technology, then try on the duplicated one at first

  • Architectural Issues with AIA Asynchronous MEP

    Hi,
    We are implementing an AIA service which should follow an Asynchronous (request/delayed-response) MEP. I need some advice from people who have implemented this pattern.
    The rough requirements are that we have two ABCS Requesters for two different systems, which read from files and call the EBS (eventually there may be an EBF involved as well but don't want to confuse the question). The response for the operation will take up to 10 minutes but we need to deal with the response when it comes back at the requester level.
    It looks something like this
    ABCSRequester1
    <--> EBS <--> ABCSProvider1
    ABCSRequester2
    My question is, why does AIA only create a single port service in ABCS Provider and it forces me to call back via a seperate WSDL when I select the request/delayed-response option in he service constructor.
    This means that I must have two EBS services (one EBS Request and one EBS Response) - unless I am missing something (which is entirely possible) and dynamically route the response to the appropriate endpoint and then correlate it.
    I understand this is possible, but it seems an overkill to me when I could have two ports on the Provider ABCS wsdl (which the service constructor does not create), which I could then callback on and the EBS will then create a callback to the calling client. This would make the whole process easier to manage IMO.
    I could change the generated WSDL and add a callback port, but as the service constructor generates the ABCS like this, I do not want to just alter this without understanding maybe why I shouldn't.
    Do people recommend the Fire and Forget Async MEP as seems to be documented in AIA documentation for a scenario like this and if so why?
    Have people implemented the two port single WSDL solution (as is created by SOA Suite if you build a service as Async from scratch) as an AIA provider?
    If anybody has a sample Async project in AIA showing this sort of scenario, I would love to see it.

    Hello,
    Provider ABCS does not need to have 2 port types for this scenario. You would have 2 port types in Provider ABCS only if it interacts with provider application in an asynchronous manner. In that situation, provider application will be sending the callback response by invoking the service operation defined in the callback response port type within provider ABCS.
    Your question is more about why we need to have 2 EBS - one for processing request and another for processing callback response. For this situation, you do not have to add additional port type in provider ABCS WSDL.
    You can certainly leverage the mediator’s call back facility to eliminate the Response EBS that is normally recommended for processing the callback. 11g mediator does have the support and you can leverage that.
    We did look at this feature during the 11g adoption and decided not to leverage this feature after prototyping for the following reasons:
    1.     EBS Operations need to support fire-and-forget as well as asynchronous delayed response MEPs. We had to support this functionality of Requester ABCS at run time indicating in the EBM whether it needs the response or not. EBS.Operation would be invoked by both fire-and-forget and asynchronous delayed response MEP requesters; and for the delayed responses, ResponseEBS.Operation would be used. Hardwiring the MEP at the EBS Operation level would lead us to create 2 operations – one for fire-and-forget and another for asynchronous delayed response
    2.     This stateless programming model allows us to be OSB-friendly
    3.     To be backwardly compatible with 2.x services
    Any custom solution built by you can certainly leverage the 11g Mediator's callback facility provided your requester ABCS is coded always to receive a callback from EBS. You could certainly leverage this pattern if you dont have a need for Requester ABCS to invoke EBS using fire-and-forget pattern.
    Ravi

  • BO Architecture Issue

    Hello Experts,
    I have a scenario
    I have 2 physical machines(4 VM images)
    Each machine will have 2 Vmware machines running on them.(1 for BO & 1 for Web application) * 2
    Due to license i can only have 1 BO server active, the other one will remain passive(Use of MS clustering to active this.)
    The web serve VM machines will not be clustered.
    Now, in such a scenario, will i have install Apache on the web server machines & do a load balancing
    or
    just clustering Tomcat will suffice ?
    or
    will have to install HTTP server?
    Cheers,
    AK
    Edited by: Alok Kakani on Nov 19, 2010 3:44 PM

    Your Clustering will behave effectively only if you have tomcat installed for every server
    you will have to install 2 tomcat of 2 server for load balancing...1 tomcat for 2 VM's
    Thanks,
    Ganesh

  • Is MVC a architecture or Design Pattern?.

    Hi,
    It may be simple question,but i need clarification on this.
    Thanks in Advance.

    Model View Controller is an object-oriented design pattern.
    Some individuals may choose to use it (questionably) to describe a piece of a software architecture. In this case they are using the design pattern to describe only an element of an architecture.
    MVC outlines how objects will communicate in a three-tier system consisting of a business model and a presentation layer.
    MVC does not describe hardware configuration, load balancing, clustering, firewalls, routers, security constraints, resource pooling, and other critical details of a software architecture.
    A software architecture design may include and/or use the MVC design pattern to indicate how the technical design of the application should be designed. Here the decision to use MVC is part of the architectural design. It is one specification of the architecture design. There are many other elements of a software architecture design that have nothing to do with MVC.
    MVC by itself is a simple object-oriented design pattern. It cannot be used to describe and/or design a software architecture.

  • BSP with MVC

    Hi
    Can any one send me the document that will help to understand the architecture of MVC with examples.
    Regards
    Amit
    [email protected]

    Hi,
    For MVC, all the details can be found on the SAP Help page...
    The link is <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/frameset.htm</a>
    Hope this helps.
    Also for a specific issue, you can refer to SDN..
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • Forte 30N2 : Message duration SO restart after a crash issue

    In our application, the batch processes are based on a 'Controller-Processor' pattern. A controller starts many processor tasks as parallel processes.
    The problem is that our Controller process crashed. However, by that time, many processor processes had already been started by it. These processor tasks were not terminated when the controller crashed.
    Since the controller process is of Message Duration, it 'restarted' automatically after the crash. With this new start, all the processor tasks were started again and therefore were executed twice.
    Now we are looking for a way to terminate the processors automatically if the controller crashes. Is there a way to do this in Forte or do we have to code this explicitly ?
    If not, we can stop start of a processor if it is already executing. But then, how do we get a notification of completion of a previous execution ?
    Any ideas will be appreciated.
    Please let me know if the problem description is not clear.
    Thanks and regards.
    Deepak

    "Since the controller process is of Message Duration, it 'restarted' automatically after the crash" --NO,  the controller was re-started automatically because Forte allways tries to re-execute the method of a SO marked to have Dialog Duration=Message. Apart of that, the SO will be re-started ONLY if the Forte Autostart feature has been enbled in your Forte Environment, otherwise it won't re-start.
    Your problem is more an architectural issue than a Forte one. The children tasks can not notify their parent about a problem (ussually by reporting an exception event) because they were started in a different partition and Forte have partition boundaries when handling the multi-threading for tasks executed in cascade. (Task1-->Task2-->Task3).
    Even if your children tasks can report an exception event to the parent SO, there is still a timming issue: While re-starting the controller a children task can report an exception event, but it wont be listened since the controller is still re-starting.
    Hope this helps..

  • Multiple ECC to  one PI architecture

    Hi SDN Experts,
    We are in a test phase of a project and facing some architectural issue.
    My Client XX has 2 ECC tracks and already one project (P1) with few interfaces gone live.
    Existing project (P1) landscape is:
    PR1 (Dev) -> PR2 (PPD) ->PR3 (Prod)
    For the new project (R1), client has asked to use the new ECC track:
    ECC1 (Dev) -> ECC2(Test)-> PR3 (Prod)
    PI landscape:
    PIB (Dev) -> PIC (PPD) -> PID (Prod)
    For project P1, Live interfaces in PI (w.r.t. ECC) use the following BSu2019s:
    BS_ECC_PR1_DEV -> BS_ECC_PR2_PPD -> BS_ECC_PR3_PRD
    Project R1 interfaces in PI (w.r.t. ECC) uses the following BSu2019s:
    BS_ECC1_DEV -> BS_ECC2_PPD -> BS_ECC_PR3_PRD
    Points to note:
    1)The rule here is once a project goes live, the ABAP development moves to P1 track  and so after goe live for any change request or defect of R1 we need to connect PIB system to PR system( P1 project business system).
    2)We are in test phase of project R1. Currently all interfaces are configured with EERP system and not a single interface of project R1 has ID configured with PR system.
    This is little tricky to understood, i am not sure if i have explained it correctly.
    I hope some of you might have already experienced such kind of issue, so i request you to spend some of your valuable time and let me know what is the best way to solve this considering the following:-
    1) For all project  the final ECC production system is same and a single business system (BS_ECC_PR3_PRD) needs to be used.
    2) Project P1 is already live with 10 interfaces.
    3) Project R1 is in end of test phase and we have more than 100 interface (with IDoc, proxy etc)
    4) Minimum effort and without touching existing live interfaces.
    Thanks !
    Cheers
    Biplab Das
    Edited by: biplab das on Aug 9, 2011 9:29 PM

    Well.. we have another twist here   . .
    In QA for the project track we have 3 separate  ECC system.
    ECC21(System Test)
    ECC22( Integration Test) and
    ECC23( UAT).
    so the question i have here is
    1) is it possible to  define a 1:n transport target in SLD?
                ECC21
    ECC1   -- ECC22
               ECC23
    2)  if option 1 is possible, then do we need to create 4 seperate configuration object for all interface?
    3)  Will the configuration objects for ECC21,ECC22 and ECC23 will be created automatically in QA , or manually need to be created?
    Edited by: biplab das on Aug 11, 2011 1:31 AM

  • MVC application in PAAS

    Hi Azure team,
    How much effort will require for converting an Existing MVC application which is running on Azure virtual machine (IASS) , that needs to be migrated to (PAAS) windows azure as cloud service web role? 
    Old architecture is MVC application in IAAS (VM) 
    New architecture is MVC application will be PAAS (cloud service web role)
    Please let me know, if it can be done.
    Also let me know, Whether PAAS web role can be created using MVC?
    Thanks,

    hello,
    Thanks for posting!
    Did you mean MVC application is MVC web application? If yes, you could do it.  On this page (http://msdn.microsoft.com/en-us/library/windowsazure/hh420322.aspx#ProjectTemplates),
    it included all the project templates which were able to convert to azure role.
    About how to convert and migrate it, you could refer to this link (http://msdn.microsoft.com/en-us/library/windowsazure/hh420322.aspx) and see the tutorials via
    http://blogs.msdn.com/b/jnak/archive/2010/02/08/migrating-an-existing-asp-net-app-to-run-on-windows-azure.aspx .
    >>Also let me know, Whether PAAS web role can be created using MVC?
    yes, you could create a cloud project and add a MVC web role into it.
    Please try it.
    Regards,
    Will   
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Which Java Technology?

    Hello. I know a small amount of Java that I learned a long time ago (very basic stuff).So much has changed and I don't know where to start. I want to use Java and XML together. I have an old Java book that talks about JAXP, but I can't find that on the Java download pages. In fact, when I go to http://java.sun.com/xml (where JAXP used to live), it redirects me to Java Web Services.
    I wouldn't mind exploring the web services developer pack, assuming that it has JAXP built into it. But, what I'm concerned about is that it's all based on Java EE. I have the standard edition along with NetBeans. I don't want to get into EE and setting up servers on my home computer, etc. I just want to learn how to use Java and XML to create web applications.
    Any suggestions on where to start and what technologies/tools I absolutely need. Also, any suggestions for a good tutorial/book.
    Thanks for your help.
    Ron

    Hi njb7ty,
    Thanks for the advice. I'll make a couple of comments below and add another question or two.
    "A book on Java (example: Head First in Java)"
    I've got 3, but they're all old. Iv'e got Java How to Program 5th Edition (from 2003). Also, I've got the Java Eclipse book version 3. And, I've got Professional Java XML (Wrox--circa 2001). I also have Thinking in Java Version 3 (circa 2001). Any thoughts on these?
    "Install java JDK on your computer (its free"--)
    That's done. I've been playing with Java since 1.0 back in 1996. I've just never went very far with it and I don't know much about OOP.
    "Install Eclipse IDE on your computer (its free)"
    That's done. I've had it for awhile, but haven't had much time to really learn how to use it. I've got NetBeans also--but also haven't had time to do much with it either.
    "A book on JSP"
    That's on my todo list. I'll get that next.
    " Install Tomcat on your computer (its free)"
    Well, I could do that, but I don't like the idea of server software running on my computer. For one, I don't know how these servers are configured out of the box and have no clue how to make sure they are secure. And, if I mess something up, I'm basically screwed because I wouldn't know how to fix it. Any suggestions?
    " Install tomcat plugin for Eclipse into Eclipse (you guessed it, its free)"
    That's easy enough. If I install Tomcat, I'll do this directly afterward.
    " Create a hello world JSP page in eclipse and get it to run in tomcat
    (Eclipse auto launches Tomcat).
    On the todo list after I get Tomcat setup, the plug-in installed, and a good book on JSP.
    " A book on servlets
    Servlets sound hard. Any recommendation on a good book?
    "A book on JDBC
    That's something I need to do soon. I definitely need to learn how to setup databases in Java. Do you recommend MySQL for web-based applications?
    "Install Oracle Lite (free) and use its utility to create a person table. Grant access rights
    for you application to access the database via JDBC."
    That's cool. First time I've heard about that. I'll give it a try.
    "Create a program to query the database via Tomcat using connection pooling and JNDI"
    I assume I'll know what that means after I start reading the JDBC book :-)
    "Read up on java MVC. It discusses how to separate the layers of your program
    (architecture issue)."
    I've heard about MVC before, but never used it. It stands for Model-View-Controller, right? I'll have to look into this some more.
    "Read a book on javascript"
    I've got Javascript Bible 5th Edition. Is that a good one?
    "Read up on JSTL"
    That's another new one for me. Never heard of it. I'll have to check that out too.
    "Read http://www.javapractices.com/home/HomeAction.do
    Read http://mindprod.com/jgloss/unmain.html"
    I'll definitely study these.
    "There, that should keep you busy for a while."
    You're not kidding. This is going to take a lot of time to learn. I didn't realize I had so much to do. And, I'm guessing that the stuff you mention will just get me up to speed on the basics. There's probably a ton of other things to dig into after that. It's a little depressing, considering I'd like to be up and running in a short period of time, but it's going to take time to learn.
    "Keep away from XML and AJAX for now."
    That's not good. Those are two things that I'm interested in. Isn't there a way to learn them side by side with Java? I've got a good understanding of basic programming (particularly procedural)...so I'm hoping I can pick up on things a little quicker than most people would if they were starting out fresh. I also understand the basic syntax of Java. So, I've got a good head start. But, maybe I'm being a little too ambitious...
    One thing that bothers me is my web host company doesn't support Java (which is the dumbest thing I've ever heard). They've got me on a Linux system right now and I know Java works on Linux. So, not sure what the problem is there. To get any kind of Java capability, I think I have to upgrade to a dedicated Windows server, which is a bit more expensive than what I've got now. And, I think that only gives me support to JSP. Not sure what else. Any recommendations/suggestions on this?
    Thanks again for all of your suggestions. I'll be using your todo list as a guide and get started learning these things.
    Ron

Maybe you are looking for