├── .gitignore ├── LICENSE ├── src └── main │ ├── java │ └── me │ │ └── sumithpuri │ │ └── github │ │ └── sikkim │ │ ├── spring │ │ └── ws │ │ │ └── xfire │ │ │ ├── sample │ │ │ ├── StockTrader.class │ │ │ ├── SpringWSClient.class │ │ │ ├── StockTraderImpl.class │ │ │ ├── StockTrader.java │ │ │ └── StockTraderImpl.java │ │ │ └── client │ │ │ └── sample │ │ │ └── SpringWSClient.java │ │ └── app │ │ └── Sikkim.java │ ├── webapp │ └── WEB-INF │ │ ├── sikkim-xfire-servlet.xml │ │ └── web.xml │ └── resources │ └── spring-xfire-client.xml ├── pom.xml └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Sumith Kumar Puri 4 | 5 | [Refer Each Code File for the Actual Licence Statement] 6 | -------------------------------------------------------------------------------- /src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/sample/StockTrader.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sumithpuri/skp-mini-marathon-sikkim/HEAD/src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/sample/StockTrader.class -------------------------------------------------------------------------------- /src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/sample/SpringWSClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sumithpuri/skp-mini-marathon-sikkim/HEAD/src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/sample/SpringWSClient.class -------------------------------------------------------------------------------- /src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/sample/StockTraderImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sumithpuri/skp-mini-marathon-sikkim/HEAD/src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/sample/StockTraderImpl.class -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/sikkim-xfire-servlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/resources/spring-xfire-client.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | http://localhost:8080/sikkim/sikkim?wsdl 13 | 14 | 15 | me.sumithpuri.github.sikkim.spring.ws.xfire.sample.StockTrader 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | 9 | contextConfigLocation 10 | classpath:org/codehaus/xfire/spring/xfire.xml 11 | 12 | 13 | 14 | org.springframework.web.context.ContextLoaderListener 15 | 16 | 17 | 18 | sikkim-xfire 19 | Sikkim : Brainbench Spring 2.5 Certification 20 | 21 | org.springframework.web.servlet.DispatcherServlet 22 | 23 | 24 | 25 | sikkim-xfire 26 | /sikkim/* 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/sample/StockTrader.java: -------------------------------------------------------------------------------- 1 | package me.sumithpuri.github.sikkim.spring.ws.xfire.sample; 2 | 3 | import javax.jws.WebMethod; 4 | import javax.jws.WebService; 5 | 6 | import org.apache.xbean.spring.context.ClassPathXmlApplicationContext; 7 | import org.springframework.context.ApplicationContext; 8 | 9 | /** 10 | * MIT License 11 | * 12 | * Copyright (c) 2018-19, Sumith Kumar Puri 13 | 14 | * GitHub URL https://github.com/sumithpuri 15 | * Code Sample Brainbench Spring 2.5 Certification [+ Spring In Action Samples] 16 | * Sample Topic Core Spring (Web Services) 17 | * Certificate URL https://goo.gl/X321kd 18 | * Package Prefix me.sumithpuri.github.sikkim 19 | * Project Codename sikkim 20 | * Contact E-Mail code@sumithpuri.me 21 | * Contact WhatsApp +91 9591497974 22 | * 23 | * 24 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 25 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the 26 | * rights to use, copy, modify, merge, publish, distribute, sub-license and/or sell copies of the Software and to permit 27 | * persons to whom the Software is furnished to do so, subject to the following conditions: 28 | * 29 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the 30 | * Software. 31 | * 32 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 33 | * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 34 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 35 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 36 | */ 37 | @WebService 38 | public interface StockTrader { 39 | 40 | @WebMethod(operationName="getStockQuotes") 41 | public String[] getStockQuotes(); 42 | } 43 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | me.sumithpuri.github 6 | skp-mini-marathon-sikkim 7 | war 8 | 0.0.1-SNAPSHOT 9 | 10 | Sikkim : Brainbench Spring 2.5 Certification 11 | http://maven.apache.org 12 | 13 | 14 | UTF-8 15 | 9 16 | 9 17 | false 18 | 19 | 20 | 21 | 22 | junit 23 | junit 24 | 3.8.1 25 | test 26 | 27 | 28 | org.springframework 29 | spring 30 | 2.5.5 31 | 32 | 33 | org.springframework 34 | spring-web 35 | 2.5.5 36 | 37 | 38 | org.springframework 39 | spring-webmvc 40 | 2.5.5 41 | 42 | 43 | org.codehaus.xfire 44 | xfire-all 45 | 1.2.6 46 | 47 | 48 | 49 | 50 | 51 | sikkim 52 | 53 | 54 | org.apache.maven.plugins 55 | maven-compiler-plugin 56 | 3.1 57 | 58 | 59 | ss 60 | **client/sample/*.java 61 | 62 | 63 | 64 | 65 | org.codehaus.mojo 66 | exec-maven-plugin 67 | 1.6.0 68 | 69 | 70 | test 71 | 72 | java 73 | 74 | 75 | me.sumithpuri.github.sikkim.app.Sikkim 76 | true 77 | 78 | 79 | 80 | 81 | 82 | 83 | Brainbench Spring 2.5 Certification (+ Spring In Action Samples) 84 | 85 | -------------------------------------------------------------------------------- /src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/sample/StockTraderImpl.java: -------------------------------------------------------------------------------- 1 | package me.sumithpuri.github.sikkim.spring.ws.xfire.sample; 2 | 3 | import javax.jws.WebService; 4 | 5 | /** 6 | * MIT License 7 | * 8 | * Copyright (c) 2018-19, Sumith Kumar Puri 9 | 10 | * GitHub URL https://github.com/sumithpuri 11 | * Code Sample Brainbench Spring 2.5 Certification [+ Spring In Action Samples] 12 | * Sample Topic Core Spring (Web Services) 13 | * Certificate URL https://goo.gl/X321kd 14 | * Package Prefix me.sumithpuri.github.sikkim 15 | * Project Codename sikkim 16 | * Contact E-Mail code@sumithpuri.me 17 | * Contact WhatsApp +91 9591497974 18 | * 19 | * 20 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 21 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the 22 | * rights to use, copy, modify, merge, publish, distribute, sub-license and/or sell copies of the Software and to permit 23 | * persons to whom the Software is furnished to do so, subject to the following conditions: 24 | * 25 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the 26 | * Software. 27 | * 28 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 29 | * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 30 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 31 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 32 | */ 33 | // note that in spring xfire, the configuration through xml takes precedence over below annotation 34 | @WebService(serviceName="stockService", endpointInterface="me.sumithpuri.github.sikkim.spring.ws.xfire.sample.StockTrader") 35 | public class StockTraderImpl implements StockTrader { 36 | 37 | static { 38 | System.out.println("Copyright (c) 2018-19, Sumith Kumar Puri"); 39 | System.out.println(); 40 | System.out.println("Project Codename Sikkim"); 41 | System.out.println("Project Description Core Spring (Web Services)"); 42 | System.out.println("Certification Brainbench Spring 2.5 Certification"); 43 | System.out.println("Certificate URL https://goo.gl/X321kd"); 44 | System.out.println("[Developer Notes] [01] Use Java Version 9.0+ Compiler"); 45 | System.out.println("[Developer Notes] [02] Use Apache Tomcat 9.0+ Server"); 46 | System.out.println(); 47 | } 48 | 49 | 50 | public String[] getStockQuotes() { 51 | 52 | // TODO Auto-Generated Method Stub 53 | System.out.println("Stock Quotes Spring Web Service Invoked..."); 54 | 55 | String[] stocks = new String[] {"POPY 12.50", "DOPY 99.00", "BOBY 44.00", "LOLA 21.25", "KYTE 64.23"}; 56 | return stocks; 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /src/main/java/me/sumithpuri/github/sikkim/spring/ws/xfire/client/sample/SpringWSClient.java: -------------------------------------------------------------------------------- 1 | package me.sumithpuri.github.sikkim.spring.ws.xfire.client.sample; 2 | 3 | import org.apache.xbean.spring.context.ClassPathXmlApplicationContext; 4 | import org.springframework.context.ApplicationContext; 5 | 6 | import me.sumithpuri.github.sikkim.spring.ws.xfire.sample.StockTrader; 7 | 8 | /** 9 | * MIT License 10 | * 11 | * Copyright (c) 2018-19, Sumith Kumar Puri 12 | 13 | * GitHub URL https://github.com/sumithpuri 14 | * Code Sample Brainbench Spring 2.5 Certification [+ Spring In Action Samples] 15 | * Sample Topic Core Spring (Web Services) 16 | * Certificate URL https://goo.gl/X321kd 17 | * Package Prefix me.sumithpuri.github.sikkim 18 | * Project Codename sikkim 19 | * Contact E-Mail code@sumithpuri.me 20 | * Contact WhatsApp +91 9591497974 21 | * 22 | * 23 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 24 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the 25 | * rights to use, copy, modify, merge, publish, distribute, sub-license and/or sell copies of the Software and to permit 26 | * persons to whom the Software is furnished to do so, subject to the following conditions: 27 | * 28 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the 29 | * Software. 30 | * 31 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 32 | * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 33 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 34 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 35 | */ 36 | public class SpringWSClient { 37 | 38 | static { 39 | 40 | System.out.println("Copyright (c) 2018-19, Sumith Kumar Puri"); 41 | System.out.println(); 42 | System.out.println("Project Codename Sikkim"); 43 | System.out.println("Project Description Core Spring (Web Services Client)"); 44 | System.out.println("Certification Brainbench Spring 2.5 Certification"); 45 | System.out.println("Certificate URL https://goo.gl/X321kd"); 46 | System.out.println("[Developer Notes] [01] Use Java Version 9.0+ Compiler"); 47 | System.out.println("[Developer Notes] [02] Use Apache Tomcat 9.0+ Server"); 48 | System.out.println(); 49 | } 50 | 51 | public static void main(String args[]) throws Exception { 52 | 53 | ApplicationContext context = new ClassPathXmlApplicationContext("spring-xfire-client.xml"); 54 | 55 | StockTrader stockTrader = (StockTrader) context.getBean("stockService"); 56 | 57 | System.out.println("\nInvoking Web Service..."); 58 | String[] stocks = stockTrader.getStockQuotes(); 59 | System.out.println(); 60 | for(String str: stocks) { 61 | System.out.println(str); 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /src/main/java/me/sumithpuri/github/sikkim/app/Sikkim.java: -------------------------------------------------------------------------------- 1 | package me.sumithpuri.github.sikkim.app; 2 | 3 | /** 4 | * MIT License 5 | * 6 | * Copyright (c) 2018-19, Sumith Kumar Puri 7 | 8 | * GitHub URL https://github.com/sumithpuri 9 | * Code Sample Brainbench Spring 2.5 Certification [+ Spring In Action Samples] 10 | * Sample Topic Core Spring (Web Services) 11 | * Certificate URL https://goo.gl/X321kd 12 | * Package Prefix me.sumithpuri.github.sikkim 13 | * Project Codename sikkim 14 | * Contact E-Mail code@sumithpuri.me 15 | * Contact WhatsApp +91 9591497974 16 | * 17 | * 18 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 19 | * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the 20 | * rights to use, copy, modify, merge, publish, distribute, sub-license and/or sell copies of the Software and to permit 21 | * persons to whom the Software is furnished to do so, subject to the following conditions: 22 | * 23 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the 24 | * Software. 25 | * 26 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 27 | * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 28 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 29 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 | */ 31 | public class Sikkim { 32 | 33 | // XXX Do Include the [src/main/resources] in the Classpath Before Compiling/Running 34 | public static void main(String[] args) throws Exception { 35 | 36 | System.out.println("Copyright (c) 2018-19, Sumith Kumar Puri"); 37 | System.out.println(); 38 | System.out.println("Project Codename Sikkim"); 39 | System.out.println("Project Description Core Spring (Web Services)"); 40 | System.out.println("Certification Brainbench Spring 2.5 Certification"); 41 | System.out.println("Certificate URL https://goo.gl/X321kd"); 42 | System.out.println("[Developer Notes] [01] Use Java Version 9.0+ Compiler"); 43 | System.out.println("[Developer Notes] [02] Use Apache Tomcat 9.0+ Server"); 44 | System.out.println(); 45 | 46 | System.out.println(); 47 | System.out.println("Example of Spring Web Services (XFire)"); 48 | System.out.println("--------------------------------------"); 49 | System.out.println("000. You may choose to Import the Project in Eclipse or Other IDE"); 50 | System.out.println("000. Make Sure that Dependencies & Resources are in ClassPath"); 51 | System.out.println("01a. Deploy the Web Arcive On Apache Tomcat (9.0+)"); 52 | System.out.println("01b. Make Sure that Web Services are Deployed Correctly"); 53 | System.out.println("000. WSDL Location > http://localhost:8080/sikkim/sikkim?wsdl"); 54 | System.out.println("02a. Make Sure the Client Classpath contains [spring-xfire-client.xml]"); 55 | System.out.println("02b. Next, Start the SpringWSClient from Eclipse or Command Line"); 56 | System.out.println("003. You should be able to see results from the Web Services Invocation"); 57 | System.out.println(); 58 | } 59 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Sikkim (Brainbench Spring 2.5 Certification) 2 | Brainbench Spring 2.5 Certification (+ Spring In Action Samples) 3 |
4 | MIT License, Copyright (c) 2018-19, Sumith Kumar Puri
5 | https://github.com/sumithpuri 6 |
7 | 8 |

