Video byJustEtc: An example EJB application in BEA Weblogic Platform #Java Short Notes

Video Training by JustEtc: An example EJB application in BEA Weblogic Platform

From: http://sitestree.com/?p=5015
Categories:Java Short Notes
Tags:
Post Data:2008-04-26 16:58:07

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

#Engineering: #Canada: #Job/Contract/Project: Any #Engineering: #Computer, #Electrical, #Electronics, #Civil, #Chemical, #Mechanical, #Naval, #Biomedical, and misc Engineering

Date Posted:2021-07-20 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria

  1. construction-services-10004
  2. Electrical 1
  3. RFC – Northside Health Center Trade Package 02 – Early Siteworks – Services, Grading and Electrical
  • electrical-and-electronics-10006
  • Electrical 1
  • architect-and-engineering-services-10048
  • Electrical 1
  • Engineering consulting services for Kingston Road from 200m west of Dixie Road to 200m east of Bainbridge Drive detailed design in the City of Pickering
  • Engineering Services for Headon Reservoir and Rechlorination Facility Rehabilitation, in the City of Burlington
  • Install Doorway to Mechanical Pit for Elevator Maintenance
  • If & As Required Geotechnical Engineering Review Services
  • NPP – W6399-21-LF84/B – TSPS – One (1) Intermediate Professional Engineer (P.Eng). (W6399-21-LF84/B)
  • Professional Engineering Services – Street Reconstruction No. 4
  • environmental-services-10050
  • If & As Required Geotechnical Engineering Review Services
  • natural-resources-services-10051
  • SP22TED251 – Mechanical Site Preparation – Excavator – Kamloops
  • Mechanical Site Preparation – Excavator – Kamloops Field Team
  • operation-of-government-owned-facilities-10039
  • Engineering Services for Intersection Improvement Program
  • professional-administrative-and-management-support-services-10040
  • Mechanical Engineering Services Consultant
  • Engineering & Consulting Services – New Organics Processing Facility
  • If & As Required Geotechnical Engineering Review Services
  • research-and-development-r-d-10036
  • Software reverse engineering prototypes development (W7701-217332/A)
  • Engineering Services for Intersection Improvement Program
  • special-studies-and-analysis-not-r-d-10047
  • Engineering and Architectural Services
  • undefined-10055
  • RQQ-2020-NAFA-487: Engineering Services for Mount Joy Passing Track
  • Keywords Used:engineer,civil,mechanical,electrical,electronics,mechatronics,naval,biomedical,computer engineer,software engineer,civil engineer,biomedical,electrical engineer,electronics engineer,mechanical engineer,metallurgical,chemical engineer,industrial engineer,communications engineer,quality assurance engineer,Aerospace engineer,aeronautical engineer,Engineering manager,Agricultural Engineer,Automotive Engineer,Environmental Engineer,Geological Engineer,Marine Engineer,Petroleum Engineer,Acoustic Engineer,Acoustic Engineer,Aerospace Engineer,Agricultural Engineer,Applied Engineer,Architectural Engineer,Audio Engineer,Automotive Engineer,Biomedical Engineer,Chemical Engineer,Civil Engineer,Computer Engineer,Electrical Engineer,Environmental Engineer,Industrial Engineer,Marine Engineer,Materials Science Engineer,Mechanical Engineer,Mechatronic Engineer,Mining and Geological Engineer,Molecular Engineer,Nanoengineering,Nuclear Engineer,Petroleum Engineer,Software Engineer,Structural Engineer,Telecommunications Engineer,Thermal Engineer,Transport Engineer,Vehicle Engineer,engineering

    #Canada: #IT Jobs:#Consultants, #Contractors, #Analysts, #Engineers, #Developers, #Technology Consultants, #IT-Consultants Opportunities2021-07-20

    Apply yourself, or submit others as a candidate, Build a recruitment team to submit others as a candidate, submit RFP to be considered for projects in future, Try to become a vendor so that you are asked to submit consultants/resources in future

    1. construction-services-10004
    2. ADM REM Station – Technical Consultant Engagement
  • energy-10007
  • ADM REM Station – Technical Consultant Engagement
  • Source List (SL) for Environmental Consulting Services
  • Prime Consultant for Main Building Foundation Repairs & Site Grading
  • architect-and-engineering-services-10048
  • ADM REM Station – Technical Consultant Engagement
  • Engineering consulting services for Kingston Road from 200m west of Dixie Road to 200m east of Bainbridge Drive detailed design in the City of Pickering
  • Consulting Services: Archibald Drive Storm Sewers
  • RFP for PRIME ARCHITECTURAL CONSULTANT SERVICES for CALGARY ROCKYVIEW GENERAL HOSPITAL Intensive Care Unit/ Coronary Care Unit/ Gastrointestinal Clinic Redevelopment
  • NPP – W6399-21-LF84/B – TSPS – One (1) Intermediate Professional Engineer (P.Eng). (W6399-21-LF84/B)
  • communications-photographic-mapping-printing-and-publication-services-10042
  • ADM REM Station – Technical Consultant Engagement
  • educational-and-training-services-10043
  • Assessment Consulting Service for the Assured Income for the Severely Handicapped (AISH) Program for the Province of Alberta
  • Anti-Racism & Anti-Discrimination Exploratory Working Group (AREWG) Consultant
  • environmental-services-10050
  • ADM REM Station – Technical Consultant Engagement
  • financial-and-related-services-10038
  • ADM REM Station – Technical Consultant Engagement
  • Group Insurance Consulting (EP899-220446/A)
  • RQQ-2020-FACA-499: VOR + 2nd Stage- Provide Accounting & Tax Consulting Services
  • information-processing-and-related-telecommunications-services-10049
  • Business Consulting and Risk Management (20210074)
  • TSPS 2.5 – Business Process Consultant (Senior) (W0152-22-AA034)
  • TSPS 2.3 Business Consultant (Senior) (W0152-22-AA035)
  • Project: tender_15205 – 21-004P Cloud-Based Web Services
  • professional-administrative-and-management-support-services-10040
  • Mechanical Engineering Services Consultant
  • ADM REM Station – Technical Consultant Engagement
  • Consulting Services – Diversity and Inclusion Strategy
  • Archaeological Consulting Services
  • CONSULTING SERVICES FOR THE DESIGN OF AN ACTIVE TRANSPORTATION MASTER PLAN
  • Engineering & Consulting Services – New Organics Processing Facility
  • special-studies-and-analysis-not-r-d-10047
  • ADM REM Station – Technical Consultant Engagement
  • CONSULTING SERVICES FOR STREETSCAPE ASSESSMENT
  • transportation-travel-and-relocation-services-10044
  • ADM REM Station – Technical Consultant Engagement
  • utilities-10041
  • ADM REM Station – Technical Consultant Engagement
  • #Sensor: #Canada: #Job/Contract/Project: #Sensor, #Tracking, #Fusion, #Estimation, #Surveillance, #sensor network, #target #tracking, #security 2021-07-20

    Date Posted:2021-07-20 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria

    1. construction-services-10004
    2. Request for Tender- Recapitalization, New Sidewalk & Traffic Signal Upgrade- Millwood Drive, Stokil Drive, & Beaver Bank Road- Central Region
  • aerospace-10005
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • armament-10027
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • Signal Smoke Marine, Orange (W8486-217390/A)
  • communications-detection-and-fibre-optics-10031
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • LEED Recognition Display
  • construction-products-10032
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • LEED Recognition Display
  • edp-hardware-and-software-10034
  • Barracuda Email Security Gateway Subscription Licenses
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • electrical-and-electronics-10006
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • LEED Recognition Display
  • engines-turbines-components-and-accessories-10008
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • fabricated-materials-10009
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • fire-fighting-security-and-safety-equipment-10010
  • Smart Anti-Loitering and Security System
  • food-preparation-and-serving-equipment-10012
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • furniture-10013
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • industrial-equipment-10014
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • machinery-and-tools-10015
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • marine-10017
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • medical-equipment-supplies-and-pharmaceuticals-10018
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • miscellaneous-goods-10019
  • Employee Recognition
  • office-equipment-10020
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • office-stationery-and-supplies-10021
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • scientific-instruments-10024
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • textiles-and-apparel-10028
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • LEED Recognition Display
  • transportation-equipment-and-spares-10029
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • architect-and-engineering-services-10048
  • RFP – Building Perimeter – Access Point Security
  • communications-photographic-mapping-printing-and-publication-services-10042
  • LEED Recognition Display
  • custodial-operations-and-related-services-10037
  • LEED Recognition Display
  • environmental-services-10050
  • LEED Recognition Display
  • information-processing-and-related-telecommunications-services-10049
  • LEED Recognition Display
  • lease-and-rental-of-equipment-10045
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • research-and-development-r-d-10036
  • Surveillance of Space 2 Ground-Based Optical System Request for Information (W8474-207923/B)
  • ITS Operational Security Services
  • utilities-10041
  • LEED Recognition Display
  • undefined-10055
  • Employee Recognition
  • Keywords Used:sensor,fusion,sensor network,tracking,target tracking,surveillance,self driving car,self-driving,estimation,security,signal processing,image processing,autonomouse vehicle,facial recognition,signal,recognition,sensor fusion

    Lesson 6: Handling Request Parameters with Form Beans #Java Short Notes

    Training Video for this article
    Code used for this article

    • In jsp pages, you can create forms with html form tag or html:form tag
    • Form Beans concept
      • You can use request.getParameter() to retrieve data from a form from the backend/server side. Or you can create a bean based on the form parameters/values. Then from the server side, you can retrieve values from these beans.
      • From server side, you can set output values to the request object directly or you can create a bean to carry output messages to the next step and set the output bean in the request/session object.
      • In the output jsp pages, you can use bean:write or jsp expression language to print those output/result bean values [provided that output values are set into a bean in the server side]
      • How to declare form beans: Just define a simple Java class that extends ActionForm and then declare it in the struts-config.xml file with form-beans tag
    • Steps in creating a struts application. This example will follow the same rules
      1. Modify the struts-config.xml file: declare the form beans, map incoimg .do to action classes, map all possible return strings from action calsses to destination pages
      2. Write the class for the bean that extends ActionForm. Write all the getter and setter methods, write reset method [useful for session scoped beans], write validate method for form input validation
      3. Create the result/output beans. You do not need to declare them in struts-config.xml file
      4. Define the action class to handle requests and return the right forward string that also need to be mapped in the config file
      5. Create the input pages that calles the actions
      6. Write output jsp pages

    From: http://sitestree.com/?p=5009
    Categories:Java Short Notes
    Tags:
    Post Data:2010-02-10 16:35:25

    Shop Online: https://www.ShopForSoul.com/
    (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
    In Bengali: http://Bangla.SaLearningSchool.com
    http://SitesTree.com
    8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
    Shop Online: https://www.ShopForSoul.com/
    Medium: https://medium.com/@SayedAhmedCanada

    JSF: Lesson – 7: Using Message Bundles in JSF: Support Internationalization #Java Short Notes

    • Target: Intermediate level web-developers (Java-platform).
    • Sample application on Internationalization with JSF
    • Video Tutorial on Internationalization with JSF
    • To support Internationalization, in the web-pages, the text messages and the control texts make use of the keys for the values/messages. In the value fields, keys are mentioned/provided as the values. Later, based on the current locale/language, the keys are replaced with the appropriate texts for the current locale/language
    • In some property files, keys and their corresponding values are listed
    • For each language, one property file is provided
    • The file names usually end with .properties
    • Example: contents of the Property files:
      search.text.new=New SearchorderBtn.text = Confirm Order
    • Wherever orderBtn.text is used for values, will be replaced with “Confirm Order”
    • If the file name is messages.properties, the file can be loaded into the JSP pages as follows:
      
      
    • Example use of the property file from JSP pages

    • You are also required to list the default languages (that your application supports) in the faces-config.xml file

    From: http://sitestree.com/?p=4998
    Categories:Java Short Notes
    Tags:
    Post Data:2010-04-09 07:54:07

    Shop Online: https://www.ShopForSoul.com/
    (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
    In Bengali: http://Bangla.SaLearningSchool.com
    http://SitesTree.com
    8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
    Shop Online: https://www.ShopForSoul.com/
    Medium: https://medium.com/@SayedAhmedCanada

    JSF: Lesson – 6: Validating User Input in JSF #Java Short Notes

    • Target: Intermediate level web-developers.
    • Sample application for this article
    • Video Tutorial for this article
    • In web-application development, validating user inputs takes much efforts. JSF has made validations much easier than usual
    • JSF Built-in Validators:
      • validateDoubleRange: Checks that the value provided is a double value. You can also set a minimum and a maximum.
      • validateLongRange: Validates the input to be a long. It also has the optional minimum and maximum parameters.
      • validateLength: Validates the length of a string
      • Without the minimum and the maximum values these validators actually do nothing
    • You can also enforce a value as follows. If no value is provided, an error message is displayed
      
      
    • You can also create your own custom validator that should implement javax.faces.validator.Validator interface.
    • You have to implement the validate() method: validate(FacesContext arg0, UIComponent arg1, Object arg2) throws ValidatorException
    • In the error condition, you should throw ValidatorException from the validate method
    • Then you need to register the custom validator in the faces-config.xml file using a id as follows:
          currency.validator    net.justetc.jsf.CurrencyValidator  
    • From your JSP, you can refer to the validator as follows:
    •                                         

    From: http://sitestree.com/?p=4997
    Categories:Java Short Notes
    Tags:
    Post Data:2012-05-25 08:43:55

    Shop Online: https://www.ShopForSoul.com/
    (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
    In Bengali: http://Bangla.SaLearningSchool.com
    http://SitesTree.com
    8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
    Shop Online: https://www.ShopForSoul.com/
    Medium: https://medium.com/@SayedAhmedCanada

    JSF: Lesson – 5: Converting Data #Java Short Notes

    • Sample application for JSF Data Type Converter
    • Video Tutorial for JSF Data Type Converter
    • Pre-requisite: JSF Lesson 1, 2, 3, 4
    • JSF provides two different types of built-in data type converters such as: String and Date Conversion, Number and String Conversion.
    • Related tags: f:convertDateTime, f:convertNumber, f:converter
    • In our previous examples, we could accept departing and returning dates to be date/time types rather than string types [as expected]
    • How to achieve:
        
    • For other types of conversions, you have to use custom converters.
    • To make use of the strategy, you have to write a class that will do the conversion work.
    • Your class should implement: javax.faces.convert.Converter interface that has two methods that you must implement. One method takes input as String and returns an Object. Another method, takes an Object as the input and returns String.
    • Methods
      Object getAsObject(javax.faces.context.FacesContext context,   javax.faces.component.UIComponent component, java.lang.String value)String getAsString(javax.faces.context.FacesContext context,   javax.faces.component.UIComponent component, java.lang.Object value)
    • getAsObject: Returns an object
    • getAsString: Returns String
    • As you have access to the JSF context, and the corresponding user interface component in these methods- you will be able to greatly customize your converter
    • How to use the custome converter:
      • Define a converter in the configuration file (faces-config.xml) as follows where TerminalConverter is your custom converter class:
        terminal.converter  net.justetc.jsf.TerminalConverter
      • From JSPs refer to a converter-id as defined in the configuration file. See example below:
      • 		  	or	
      • You can also, define/use the converter for all properties of a class such as Terminal as follows:
          net.justetc.jsf.Terminal  net.justetc.jsf.TerminalConverter
      • In this last scenario, whenever JSF identifies a Terminal type data it converts the data using the TerminalConverter class.
           

        In this example, as it encounters bus.origin to be of Terminal type, it will convert the origin to be a Terminal object though the user will just enter a String.

    From: http://sitestree.com/?p=4996
    Categories:Java Short Notes
    Tags:
    Post Data:2011-05-14 09:49:51

    Shop Online: https://www.ShopForSoul.com/
    (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
    In Bengali: http://Bangla.SaLearningSchool.com
    http://SitesTree.com
    8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
    Shop Online: https://www.ShopForSoul.com/
    Medium: https://medium.com/@SayedAhmedCanada

    JSF: Lesson – 4: Accessing Context Data from Beans #Java Short Notes

    • In some cases, from the beans used in JSF applications, you will need to access the request parameters. For example, in the BusSearch.java, we accessed, the request parameters [Please check the previous JSF lesson].
    • How to access: FacesContext context = FacesContext.getCurrentInstance();
    • Some methods of FacesContext:
      • Map getApplicationMap()
      • String getInitParameter(java.lang.String name)
      • Map getInitParameterMap()
      • String getRemoteUser()
      • Map getRequestCookieMap()
      • Map getRequestHeaderMap()
      • Map getRequestHeaderValuesMap()
      • Map getRequestMap()
      • Map getRequestParameterMap()
      • Iterator getRequestParameterNames()
      • Map getRequestParameterValuesMap()
      • Map getSessionMap()
    • Sample code:
      FacesContext context = FacesContext.getCurrentInstance();
    • Map requestParams =    context.getExternalContext().getRequestParameterMap();
    • String tripNum = (String) requestParams.get("tripNum");

    From: http://sitestree.com/?p=4995
    Categories:Java Short Notes
    Tags:
    Post Data:2007-08-18 13:22:28

    Shop Online: https://www.ShopForSoul.com/
    (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
    In Bengali: http://Bangla.SaLearningSchool.com
    http://SitesTree.com
    8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
    Shop Online: https://www.ShopForSoul.com/
    Medium: https://medium.com/@SayedAhmedCanada

    JSF: Lesson – 3: Controlling Page Navigation in JSF #Java Short Notes

    • Sample application for this article
    • Video Tutorial for this article
    • Pre-requisite: JSF Lesson 1 & 2
    • Navigation: Two Types:
      • Static: The destination page is fixed
      • Dynamic: The destination page varies with the conditions
      • Static
        • Static: You provide a fixed value for the “action” attribute for a JSF event control/action element
        • That fixed value is mapped to the fixed destination page in the configuration file such as the faces-config.xml
        • If you check our previous lesson, the searchForms.jsp contains . In this line, the text ‘action=”submit”‘ defines the static navigation.
        • The navigation rule in the following text maps submit action to searchResults.jsp page [static/fixed mappping]
          /searchForm.jsp

          submit
          /searchResults.jsp

      • Dynamic Navigation
        • In this case, the action takes a dynamic value. All possible values are mapped into [different] destination pages. Hence, when the action gets a different value, the destination page is also different [unless mapped to the same destination page]
        • To get dynamic nature, the action is mapped to a value/property or a method of a managed bean. The property must be of String type. Also, the method must return String and must not take any parameter.
        • At the time, the action is executed [the button is pressed], corresponding property value is retrieved or the method is called to get value. This value is then matched with the navigation cases in faces-config.xml.
        • The user is then redirected to the destination of the mathching navigation case.
        • Example: Binding action to a value/method expression in jsp: . Here, search is a method in the bus bean. Hence, at the button click, the search method is executed. For example, it may get values such as success, noTrips
        • Mapping in faces-config.xml: success, and noTrips are mapped in the following navigation cases.
        • /searchForm.jsp

          success
          /searchResults.jsp

          noTrips
          /noTrips.jsp

    • Navigation Rules:
      • If you observe the navigation rules above, you will notice elements. This is to mention, from where the action is generated.
      • : is the action message based on which flow is maintained
      • element provides the destination page
      • is optional. If you omit , then for all <from -outcome&gt message for the application, will be redirected to the related destination page. If all page refers to the same privacy policy file, this rule can be useful
      • Example:

        privacy-policy
        /WEB-INF/privacy.jsp

      • You can also redirect for the same message for a group of pages to the same destiation. Such as:
        /order/*
        success
        /WEB-INF/invoice.jsp
      • element: Consider a case, in the same page, in two command buttons, the actions are mapped to save and search methods. Both save and search methods can return success as the element. But, if you want them (two successes from the two methods) to go to two different destination pages, then element comes handy.
      • You can use element in the following way:
      • /searchForm.jsp

        #{bus.search}
        success
        /searchResults.jsp

        #{bus.save}
        success
        /searchForm.jsp

  • Now check the sample example and the video.
  • From: http://sitestree.com/?p=4994
    Categories:Java Short Notes
    Tags:
    Post Data:2012-08-07 12:03:08

    Shop Online: https://www.ShopForSoul.com/
    (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
    In Bengali: http://Bangla.SaLearningSchool.com
    http://SitesTree.com
    8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
    Shop Online: https://www.ShopForSoul.com/
    Medium: https://medium.com/@SayedAhmedCanada