Doubts regarding web development

hi friends.. iam going to design an web application with jsp,struts,mysql.I need to know how to build strong design while in developing web application.. anyone can tell me the links that related to Web development strategies or anyone tell me the important issues that come into mind while developing web application... thanks in advance

+>>I need to know how to build strong design while in developing web application.+.
for mvc model architecture to do better and strong application...
+>> important issues that come into mind while developing web application+
- clear data model and app architecuture
-security
-internationalization
-validation
-standards

Similar Messages

  • Doubt regarding web.xml

    I have a serlet that is using a file which contains the list of email addresses. I have passed that file in init method. But when I execute that I am getting error. I guess I have to make some changes in my web.xml file. Can anyone tell me how to do that.
    In my init method I have used the following like to get the file:
    filename = config.getInitParameter("addressfile");
    Also tell me where we have to place the file-addressfile.
    And also tell me whst code in web.xml will make it work.
    This is the code
    import java.util.Vector;
    import java.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ListManagerServlet extends HttpServlet
    private Vector addresses;
    private String filename;
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    System.out.println("Before");
    filename = config.getInitParameter("addressfile");
    if(filename == null)
    throw new UnavailableException(this,
    "The \"addressfile\" property "+
    "must be set to a file name");
    try
         System.out.println("After");
    ObjectInputStream in =
    new ObjectInputStream(new FileInputStream(filename));
    addresses = (Vector)in.readObject();
    in.close();
    catch(FileNotFoundException e) { addresses = new Vector(); }
    catch(Exception e)
    throw new UnavailableException(this,
    "Error reading address file: "+e);
    protected void doGet(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException
    res.setContentType("text/html");
    res.setHeader("pragma", "no-cache");
    PrintWriter out = res.getWriter();
    out.print("<HTML><HEAD><TITLE>List Manager</TITLE></HEAD>");
    out.print("<BODY><H3>Members:</H3><UL>");
    for(int i=0; i<addresses.size(); i++)
    out.print("<LI>" + addresses.elementAt(i));
    out.print("</UL><HR><FORM METHOD=POST>");
    out.print("Enter your email address: <INPUT TYPE=TEXT NAME=email><BR>");
    out.print("<INPUT TYPE=SUBMIT NAME=action VALUE=subscribe>");
    out.print("<INPUT TYPE=SUBMIT NAME=action VALUE=unsubscribe>");
    out.print("</FORM></BODY></HTML>");
    out.close();
    protected void doPost(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException
    String email = req.getParameter("email");
    String msg;
    if(email == null)
    res.sendError(res.SC_BAD_REQUEST,
    "No email address specified.");
    return;
    if(req.getParameter("action").equals("subscribe"))
    if(subscribe(email))
    msg = "Address " + email + " has been subscribed.";
    else
    res.sendError(res.SC_BAD_REQUEST,
    "Address " + email + " was already subscribed.");
    return;
    else
    if(unsubscribe(email))
    msg = "Address " + email + " has been removed.";
    else
    res.sendError(res.SC_BAD_REQUEST,
    "Address " + email + " was not subscribed.");
    return;
    res.setContentType("text/html");
    res.setHeader("pragma", "no-cache");
    PrintWriter out = res.getWriter();
    out.print("<HTML><HEAD><TITLE>List Manager</TITLE></HEAD><BODY>");
    out.print(msg);
    out.print("<HR><A HREF=\"");
    out.print(req.getRequestURI());
    out.print("\">Show the list</A></BODY></HTML>");
    out.close();
    public String getServletInfo()
    return "ListManagerServlet 1.0 by Stefan Zeiger";
    private synchronized boolean subscribe(String email) throws IOException
    if(addresses.contains(email)) return false;
    addresses.addElement(email);
    save();
    return true;
    private synchronized boolean unsubscribe(String email) throws IOException
    if(!addresses.removeElement(email)) return false;
    save();
    return true;
    private void save() throws IOException
    ObjectOutputStream out =
    new ObjectOutputStream(new FileOutputStream(filename));
    out.writeObject(addresses);
    out.close();
    Message was edited by:
    aniketh_parmar

    I want to know what chnages we have to make in web.xml so that my servlet can use the file that I have passed in init method.
    Please reply

  • Visual Web Developer 2010 Express and Oracle ODAC - Oracle data provider

    system - xp pro
    Microsoft Visual Web Developer 2010 Express and Oracle ODAC112021.
    I can't seem to get the ODAC to work correctly with the Web Developer Express. When putting in a gridview I only see the standard adapters. The one from Oracle does not appear. I have spent days trying to figure out why but no luck. No one else seems to have this problem. I do not see any errors when I installed the ODAC. I've followed a few tutorials.
    http://weblogs.asp.net/nannettethacker/archive/2010/09/17/installing-oracle-data-access-components-odac.aspx
    and
    http://www.smart-soft-nz.com/oracle-and-asp-dot-net.html
    I tried using the Windows adapters but they just don't seem to work. I can get results in the query builder but when I go to the next step in the wizard I get the constraints error. I've done all the research on that with no luck so I wanted to use the ODAC. This killing me! This really shouldn't be that hard. I've added the dll to the references but again it's just not an option. If anyone could give me a little direction that would be great!!!!!!!!!!!!!!!!!!!!!!
    Thank you
    John

    Dear Friends,
    Installing SP1 and updates to it solved the first issue. So the database now seems to be of type 2008 R2.
    Deleting some files solved the second issue.
    However, another issue remains.
    My most important projects were created with a version of VWDX 2010 that was downloaded from Microsoft and installed on July 3, 2012. This version of VWDX has now been lost, because my hard drive recently ceased to function and had to be replaced.
    On the new hard drive I have a version of VWDX 2010 that was downloaded yesterday (May 28, 2014). As indicated above, I also installed SP1 and related updates.
    When I load a project that was created in the version of VWDX 2010 that was installed almost two years ago and try to open the database connection, I get, in essence, the following error message:
    "The database C:\Users\...\Database.mdf cannot be opened, because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported."
    So it seems that the original database version was 661, whereas the version downloaded yesterday is 655. It seems very strange that a version downloaded now should be earlier than a version downloaded two years ago. Does anyone have an explanation or a solution?
    Thank you all for your trouble, and best regards.
    Eric (orexin)
    P.S. The site from which I obtained VWDX yesterday was:
    www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-web-developer-express and the executive was called VWD2010SP1AzurePack.exe.

  • Best book for Web Developer learning flash

    I've gotten far on my own just using online tutorials and dinking around in Flash on my own but my boss(es) are starting to ask for more complex stuff that I simply can't learn by just piecing together my Flash education.
    I know there's many, many books out there that will teach you Flash but can anyone recommend any particular one(s) that are more concentrated in creating Web elements as opposed to game or animation development?
    Thanks in advance for any suggestions.

    I hope this link would be helpful for you books For web developer Using Flash by "William Sanders"
    URL: http://search.oreilly.com/?q=Web+Developer+learning+flash&submit.x=9&submit.y=11
    Best Regards,
    Jake Bull
    Assistant Manager
    Recovery Bull Software

  • Need guidance for fusion web developement

    Hi. I am newbie. I am currently using jdeveloper 11.
    I have surfed a lot of videos about application developement using oracle fusion web development. Can anybody please suggest some really good books/tutorials/videos for my requirement below.
    1. There are lot of tables which I have created for my business. The jsf page should have the feature to view existing/add data to these tables. It should be able to plot graphs.
    2. I have created batch files which will send mails. I need to use buttons on the page which when clicked will exectue these batch files. In my previous post, they have asked me to use an ActionListener.
    3. I had studied Java programming a long time ago (forgotten almost all of it). Please tell me what concepts of java should i study again so that i can program all these above things into my aplication.
    I have until now just built a simple application which allows me to display values from a table in an adf form on a jsf page. I have surfed enough forums, like stackoverflow.com but i am not able to find the answers that i need to these above questions. This forum is my last hope! Please help guys!
    P.s : I have glanced through these books,
    Jdeveloper handbook 11g, quick start guide to oracle fusion web development.
    Regards,
    Sachin

    Hi,
    1.http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_58/jdtut_11r2_58_1.html
    2. why do you need batch files? you can send mails through javax.mail API http://adfblogs.blogspot.com.es/2012/01/sending-e-mail-from-adf-application.html
    3.this post resume a lot of resources for training and beginning https://blogs.oracle.com/shay/entry/how_do_i_start_learning_oracle_adf_and_jdeveloper

  • Certification for a web developer

    Hello Everyone,
    Can anyone suggest which oracle certification to take for a web developer. I am confused by the various certifications available. It would be great if someone can just me or point me to the links.
    Thanks..

    Hi,
    Review the following links:
    Oracle Forms Developer and Oracle PL/SQL Developer
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=140#3
    Oracle Certifications – All
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=141
    Regards,
    Hussein

  • Web Developer Tools option must be installed

    Hello Experts,
    I have been working with Visual Studio Ultimate 2013. Today when I tried to open a solution, it tried to convert the solution and showed me error like
    "The Web Developer Tools option must be installed prior to opening or creating Web projects. You can install this option by repairing your Microsoft Visual Studio installation and ensuring that 'Web Developer Tools' is checked in the list of optional
    components."
    I goggled about this and tried to Modify the Visual Studio 2013 ultimate by enabling the Web Developer Tool. But here I am getting the other error like
    Unable to Locate Package Source.
    What should I do now?  Any help is greatly appreciated.

    Hi vdha,
    Will the issue reproduced when you create a new simple web project?
    Actually based on your error message "Unable to Locate Package Source", I recommend you download a new copy of VS2013 Ultimate ISO and use it to repair or install that component.  Please remember that the ISO should match the hash, you
    need to check this page
    https://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs for details about how to verify your ISO hash.
    Best regards,
    Barry
    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.

  • T440s for WEB developer

    Hello,
    I am a web developer developing intensive web apps using Java, JavaScript, LifeRay, MySQL etc. It means I have many things going on on my laptop like:
    - IDE for editing the code
    - MySQL server
    - HTTP server to run developed apps
    - Many browser windows to test the app
    I am looking for a main development machine that will be fast for my needs plus that can be used while commuting so portability is important for me.
    440s looks like a good machine BUT I am not sure about low powered intel CPU.  This is exact model I am looking into: ThinkPad T440s 14" / i5-4210U 1.7 GHz / 8 Gt / 256 Gt SSD
     1.7 GHz sounds very limiting. My current laptop has 2.5 GHz speed and browser windows are opened very fast. But if I try to slow down the CPU to 1.7 GHz similar to T440s browser windows starts to open with considerable annoying delays. 
    Ofcourse when slowing down CPU I also disable Turbo Boost.  
    Now the question: Is T440s good for web development with liferay etc? Will turbo boost solve the problem of slow opening chrome windows I experienced with another 1.7 GHz laptop? Generally, anyone have similar experience with this laptop? Any help will be appreciated. 

    I hope this link would be helpful for you books For web developer Using Flash by "William Sanders"
    URL: http://search.oreilly.com/?q=Web+Developer+learning+flash&submit.x=9&submit.y=11
    Best Regards,
    Jake Bull
    Assistant Manager
    Recovery Bull Software

  • Oracle Web Developer Survey

    Hi all,
    I'm doing a survey of Oracle web developers as part of some postgrad studies at the University of Paisley, Scotland, and is basically aimed at discovering which web development methods are used by Oracle web developers, and why they are used. In the other forums I have approached, they have all permitted the posting of this survey, but I have not been able to contact a moderator here, so I hope this is OK to post. The more reponses I get, the more useful the survey, so for anyone with Oracle web dev experience who would be able to take the 5 minutes required to complete the survey, I would really appreciate it. I will, of course, post the survey results here in this thread once it is complete and the results have been analysed.
    The link for the survey is here:
    http://www.oraclewebsurvey.org.uk
    Again, many thanks for your time, and thanks to the moderators for allowing this post.
    Best Regards,
    Angus Nicolson

    My sincere thanks to those who have already responded to this survey (over half the responses to the survey have come from the Oracle Forums). The survey remains open until Friday, and any further reposnses before this date will be greatly appreciated. I will be posting the results of the survey in this thread in around three weeks time.
    Again, many thanks,
    Sincerely,
    Angus Nicolson, University of Paisley
    http://www.oraclewebsurvey.org.uk

  • How can I get knowledge about proffessional web development

    I am working in a IT Company from last one year. I have two year experience in asp.net,but till now I did not do work on a project from scratch. Now I am worried about my future. But If I go to another company where I have to work on a project from scratch.
    I have no such experience for working on project from starting. I do work on project which already developed. Does any Company can Hire me? I have full theoretical knowledge and I can also write some good code. But Still I have a doubt
    Please experts Help me to go on a right way

    Hi,
    As this is the Training and certification forum I would suggest to follow training in web development and achieve the Microsoft certification for web development.
    The MCSD certification has a web devlopment track.
    Work experience can unfortunalty only be achieved by actually doing it on the job, you will need need to look for an employer that is willing to invest in you to move on from theoritical knowledge to work experience.
    Good luck with your career in web development.
    Danny van Dam
    MVP, MCC

  • OS X server for local network Drupal web development

    HI All,
    First post here, so here goes, please go easy
    Background
    We're a small web development shop and bought a mac mini server so we can collaboratively develop our websites. Previously we have all been using MAMP on each of our local machines to develop Drupal websites.
    *Help needed*
    I've tried configuring some custom sites through the web services preference pane, but have no luck in viewing these custom sites from our other mac clients.
    Ideally we want to virtual host multiple sites on our server that we can see on our local network.
    We only want to connect/browse the server locally , so I'm a bit stumped on the need to set up DNS.
    Ideally i would like to browse the server directly by entering the IP address (and port number if need) followed by the site name.ie:
    http://myserve.local/mydevelopmentsite
    Essentially, i would like to replicate MAMP functionality - hosting multiple sites on the server that can be collaborated on from the local machines.
    I've really found it hard to find any configuration information via search, most topics seem to refer to modifying regular OSX installs to work as a server. My understanding is that as OSX server has all the necessary LAMP components that this should be a fairly straightforward task.
    If anyone can share any links, advice or tutorials that would be much appreciated.
    Best Regards
    Hixster
    Message was edited by: hixtser
    Message was edited by: hixtser
    Message was edited by: hixtser

    We only want to connect/browse the server locally , so I'm a bit stumped on the need to set up DNS.
    Ideally i would like to browse the server directly by entering the IP address (and port number if need) followed by the site name.ie:
    By default, virtual hosting setup via Server Admin use name-based virtual hosting, meaning that Apache looks at the hostname in the request to work out which site configuration to use. That's why you need DNS - a way to map the numerous names to the various sites you've configured, e.g.:
    http://site1.server.local/ -> site 1
    http://site2.server.local/ -> site 2
    (where both site1.server.local and site2.server.local resolve to this server's IP address)
    It is possible to do port-based virtual hosting (where you include the port number in the URL) - to do this you leave the hostname blank in Server Admin and ensure that each site has a different port number configured.
    http://server1.local:8001/ -> site 1
    http://server1.local:8002/ -> site 2
    There's no easy way to map URI elements to different sites, e.g.:
    http://server1.local/site1 -> site 1
    http://server1.local/site2 -> site 2
    This can be done by editing Apache's configuration directly, but you can't do this via Server Admin (unless you really are just mapping to different directories and not entirely different sites).

  • Doubts regarding a Servlet.

    few doubts regarding servlets :
    1. Can a servlet have a constructor ? - my answer is yes.
    2. is it mandatory that i should override the doGet() and doPost() methods ? Can I have a servlet(user defined servlet) without doGet() and doPost() methods ?
    3 Suppose I have a userdefined servlet that extends HttpServlet what are the methods that I mandatorily need to override in my user defined servlet ?
    4. In the below code :
    out.println(getServletContext().getInitParameter("adminEmail"); // assuming adminEmail is a context parameter name defined in web.xml.
    I read the explanation in HeadFirst as "Every Servlet inherits a getServletContext() method". I saw in the Servlet and ServletRequest api but didnt find this method there.
    I saw this method only in ServletConfig interface.
    out.println(getServletContext().getInitParameter("adminEmail"); is nothing but out.println(*this*.getServletContext().getInitParameter("adminEmail"); // whats this here, i mean on which object does the method get invoked ?

    1. Can a servlet have a constructor ? - my answer is yes.It must have a public default (no-args) constructor, provided either by you or the compiler. No other constructor will be used, so there's no point in writing any constructor as the compiler will do it for you.
    2. is it mandatory that i should override the doGet() and doPost() methods ?This question is answered in the [Servlet API|http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/index.html].
    Can I have a servlet(user defined servlet) without doGet() and doPost() methods ?This question is answered in the [Servlet API|http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/index.html].
    3 Suppose I have a userdefined servlet that extends HttpServlet what are the methods that I mandatorily need to override in my user defined servlet ?This question is answered in the [Servlet API|http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/index.html].
    I saw this method only in ServletConfig interface.Which is implemented by GenericServlet, which is the base class for all servlets.
    // whats this here, i mean on which object does the method get invoked ?'this' is what it always is. The current object.

  • Urgent Requirement : Java Web Developer with Websphere Portal : CA

    The Strategic Technologies Software Engineer - Advanced
    Job Title – Software Engineer - Advanced
    Location : CA
    Description:
    •     This Advanced Web Developer position will be a development team that is enhancing the feature set on the corporate intranet, IBM portal based system.
    •     Responsible for designing, developing and unit test components in a highly iterative and agile manner.
    •     Responsible for Design and Development of JSR168 portlets, servlets, JSPs and deploying the same to IBM WebSphere Environment. Ability to understand Themes, Personalization, SSO and integrate portlets.
    •     Responsible for writing Data access components using plain Java/JDBC and as well as using technologies like Spring and Hibernate
    •     Ability to quickly learn and come up to speed in a new environment and follow standards.
    •     Aside from solid web development skills, the candidate filling this position must have experience with test driven develop (TDD) techniques and have the demeanor and communication skills required for pair programming.
    •     Responsible for coordinating with team members to achieve desired results and possible mentoring of Junior programmers whenever there is a need.
    •     Proactively identifying issues in the development and bring up the same to the attention of tech lead or management attention at the very early stages. Ability to learn from team mates and solving issues quickly with the help of more knowledgeable team mates in that technology
    •     Strong experience in JSR 168 compliant, portlet design and development, preferably in a IBM portal environment – 2 to 4 years
    •     Strong experience with Java, J2EE web application design, development of servlets, jsps, JSTL and good understanding of MVC framework – minimum 4 years
    •     Strong experience in coding unit tests with JUNIT
    •     Experience with Javascript , html, XML and CSS in support of web application development
    •     Experience with design and development of data access component in Java with SQL knowledge
    •     Experience using IDEs like Eclipse , RAD and application servers like IBM Websphere Application Server
    •     Must have good communication skills both verbally and in written form and the ability to work independently with minimal guidance and as a member of a team. Education: A computer science college degree or equivalent experience.
    Must have:
    •     8 years Java web development skills and excellent understanding of object-oriented analysis / design / programming.
    5 years:
    •     Deep understanding of web application design / web security
    •     Good understanding of Model-View controller distributed architectures.
    •     Experience with Websphere Studio Application Developer (Eclipse)
    •     Experience with Service Oriented Architecture (SOA)
    •     OO Analysis and Design experience.
    •     Experience with the scrum agile development methodology, including TDD and JUNIT.
    Hands-on experience with IBM's Websphere Portal is required.
    If it interest you, please send your updated resume with your contact details ASAP at [email protected].
    Regards,
    Ejaz
    Symphony Enterprises LLC
    412-250-7227 (Tel) | 412-774-9230 (Fax)
    IT Staffing | Training |
    VERTICALS | Banking, Finance, Insurance | Healthcare | Manufacturing | Retail & Distribution
    [email protected] | www.symphonyenterprises.com
    WMBE & NWBE Certified Company
    A Member of Women's Business Enterprise National Council (WBENC)
    and National Association of Women Business Owners (NAWBO)

    I'm getting the same error on WebSphere 6.1.5. Is there any solution for this?

  • Welcome to Sun Web Developer Pack Forum!

    Welcome to the Sun Web Developer Pack Forum
    (SWDP) forum. SWDP is a new integrated toolkit from <a set="yes" href="http://sun.com">Sun
    Microsystems</a> that consists of a collection of Web 2.0 technologies that
    enable next generation Web application development.</p>
    <p> Please use this forum for posting any questions on SWDP such as
    installation, configuration, wish list of features and other general topics. For
    the different technologies bundled with SWDP, please post question to their
    appropriate alias listed below:</p>
    <ul>
    <li>jMaki - [email protected]</li>
    <li>Phobos - [email protected]</li>
    <li>WADL - [email protected]</li>
    <li>ROME - [email protected]</li>
    <li>Dynamic Faces - [email protected]</li>
    <li>Blueprints - http://forum.java.sun.com/forum.jspa?forumID=121</li>
    </ul>
    <p>If you have a topic that does not belong to any of the topics listed above,
    please post a question to the forum. And if you still like posting a question to
    forum, instead of to an alias, then go ahead and we'll redirect the question for
    you.</p>

    Thanks for pointing out the bad reference to Rome 0.8.
    Regarding the jars bundling in the war file, the assumption is that SWDP is already integrated into the container. So even though you don't have the the jars bundled in the war file itself, they would be available in the container environment.

  • 13" or 15" for web development?

    Hi guys,
    I've decided I am switching to Mac (currently Ubuntu user), so I am looking for a new laptop. Since I am a web developer, there are some things that are really important to me:
    Big resolution, so I can see a lot of code
    Portability. The lighter - the better. Also, I need to be able to carry it around. So smaller is also better.
    Great battery life.
    Having said that, I think (correct me if I'm wrong), my two options are 13" vs 15". To be honest, I currently use a 15" and it's a bit biggish.
    So, which of the two is better for development?
    Kind regards,
    Dobromir

    I said it was biggish, not too big.
    Basically I'm looking for an answer to "Is the 13" too small for coding or is it OK?", preferably from someone who has used it for that.
    Of course, I've been to the apple store, but impressions can be quite different from opinions after daily use.

Maybe you are looking for