9 | 10 |

11 | 12 |
13 | 14 | 15 |
16 | 17 | 18 | 19 | |Project Codename|Sikkim| 20 | |--|--| 21 | |Certification|Brainbench Spring 2.5 Certification| 22 | |Certificate URL|https://goo.gl/X321kd| 23 | |Sample Topic|Core Spring (Web Services)| 24 | |Package Prefix|me.sumithpuri.github.sikkim| 25 | |GitHub URL|https://github.com/sumithpuri/skp-mini-marathon-sikkim| 26 | |Contact E-Mail |code@sumithpuri.xyz| 27 | |Contact Number|+91 9591497974 (WhatsApp, Viber, Telegram)| 28 | |Historical|✅ Started this Movement of 1000s of Lines of Java/EE* Code to GitHub
✅ Was a Senior Software Architect (Java/EE) in Manila*, 2018 (At Start) 
✅ Named this Initial Code Journey as [ Manila Code Marathon - 2018 ]
✅ Code Is Non-Proprietary / Non-Copyright from my Work Experience.
✅ Was Back to Bangalore, Named as [ Bangalore Code Nights - 2019. ]
✅ Added More Code under [ -20 Days of Code in Benglauru- ] in 2020
✅ Celebration of Java/Java EE Code as Java Turned 25 in the Year 2020! | 29 | 30 | 31 |
32 | 33 |
34 | 35 |
36 | 37 | 38 | 39 | 40 | 42 |

❤️ Ex-Yahoo, Symantec, Huawei, Oracle*, OpenText*, Finastra*, Atos*
🧡 Xth, XIIth (Computer Science) - Naval Public School, Kochi, India
💛 Bachelor of Engineering (Computer Science)* - SRSIT, Bangalore
💜 Executive Program ( Data Mining and Analytics ) - [IIT, Roorkee]
💚 Executive Certificate Program (Entrepreneurship) - IIM, Kashipur


💙 Proficience (Cryptography & Network Security) - IISc, Bangalore
🤎 Proficience (Innovative Product Design & Dev.) - IISc, Bangalore
🖤 Proficience (Artficial Intelligence/Intelli Agents) - IISc, Bangalore


💎 Sun Certified Java Programmer 1.4 (Core Java)
💎 Sun Certified Java Programmer 5.0 (Core Java)
💎 Sun Certified Business Component Developer 1.3 (EJB/J2EE)
💎 Sun Certified Business Component Developer 5.0 (EJB/J2EE)
💎 Brainbench Spring 2.x Certification*, ( J2EE/Spring )
💎 Brainbench Hibernate 3.x Certification* (Hibernate)
💎 Brainbench Java EE 6.x Certification*, ( J2EE )
💎 Quest C Lang. Certification (C Programming)
💎 Quest C++ Certification (C++ Programming)
💎 Quest Data Structures Certification ( C/C++ )


41 | 🏁 Highest IQ (147) ~ Among Entire Secondary School Batch ~ (Xth)
🏁 MVIT Inter-Collegiate C Programming Contest (Finalist, Top 8)
🏁 SJCIT Inter-Collegiate Web Design (Runners-Up)
🏁 Google India Code Jam 2005 (#376/14,000) - India + SE Asia
🏁 Microsoft Bizspark Startup 2011-'12 (Shortlisted/Recognized)
🏁 Societe Generale Brainwaves Hackathon 2015 (Corp Finalist, AI)
🏁 Mphasis Internal Hackathon Challenge, Season-07 (#07/106)*
🏁 Techgig Code Gladiators 2015 (Open, Top 500)
🏁 Accenture in India YouTube Contest 2015 (BigData, Winner)
🏁 Xebia-Microsoft-GitHub Blogathon 2022 (Microservices, Winner)


🏆 Senior Member, ACM (Elevated) and Senior Member, IEEE (Elevated)
🏆 Author/Blogger, Technology Advice (Developer.com and jGuru)
🏆 DZone Most Valuable Blogger and DZone Core (Elevated)**
🏆 Author and Blogger, Friends of Open JDK Community (Foojay.IO)
🏆 Blogger, Java Code Geeks Program (Shortlisted/Recognized)
🏆 Paid Blogger, Developer.com and jGuru; Blogger, HackerNoon;
🎯 19y Across Associate/Engineer (2003) to Java Practice Leader (2024)

43 | 44 |
45 | 46 |
47 |
48 |
🔴 ALL COPYRIGHTS FOR THE ABOVE PUBLICLY AVAILABLE IMAGE OR PARTS OF THE IMAGE ARE WITH THEIR RESPECTIVE OWNERS, SOURCED/USED FROM GOOGLE SEARCH
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | --------------------------------------------------------------------------------